Commit Graph

158 Commits

Author SHA1 Message Date
Aman Harwara
cc2bc1e21c feat: replace accordion in change editor menu with regular menu (#871) 2022-02-16 17:57:06 +05:30
Mo
d920bf663f fix: deactivate themes when switching accounts 2022-02-08 21:51:06 -06:00
Mo
e07f3732c5 chore: lint autolock service 2022-02-08 10:32:28 -06:00
Aman Harwara
7f5f0d9d17 feat: update line height and width of note size warning text (#852) 2022-02-07 22:12:08 +05:30
Mo
f9c47a10ca fix: do not deactivate all themes on theme service deinit; themes should remain activated on application lock 2022-02-07 09:54:51 -06:00
Mo
fc3d575fe0 fix: export location of ElectronDesktopCallbacks 2022-02-03 09:55:11 -06:00
Mo
0f01d296e4 feat: desktop compatibility, beta 1 2022-02-03 09:02:09 -06:00
Mo
333d4c4808 fix: sanitize alert string 2022-02-02 17:37:23 -06:00
Mo
50c92619ce refactor: migrate remaining angular components to react (#833)
* refactor: menuRow directive to MenuRow component

* refactor: migrate footer to react

* refactor: migrate actions menu to react

* refactor: migrate history menu to react

* fix: click outside handler use capture to trigger event before re-render occurs which would otherwise cause node.contains to return incorrect result (specifically for the account menu)

* refactor: migrate revision preview modal to react

* refactor: migrate permissions modal to react

* refactor: migrate password wizard to react

* refactor: remove unused input modal directive

* refactor: remove unused delay hide component

* refactor: remove unused filechange directive

* refactor: remove unused elemReady directive

* refactor: remove unused sn-enter directive

* refactor: remove unused lowercase directive

* refactor: remove unused autofocus directive

* refactor(wip): note view to react

* refactor: use mutation observer to deinit textarea listeners

* refactor: migrate challenge modal to react

* refactor: migrate note group view to react

* refactor(wip): migrate remaining classes

* fix: navigation parent ref

* refactor: fully remove angular assets

* fix: account switcher

* fix: application view state

* refactor: remove unused password wizard type

* fix: revision preview and permissions modal

* fix: remove angular comment

* refactor: react panel resizers for editor

* feat: simple panel resizer

* fix: use simple panel resizer everywhere

* fix: simplify panel resizer state

* chore: rename simple panel resizer to panel resizer

* refactor: simplify column layout

* fix: editor mount safety check

* fix: use inline onLoad callback for iframe, as setting onload after it loads will never call it

* chore: fix note view test

* chore(deps): upgrade snjs
2022-01-30 19:01:30 -06:00
Aman Harwara
b932e2a45e feat: Add new "Change Editor" option to note context menu (#823)
* feat: add editor icon

* refactor: remove 'any' type and format

* refactor: move NotesOptions and add ChangeEditorOption

* refactor: fix type for using regular RefObject<T>

* feat: add hide-if-last-child util class

* feat: add Change Editor option

* feat: make radio btn gray if not checked

* fix: accordion menu header and item sizing/spacing

* feat: add Escape key to KeyboardKey enum

* refactor: Remove Editor Menu

* feat: add editor select functionality

* refactor: move plain editor name to constant

* feat: add premium editors with modal if no subscription

refactor: simplify menu group creation

* feat: show alert when switching to non-interchangeable editor

* fix: change editor menu going out of bounds

* feat: increase group header & editor item size

* fix: change editor menu close on blur

* refactor: Use KeyboardKey enum & remove else statement

* feat: add keyboard navigation to change editor menu

* fix: editor menu separators

* feat: improve change editor menu sizing & spacing

* feat: show alert only if editor is not interchangeable

* feat: don't show alert when switching to/from plain editor

* chore: bump snjs version

* feat: temporarily remove change editor alert

* feat: dynamically get footer height

* refactor: move magic number to const

* refactor: move constants to constants file

* feat: use const instead of magic number
2022-01-28 14:23:39 -06:00
Aman Harwara
da1d4f75c8 feat: Add "Appearance" pane to preferences (#816)
Co-authored-by: Mo <mo@standardnotes.com>
2022-01-19 19:41:04 +05:30
Mo
8f4f188733 fix: base keyboard modifier state on latest event 2022-01-12 11:27:10 -06:00
Mo
713be826e9 fix: issue with deactivate all themes on signout (#804)
* fix: issue with deactivate all themes on signout

* fix: remove redundant caching
2022-01-07 11:48:30 -06:00
Mo
954f39992d fix: display correct app version for desktop 2022-01-03 15:28:04 -06:00
Mo
dce97077b4 fix: set desktop installed payload source 2022-01-02 09:30:33 -06:00
Mo
66d8efd090 feat: native components (#789)
* wip: component viewer

* feat: get component status from component viewer

* feat: native components

* fix: remove unused property

* fix: remove unused func

* chore(deps): snjs 2.29.0

* fix: import location

* feat: native components

* fix: remove unused func

* feat: component viewer (#781)

* wip: component viewer

* feat: get component status from component viewer

* fix: remove unused property

* chore(deps): snjs 2.29.0

* fix: import location

* chore: use cp instead of webpack copy

* fix: types

* chore: misc
2021-12-30 14:25:40 -06:00
Mo
ebdae31965 feat: component viewer (#781)
* wip: component viewer

* feat: get component status from component viewer

* fix: remove unused property

* chore(deps): snjs 2.29.0

* fix: import location
2021-12-24 10:41:02 -06:00
Aman Harwara
270fcbc3bc refactor: Move notes_view to React (#761) 2021-12-21 20:31:11 +05:30
Mo Bitar
82ee0974c1 feat: snjs upgrade and fixes 2021-12-05 11:04:46 -06:00
Mo
8d9b192b81 feat: remove extensions manager (#696)
* feat: remove extensions manager

* fix: remove unused code

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2021-10-21 13:06:49 -05:00
Mo
e79811afda feat: add purchase url (#695)
* feat: add purchase url

* chore: bump snjs

* fix: reuse existing function
2021-10-21 12:41:58 -05:00
Mo Bitar
e6e01d0f2c fix: remove code already handled by snjs (#633) 2021-09-17 11:16:16 -05:00
Vardan Hakobyan
b0ed19d6a3 feat: implement credentials information on Prefs -> Account pane (#632)
* feat: implement prefs -> credentials section UI (w/o backend integration)

* feat: implement credentials information on Prefs -> Account pane

- implement email changing UI (w/o backend integration)
- implement password changing UI and reuse existing change password logic
- replace 2FA dialog with shared one
- implement React hook for preventing window refresh

* fix: provide correct types

* refactor: reuse styles from stylekit, rename components and create enum for input types

* refactor: update default exports to named ones, correct texts

* chore: remove unnecessary depenedency

* chore: yarn.lock without unnecessary packages

* Revert "chore: yarn.lock without unnecessary packages"

This reverts commit 64aa75e8408b06884d6e7383180292a4a9a3e8ad.
2021-09-09 19:23:21 +04:00
Vardan Hakobyan
041d437bd4 feat: pass web app version to snjs application (#623)
* feat: store web version in local storage

* feat: pass web app version to snjs application when creating WebApplication

* refactor: pass version in application constructor, remove unnecessary method

* refactor: move global variables declarations to separate files to avoid declaring them in all places where they are used

* refactor: better way to use global variables

* chore: add comment

* chore: make global constants pascal case

* chore: version bump for snjs

* chore: yarn.lock with correct snjs version

* chore: bump snjs version
2021-09-06 10:36:57 +04:00
Antonella Sgarlatta
1be87cbef8 fix: disable delete note shortcut for inputs 2021-07-05 14:43:09 -03:00
Antonella Sgarlatta
184ce19ad7 fix: autolock polling for desktop 2021-06-16 19:40:33 -03:00
Antonella Sgarlatta
ce383a516e chore: remove batchMgrUrl getter 2021-06-15 13:16:30 -03:00
Antonella Sgarlatta
d2e7c01821 Merge branch 'develop' into feature/remove-batch-manager 2021-06-14 15:53:06 -03:00
Antonella Sgarlatta
c09a2f02c2 fix: update poll interval 2021-06-09 12:52:07 -03:00
Antonella Sgarlatta
98c6078a0d fix: don't wait until regaining focus to lock app 2021-06-07 19:07:31 -03:00
Antonella Sgarlatta
e24734e3cd feat: remove batch manager 2021-06-07 16:32:28 -03:00
Antonella Sgarlatta
0a262de3db fix: handle components keydown and keyup actions 2021-05-19 14:53:52 -03:00
Antonella Sgarlatta
c6e4c2fcf5 fix: note flickering and multiple selection staying enabled after browser shortcut 2021-05-17 16:45:00 -03:00
Antonella Sgarlatta
a1d56abd2e Merge branch 'develop' into feature/multiple-selection 2021-04-28 14:53:15 -03:00
Baptiste Grob
6a52721ea7 feat: delete local backups when signing out 2021-04-14 15:05:33 +02:00
Baptiste Grob
0f53361689 feat: select multiple notes in list 2021-04-12 14:54:43 +02:00
Baptiste Grob
af3de36361 fix: decrypted backup import file name 2021-04-07 13:13:54 +02:00
Baptiste Grob
ed69680295 feat: search options (#540)
* feat: search options

* feat: sanitize folder names

* fix: add cursor: pointer to switch

* fix: explicitly make the search bar a text input

* refactor: remove magic number

* refactor: extract Switch component to its own file

* refactor: split AppState into multiple files

* refactor: review comments
2021-04-06 16:48:25 +02:00
Baptiste Grob
275c8cbd1f feat: improve filename sanitizing 2021-04-05 18:00:08 +02:00
Baptiste Grob
15efaec8a8 Merge branch 'release/3.6.3' into main 2021-03-25 11:04:59 +01:00
Baptiste Grob
3111dc4c0b fix: export decrypted backup for desktop in some cases
Mainly, when a backup is requested and no protection sources are
available.
2021-03-24 11:53:29 +01:00
Baptiste Grob
257c0f6cab feat: add onSignOut bridge hook 2021-03-23 18:52:57 +01:00
Baptiste Grob
6c1622f3d3 Revert "fix: sanitize backup file names for windows"
This reverts commit 9d017b5745.
2021-03-12 14:58:41 +01:00
Baptiste Grob
9d017b5745 fix: sanitize backup file names for windows 2021-03-03 16:46:31 +01:00
Baptiste Grob
d6f7779a76 fix: compile error 2021-03-03 14:52:29 +01:00
Baptiste Grob
9541886a2c fix: download backup later in the change password process 2021-03-03 14:30:52 +01:00
Antonella Sgarlatta
d49e508cfc feat: make encrypted backups protected (#524)
Co-authored-by: Baptiste Grob <60621355+baptiste-grob@users.noreply.github.com>
2021-03-02 12:06:47 +01:00
Baptiste Grob
c084268f51 feat: display warning banner when using the app with no account 2021-02-02 15:40:20 +01:00
Baptiste Grob
0c038786d5 Merge branch 'hotfix/3.5.17' into develop 2021-01-26 11:44:17 +01:00
Baptiste Grob
f29682c4a9 fix: delete auth/keyParams from decrypted backup 2021-01-26 11:41:23 +01:00