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
Antonella Sgarlatta
3db87099e0
fix: make sure input is visible when no tags are overflowed
2021-06-02 12:20:39 -03:00
Antonella Sgarlatta
3823836863
fix: disregard modifiers for note selection if user hasn't triggered the action
2021-06-02 11:20:24 -03:00
Antonella Sgarlatta
53a55d4bc7
fix: close dropdown after creating a tag
2021-06-01 21:02:52 -03:00
Antonella Sgarlatta
684a3fb0bf
feat: add delete tag button and refactor NoteTag to separate component
2021-06-01 20:55:54 -03:00
Antonella Sgarlatta
a071d4c9d0
fix: check if ref is present before setting overflow position
2021-06-01 19:50:03 -03:00
Antonella Sgarlatta
af3bed850e
fix: use ellipsis for tags text in dropdown
2021-06-01 19:08:52 -03:00
Antonella Sgarlatta
8bcd8c31c9
fix: fix typo and remove log
2021-06-01 18:36:20 -03:00
Antonella Sgarlatta
a72815acbd
fix: adjust layout for all zoom values and font sizes
2021-06-01 18:32:44 -03: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
Antonella Sgarlatta
570a7ed587
fix: re-add clearing tags ref on every render
2021-06-01 12:24:11 -03:00
Antonella Sgarlatta
bea4e00b9d
fix: set tabIndex on dropdown buttons
2021-06-01 12:17:33 -03:00
Antonella Sgarlatta
1aebe44dcd
feat: use opacity for overflowed tags animation
2021-06-01 12:17:06 -03:00
Antonella Sgarlatta
bf1fba91dc
feat: clicking on tag sets it as active
2021-05-31 19:47:21 -03:00
Antonella Sgarlatta
6038f3ee0c
styles: fix hint tag styles
2021-05-31 19:29:08 -03:00
Antonella Sgarlatta
31fbf2ce35
fix: fix tags dropdown width and tags container height
2021-05-31 19:26:26 -03:00
Antonella Sgarlatta
6d1f6c6f24
fix: revert to using fixed margin when setting container width
2021-05-31 18:57:49 -03:00
Antonella Sgarlatta
bf61444795
styles: add animation for tags expanding/collapsing
2021-05-31 18:12:33 -03:00
Antonella Sgarlatta
b5906ecf78
feat: collapse tags on click outside
2021-05-31 17:58:46 -03:00
Antonella Sgarlatta
b54de00b40
fix: fix tags container width
2021-05-31 16:35:42 -03: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
Antonella Sgarlatta
70e4425e20
feat: set tabindex depending on overflowed tags
2021-05-31 14:42:03 -03:00
Antonella Sgarlatta
b171e48c57
refactor: refactor NoteTags for better readability
2021-05-31 14:38:44 -03:00
Antonella Sgarlatta
b7c2fa0b60
feat: use panel width event instead of ResizeObserver
2021-05-31 12:59:35 -03: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