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
1894b13da9
styles: remove outline from tag input
2021-06-08 19:36:04 -03: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
Antonella Sgarlatta
c44c7348e9
Merge branch 'develop' into feature/autocomplete-tags
2021-06-07 14:36:29 -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
Karol Sójko
8dde06b93b
feat: add alternative server for purposes of switching to API v1 ( #571 )
...
* feat: add alternative server for purposes of switching to API v1
* fix: naming of next version sync server host variable
2021-06-07 15:19:26 +02: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
e7fc2066c2
fix: remove log
2021-06-03 20:08:26 -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
d49d89f0d5
refactor: simplify state methods
2021-06-03 11:43:38 -03:00
VardanHakobyan
da5f25e809
Merge remote-tracking branch 'upstream/develop' into account-menu-react
2021-06-03 13:14:32 +04: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
434ea3258e
fix: tags container margins
2021-06-02 20:08:02 -03:00
Antonella Sgarlatta
4faebe4ffd
fix: onWidthEvent error
2021-06-02 20:05:34 -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
ba1f151d46
Merge branch 'develop' into feature/autocomplete-tags
2021-06-02 19:01: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
Antonella Sgarlatta
595b44dfee
fix: reload layout when double clicking on panel resizer
2021-06-02 18:38:54 -03:00
Antonella Sgarlatta
de31fe7d61
feat: context menu for deleting tags
2021-06-02 18:31:13 -03:00
Antonella Sgarlatta
6fb68d2255
refactor: extract shared logic to active note state
2021-06-02 17:57:37 -03:00