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
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
Gorjan Petrovski
1294b94117
feat: integrate two factor authentication ( #626 )
...
* feat: integrate SNJS MFA with web
* fix: create rudimentary typings file for qrcode.react
* chore: lint fixes
* fix: address PR feedback
* fix: address PR feedback
* fix: address PR feedback 2
* fix: replace spread props on TwoFactorAuthWrapper component
* chore: change null check to undefined check
2021-09-06 17:15:34 +02: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
afc84b5702
fix: reposition dropdowns when resizing window
2021-06-30 18:51:00 -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
b5906ecf78
feat: collapse tags on click outside
2021-05-31 17:58:46 -03:00
Antonella Sgarlatta
48562e8b26
styles: reduce tags max width
2021-05-27 14:12:12 -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
d826af7b55
fix: tags menu not opening
2021-05-20 15:36:58 -03:00
Antonella Sgarlatta
f9f2959ad5
fix: make context menu scrollable when there's not enough space
2021-05-20 13:29:59 -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
e5750e88c6
refactor: better format
2021-05-05 11:31:04 -03:00
Antonella Sgarlatta
45357c1976
fix: revert changes to closeOnBlur and add closeOnClickOutside
2021-05-04 15:44:12 -03:00
Antonella Sgarlatta
c48cc9d7be
styles: adjust spacing
2021-05-03 14:53:07 -03:00
Antonella Sgarlatta
b70cc0e7e4
feat: add right-click context menu
2021-04-29 17:07:14 -03:00