Commit Graph

18 Commits

Author SHA1 Message Date
Aman Harwara
71c7ee1bec feat: new revision history UI (#861) 2022-02-16 19:39:04 +05:30
Aman Harwara
cc2bc1e21c feat: replace accordion in change editor menu with regular menu (#871) 2022-02-16 17:57:06 +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
453488f752 fix: display full tag path in add tags menu 2022-02-08 22:01:06 -06:00
Mo
1dd70364e7 chore(deps): snjs 2022-02-08 14:25:53 -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
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
3fb27326fa feat: move change editor up in menu (#847) 2022-02-04 20:00:22 +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
Aman Harwara
6150f58c73 feat: show alert when changing to non-interchangeable editor (#834) 2022-02-01 13:32:02 +05:30
Aman Harwara
7c41cfc3dc feat: make whole menu switch be clickable (#837) 2022-01-31 22:19:27 +05:30
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
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