Commit Graph

37 Commits

Author SHA1 Message Date
Aman Harwara
08fb913b0e feat: close submenu if another submenu is opened (#911) 2022-03-05 20:20:11 +05:30
Aman Harwara
a5da191034 fix: notes options closing when selecting note id (#888) 2022-02-19 19:47:30 +05:30
Aman Harwara
96bfd6efc2 fix: header button border (#887) 2022-02-18 20:48:04 +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
Mo
ebd8848b5a fix: insert template note before opening editor menu (#838) 2022-01-31 11:30:11 -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
Mo
413fe47828 chore: update all dependencies (#699) 2021-10-22 14:47:41 -05:00
Antonella Sgarlatta
44bf907aa4 feat: toggle move to trash to delete permanently on alt key down 2021-07-28 16:18:05 -03:00
Antonella Sgarlatta
49788c436c fix: add close on blur to overflow menu dropdown 2021-06-14 13:39:50 -03:00
Antonella Sgarlatta
df1257ac7e styles: remove min width from tags dropdown 2021-06-10 12:18:18 -03:00
Antonella Sgarlatta
860e30de20 styles: change overflow to auto and add back dropdowns min width 2021-06-10 11:18:29 -03:00
Antonella Sgarlatta
6617362783 feat: add parent chain tags when adding a tag 2021-06-07 14:39:58 -03:00
Antonella Sgarlatta
31d454cdc5 feat: add arrow key navigation for results dropdown 2021-06-03 14:21:07 -03:00
Antonella Sgarlatta
b54de00b40 fix: fix tags container width 2021-05-31 16:35:42 -03:00
Antonella Sgarlatta
7ac5856205 feat: make tags container expandable 2021-05-27 21:18:06 -03:00
Antonella Sgarlatta
48562e8b26 styles: reduce tags max width 2021-05-27 14:12:12 -03:00
Antonella Sgarlatta
633add73c9 feat: remove animations from context menu 2021-05-24 10:51:24 -03:00
Antonella Sgarlatta
6a9d54c2ae fix: make menus scrollable when there's not enough space 2021-05-20 16:57:34 -03:00
Antonella Sgarlatta
c7be130a94 refactor: remove unused import 2021-05-20 15:37:39 -03:00
Antonella Sgarlatta
0b2665a01b fix: revert using portal for ellipsis menu 2021-05-20 15:29:19 -03:00
Antonella Sgarlatta
5ddc976446 styles: make icons responsive to font size 2021-05-18 12:21:10 -03:00
Antonella Sgarlatta
e4d70239f6 fix: use portal to make sure ellipsis menu opens on top of note list 2021-05-18 10:26:17 -03:00
Antonella Sgarlatta
36bfa4504d styles: add hover state to ellipsis button and unify search options and ellipsis button styles 2021-05-10 18:58:31 -03:00
Antonella Sgarlatta
c2ed6f1913 fix: if multiples notes selected, always select note when clicking on it 2021-05-10 18:29:41 -03:00
Antonella Sgarlatta
bbea6813d3 styles: make ellipsis icon grey 2021-05-07 19:58:58 -03:00
Antonella Sgarlatta
8f29b62744 refactor: changes per PR feedback 2021-05-07 19:17:57 -03:00
Antonella Sgarlatta
461f3ccfa4 fix: remove locking closeOnBlur 2021-05-07 18:51:49 -03:00
Antonella Sgarlatta
660525dc18 feat: escape when submenu is open should close it instead of entire menu 2021-05-07 18:08:22 -03:00
Antonella Sgarlatta
dd5873b513 fix: revert closeOnBlur changes 2021-05-07 17:46:08 -03:00
Antonella Sgarlatta
9906cd2a20 fix: menu should remain open when showing trash alert 2021-05-07 15:41:00 -03:00
Antonella Sgarlatta
181e1985fd styles: adjust styling for different themes 2021-05-06 12:06:30 -03:00
Antonella Sgarlatta
ecd9dd4324 fix: close tags submenu when closing menu 2021-05-05 17:28:02 -03:00
Antonella Sgarlatta
323bc34ed6 styles: fix menu spacing and make tag list scrollable 2021-05-05 14:42:33 -03:00
Antonella Sgarlatta
63cb7195cb styles: fix class names 2021-05-05 11:49:15 -03:00
Antonella Sgarlatta
601ece8cbd feat: add 'add tags' option to menu 2021-05-04 18:53:26 -03:00
Antonella Sgarlatta
b70cc0e7e4 feat: add right-click context menu 2021-04-29 17:07:14 -03:00