VardanHakobyan
90cfd776da
Merge remote-tracking branch 'origin/account-menu-react' into account-menu-splitted
2021-06-11 15:58:45 +04:00
VardanHakobyan
0916ba50be
Merge remote-tracking branch 'upstream/develop' into account-menu-react
2021-06-11 15:57:59 +04:00
VardanHakobyan
9de1b30291
fix: correctly update Merge local data checkbox' state
2021-06-11 15:04:38 +04:00
VardanHakobyan
abb0b6595e
style: split AccountMenu to smaller components
...
- change link to button for "Advanced Options"
- show cursor as pointer on checkbox and its label
2021-06-11 15:01:56 +04:00
Antonella Sgarlatta
df1257ac7e
styles: remove min width from tags dropdown
2021-06-10 12:18:18 -03:00
Antonella Sgarlatta
c4db37ff94
fix: disallow creating empty tag
2021-06-10 11:58:10 -03:00
VardanHakobyan
8a2fa13d4e
refactor: split AccountMenu to smaller components
...
Notes:
- remove `url` and keep only `server`, as they are duplicating each other
2021-06-10 18:38:44 +04: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
c0348a0d0a
styles: fix sessions modal height
2021-06-10 10:59:39 -03:00
VardanHakobyan
340a4c52f2
Merge remote-tracking branch 'upstream/develop' into account-menu-splitted
2021-06-10 16:55:31 +04:00
Antonella Sgarlatta
f433576930
fix: add close on blur to tags dropdown
2021-06-09 17:16:22 -03:00
VardanHakobyan
71d04943ee
chore: run prettier
2021-06-09 12:23:14 +04:00
VardanHakobyan
7c35f41f9e
refactor: reviewer's comments
...
- cleanup event observers in `useEffect`
- other small changes
2021-06-09 12:09:55 +04:00
VardanHakobyan
1e7dbb9b14
Merge remote-tracking branch 'upstream/develop' into account-menu-react
2021-06-09 11:06:42 +04:00
Antonella Sgarlatta
0e59a6c431
fix: make sessions modal scrollable
2021-06-08 19:25:25 -03:00
Antonella Sgarlatta
c38b1f042f
feat: make delete backups checkbox off by default
2021-06-08 19:07:55 -03:00
VardanHakobyan
8b68d0fbaf
refactor: reviewer's comments
...
- use state variables to decide whether email or passcode fields should be focused
2021-06-08 20:29:42 +04:00
VardanHakobyan
3e68f02da0
refactor: reviewer's comments
...
- don't pass `closeAccountMenu` to AccountMenu, instead create it in Account menu state and use it
- add event observers as per original code
- move some variables into component's state (even if they don't need to have setters sometimes)
2021-06-08 19:54:14 +04:00
Antonella Sgarlatta
6617362783
feat: add parent chain tags when adding a tag
2021-06-07 14:39:58 -03:00
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
Antonella Sgarlatta
57689f1f15
styles: fix spacing between title and tag input
2021-06-07 12:16:38 -03: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
a9f0c6fd2f
fix: add arrows navigation for tag hint
2021-06-03 20:46:44 -03:00
Antonella Sgarlatta
622cca770f
feat: focus input after selecting tag
2021-06-03 20:37:02 -03:00
Antonella Sgarlatta
ff0270f1ac
fix: don't show dropdown if there are no results
2021-06-03 20:10:17 -03:00
Antonella Sgarlatta
7cf668f172
Merge branch 'develop' into feature/autocomplete-tags
2021-06-03 18:52:27 -03:00
Antonella Sgarlatta
75cefc122e
fix: add ellipsis overflow to tag text on note options
2021-06-03 18:48:22 -03:00
Antonella Sgarlatta
2b40ccfe13
refactor: store refs in components
2021-06-03 17:45:43 -03:00
Antonella Sgarlatta
3d0c8d5cce
fix: avoid event propagation when deleting a tag
2021-06-03 17:45:19 -03:00
Antonella Sgarlatta
a67039a184
styles: set max width for tag hint
2021-06-03 15:43:58 -03:00
Antonella Sgarlatta
75813803c3
fix: make tag selected on second click
2021-06-03 15:37:42 -03:00
Antonella Sgarlatta
524bcd09cb
fix: spacing between title and tags
2021-06-03 15:35:59 -03:00
Antonella Sgarlatta
4f729c7287
fix: set max width to note tag text
2021-06-03 14:31:40 -03:00
Antonella Sgarlatta
31d454cdc5
feat: add arrow key navigation for results dropdown
2021-06-03 14:21:07 -03:00
Antonella Sgarlatta
386ca34178
refactor: rename state
2021-06-03 13:53:49 -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
Antonella Sgarlatta
c42f1cedda
refactor: refactor autocomplete tag input in separate components and move shared logic to state
2021-06-03 12:47:14 -03:00
Antonella Sgarlatta
9be9ba2afc
fix: fix tags container max width
2021-06-02 20:30:03 -03:00
Antonella Sgarlatta
30ee2e90b4
styles: re-add accidentally removed icon color change
2021-06-02 20:22:51 -03:00
Antonella Sgarlatta
672331faaa
feat: navigate tags with arrow keys
2021-06-02 20:18:59 -03:00
Antonella Sgarlatta
093acd1519
feat: show button to remove note on focus
2021-06-02 20:00:42 -03:00
Antonella Sgarlatta
3fb3425aa2
styles: change tags icon color
2021-06-02 19:57:11 -03:00
Antonella Sgarlatta
9513392f6c
styles: reduce spacing when note has no tags
2021-06-02 19:51:13 -03:00
Antonella Sgarlatta
02f3c7c26c
feat: remove overflowed tags feature
2021-06-02 19:50:38 -03:00
Antonella Sgarlatta
54fbb606eb
fix: fix focus on previous tag after tag deletion
2021-06-02 18:59:43 -03:00
Antonella Sgarlatta
f9c2b19eac
fix: reload tabIndex after tags expansion
2021-06-02 18:59:27 -03:00