Commit Graph

72 Commits

Author SHA1 Message Date
VardanHakobyan
ca5811a0f2 fix: fix typescript problem 2021-06-07 21:14:33 +04:00
VardanHakobyan
7f11e25e63 refactor: migrate account-menu to react - implement functionality
- remove all Angular code related to `account-menu`
- rename React component to AccountMenu so that many parts of old code remain unchanged
- code cleanup
2021-06-07 20:30:49 +04:00
VardanHakobyan
3d454dc175 Merge remote-tracking branch 'upstream/develop' into account-menu-react 2021-06-07 17:43:07 +04:00
VardanHakobyan
f7262dc948 refactor: migrate account-menu to react - implement functionality
- implement "merge local data"
- show "error reporting dialog"
- fix TS errors
- cleanup TODOs
2021-06-04 20:11:19 +04:00
VardanHakobyan
5349ec8550 refactor: reviewer's comment 2021-06-04 16:52:58 +04:00
Antonella Sgarlatta
75cefc122e fix: add ellipsis overflow to tag text on note options 2021-06-03 18:48:22 -03:00
VardanHakobyan
7fab73395d fix: use correct variable for password confirmation value 2021-06-03 20:12:29 +04:00
VardanHakobyan
7a05a448c3 refactor: migrate account-menu to react - implement functionality
- implement download backup
- implement import backup
- add `useCallback` to function that is used in `useEffect`, so that its reference isn't changed on every render
2021-06-03 20:04:00 +04:00
VardanHakobyan
6a54ea90f9 refactor: migrate account-menu to react - implement functionality
- handle login and register
- advanced options in login section
- focus/blur events with React
- cleanup password fields when required (setting the value to `undefined` for resetting the input field doesn't work well in React, thus set to empty string)
2021-06-01 21:49:27 +04:00
VardanHakobyan
09f62b68ae refactor: migrate account-menu to react - implement functionality
- implement different handlers, such as set/change/remove passcode, etc.
- setup correct initial values
- rename React component
2021-05-31 22:15:49 +04:00
VardanHakobyan
1194c73c49 refactor: migrate account-menu to react - implement functionality
- link the new React component to the app's store
- setup correct initial values
- small fixes
2021-05-28 19:25:44 +04:00
VardanHakobyan
844b43e2fb refactor: migrate account-menu to react - initial UI 2021-05-26 22:30:32 +04: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
d826af7b55 fix: tags menu not opening 2021-05-20 15:36:58 -03:00
Antonella Sgarlatta
0b2665a01b fix: revert using portal for ellipsis menu 2021-05-20 15:29:19 -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
82730fe22d fix: take footer height into account when checking need for tag menu max height 2021-05-19 16:19:31 -03:00
Antonella Sgarlatta
eb929f9e87 fix: avoid tag menu opening behind footer 2021-05-19 16:17:49 -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
350fc20831 fix: set tags menu max height when at the bottom of the screen 2021-05-18 10:23:04 -03:00
Antonella Sgarlatta
3813537e5c fix: calculate menus height or width depending on browser font size 2021-05-17 19:37:18 -03:00
Antonella Sgarlatta
bc10fbf788 styles: fix button classes 2021-05-13 14:26:12 -03:00
Antonella Sgarlatta
674f14bf89 feat: add empty trash option 2021-05-12 18:51:28 -03:00
Antonella Sgarlatta
075f1b910b styles: revert search options button styling 2021-05-12 18:29:02 -03:00
Antonella Sgarlatta
8302733a49 feat: add protect option to menu 2021-05-11 17:09:23 -03:00
Antonella Sgarlatta
894e151a7e feat: show menu options according to v4 specs 2021-05-11 15:19:43 -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
24eb348b08 fix: open menu to the top when at the bottom of the screen 2021-05-07 18:35:02 -03:00
Antonella Sgarlatta
437aa40d7a feat: visual indicator for selected tags and remove them when re-clicking 2021-05-07 18:24:28 -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
02249ebaca fix: add delete permanently option, restore icon and show alerts for locked notes 2021-05-07 15:56:35 -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
7ed7c7640c styles: fix tags spacing 2021-05-06 10:53:17 -03:00
Antonella Sgarlatta
ecd9dd4324 fix: close tags submenu when closing menu 2021-05-05 17:28:02 -03:00
Antonella Sgarlatta
4308f4e656 fix: hide add tag options if no tags available 2021-05-05 15:31:34 -03:00
Antonella Sgarlatta
323bc34ed6 styles: fix menu spacing and make tag list scrollable 2021-05-05 14:42:33 -03:00
Antonella Sgarlatta
514cc8c051 styles: overwrite Stylekit font variables 2021-05-05 12:53:49 -03:00
Antonella Sgarlatta
366b7fa36d styles: change font weight 2021-05-05 12:05:12 -03:00
Antonella Sgarlatta
d76412df9e styles: change multiple selected notes header font size 2021-05-05 12:03:47 -03:00
Antonella Sgarlatta
b496cb1cba fix: pin note singular when only one note is selected 2021-05-05 11:52:53 -03:00
Antonella Sgarlatta
63cb7195cb styles: fix class names 2021-05-05 11:49:15 -03:00