Commit Graph

1797 Commits

Author SHA1 Message Date
Vardan Hakobyan
80cc37fbd4 fix: allow users to disable any active cloud integration even if they are not entitled to cloud backups (#870)
* fix: allow users to disable any active cloud integration even if they are not entitled to cloud backups

* chore: better variable naming

* refactor: move css constant away from the global constants file

* refactor: avoid importing a constant css class from non-shared file
2022-02-15 19:48:35 +04:00
Aman Harwara
dab8080da6 feat: move SubscriptionState to central AppState (#869) 2022-02-15 21:00:05 +05:30
Vardan Hakobyan
00d57aa69d feat: import svg files from stylekit (#844)
* chore: install stylekit with its new name

* feat: import svg files from stylekit

* feat: import the remaining svgs from stylekit

* fix: import 'warning' icon from stylekit

* chore: import warning icon from stylekit

* chore: bump stylekit version

* chore: update sn dependencies
2022-02-15 12:12:34 +04:00
Aman Harwara
0e1b94b5cd fix: sign out dialog disappearing when account menu is unfocused (#863) 2022-02-12 20:53:49 +05:30
Aman Harwara
9c046a3890 feat: wait 1ms before menu collision detection (#859) 2022-02-10 18:35:16 +05:30
Aman Harwara
3b830b00d9 fix: change editor menu position on large viewport (#857) 2022-02-10 17:36:58 +05:30
Mo
78ec092bf0 fix: use full path when searching autocomplete tags 2022-02-09 11:09:11 -06:00
Mo
0c3d1fce0c feat: persist tags expanded state 2022-02-08 22:27:00 -06:00
Mo
453488f752 fix: display full tag path in add tags menu 2022-02-08 22:01:06 -06:00
Mo
f6c9a9f9ad fix: preferences pane order 2022-02-08 21:52:24 -06:00
Mo
d920bf663f fix: deactivate themes when switching accounts 2022-02-08 21:51:06 -06:00
Mo
e43c8a6f07 fix: improve deinit logic and flow 2022-02-08 21:35:31 -06:00
Mo
1dd70364e7 chore(deps): snjs 2022-02-08 14:25:53 -06:00
Mo
e07f3732c5 chore: lint autolock service 2022-02-08 10:32:28 -06:00
Aman Harwara
139853a491 feat: show all themes and premium icon if not entitled (#854) 2022-02-08 20:25:12 +05:30
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
Aman Harwara
5605baeb57 feat: add warning to note options menu if note size is >0.5mb (#851) 2022-02-07 20:38:19 +05:30
Aman Harwara
9932c2a177 fix: notes list item layout when title is empty (#850) 2022-02-07 19:59:43 +05:30
Mo
b549cc38bf fix: unmount application view when ephemeral identifier changes 2022-02-04 12:00:03 -06:00
Aman Harwara
cc2169152e feat: sort note cell tags alphabetically (#848) 2022-02-04 20:04:07 +05:30
Aman Harwara
3fb27326fa feat: move change editor up in menu (#847) 2022-02-04 20:00:22 +05:30
Mo
6970a375b7 feat: native listed integration (#846)
* feat(wip): native listed integration

* feat(wip): wip

* feat: simplified actions menu structure

* feat: open settings alert upon succesful creation

* fix: handle remove menu row api

* chore(deps): snjs
2022-02-03 18:14:28 -06:00
Vardan Hakobyan
8388265493 fix: correctly check if cloud backups are available for the user (#845) 2022-02-03 21:01:39 +04:00
Mo
fc3d575fe0 fix: export location of ElectronDesktopCallbacks 2022-02-03 09:55:11 -06:00
Mo
7a3cc3577d release: 3.10.0-beta.1 2022-02-03 09:38:32 -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
Vardan Hakobyan
616b77a5f7 fix: don't get backups settings if there is no logged-in user (#842)
* fix: don't get backups settings if there is no logged-in user

* chore: bump snjs version
2022-02-02 23:58:58 +04:00
Mo
294d681a96 chore: fix copy 2022-02-02 09:47:26 -06:00
Aman Harwara
1dc1b1ea1f feat: add check since ICONS wont have all IconType (#843) 2022-02-02 18:06:43 +05:30
Aman Harwara
84cef22fbf fix: options button text color (#841) 2022-02-02 17:32:25 +05:30
Johnny A
528bafde96 fix: spellcheck control for 3rd-party editors (#839)
* fix: spellcheck control for 3rd-party editors

* refactor: spellcheckControllable

* refactor: spellcheckControllable

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2022-02-01 16:27:28 -04:00
Mo
70f4dd6353 feat: enable folders by default and remove from experimental features 2022-02-01 12:31:37 -06:00
Mo
b1022cd3c3 fix: duplicate element id 2022-02-01 09:56:52 -06:00
Mo
a47728188f fix: prevent component viewer double reload 2022-02-01 09:41:32 -06:00
Aman Harwara
1f5d235cd4 fix: notes list options menu not toggling correctly (#840) 2022-02-01 20:12:57 +05:30
Aman Harwara
6150f58c73 feat: show alert when changing to non-interchangeable editor (#834) 2022-02-01 13:32:02 +05:30
Laurent Senta
3c0bc79768 feat: add migration pref pane (#825)
* feat: add migration pane

* style: clean imports

* removeme: beta version

* fix: do no show dropzone when tag has no parent

* fix: hide the Folders toggle

* fix: hide migrations option when user has no folders

* fix: add delimiter on Folders mark

* removeme: bump beta

* fix: remove component viewer for tag folders

* removeme: bump beta

* chore(deps): snjs
2022-01-31 19:18:14 -06:00
Mo
ed729ab4ef fix: app column layout 2022-01-31 12:16:18 -06:00
Mo
ebd8848b5a fix: insert template note before opening editor menu (#838) 2022-01-31 11:30:11 -06:00
Aman Harwara
7c41cfc3dc feat: make whole menu switch be clickable (#837) 2022-01-31 22:19:27 +05:30
Mo
cf1720ba20 fix: function binding 2022-01-31 09:48:27 -06:00
Aman Harwara
c1f1aa4c8d feat: remove vertical padding from change editor menu (#836) 2022-01-31 20:42:45 +05:30
Vardan Hakobyan
bf382ce0f8 feat: get editor icons and their colors from snjs (#828)
* feat: get editor icons and their colors from snjs

* feat: get icons and their tints from snjs

* fix: use IconType from snjs
2022-01-31 18:58:36 +04:00
Aman Harwara
0e00901f15 fix: note icons getting pushed by extra-long words (#835) 2022-01-31 19:20:48 +05:30
Mo
46ee84ce24 fix: render root element on dom load 2022-01-30 20:01:13 -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
0ecbde6bac feat: improve change editor menu keyboard navigation (#831) 2022-01-30 20:28:35 +05:30
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