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
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
Antonella Sgarlatta
7ac5856205
feat: make tags container expandable
2021-05-27 21:18:06 -03:00
Antonella Sgarlatta
48562e8b26
styles: reduce tags max width
2021-05-27 14:12:12 -03:00
Antonella Sgarlatta
d255057cba
styles: constraint tags width
2021-05-27 11:18:46 -03:00
Antonella Sgarlatta
a384abcce2
styles: fix tags padding
2021-05-27 11:08:34 -03:00
Antonella Sgarlatta
37602e4550
styles: fix tags padding
2021-05-27 11:04:47 -03:00
Antonella Sgarlatta
eb3227cffd
fix: only navigate to last tag on backspace if input is empty
2021-05-27 10:56:21 -03:00
Antonella Sgarlatta
0200351ecc
feat: add placeholder to tag input
2021-05-27 10:54:49 -03:00
Antonella Sgarlatta
aaccf4bc1f
styles: adjust input colors
2021-05-27 10:53:27 -03:00
Antonella Sgarlatta
2c86958bf2
fix: make hint visible and focus input after creating new tag
2021-05-26 19:04:12 -03:00
Antonella Sgarlatta
e5c8a8cccc
Merge branch 'develop' into feature/autocomplete-tags
2021-05-26 18:52:35 -03:00
Antonella Sgarlatta
f03987016f
fix: reload tag results after adding tag
2021-05-26 18:12:52 -03:00
Antonella Sgarlatta
69c9247cd9
feat: remove tag on backspace press
2021-05-26 17:49:09 -03:00
Antonella Sgarlatta
d6f1cc3730
feat: focus last tag when pressing backspace on input
2021-05-26 17:38:20 -03:00
Antonella Sgarlatta
90cc806e15
feat: highlight tag on click
2021-05-26 16:32:29 -03:00
Antonella Sgarlatta
f7bc9e0b0a
feat: make hint fixed on bottom of dropdown
2021-05-26 16:31:53 -03:00
Antonella Sgarlatta
6d865bc04f
fix: don't show hint if a tag already exists with that title
2021-05-26 16:03:33 -03:00
Antonella Sgarlatta
fa08b7eaf3
fix: prevent form submission on dropdown option click
2021-05-26 15:57:28 -03:00
VardanHakobyan
844b43e2fb
refactor: migrate account-menu to react - initial UI
2021-05-26 22:30:32 +04:00
Antonella Sgarlatta
e3ea0aaafc
feat: create and add tag on click enter
2021-05-25 17:31:36 -03:00
Antonella Sgarlatta
4c6bfb8519
feat: create and add tag to note on hint click
2021-05-25 17:25:57 -03:00
Antonella Sgarlatta
4d67c484f9
fix: focus input after option click
2021-05-25 16:47:21 -03:00
Antonella Sgarlatta
42b1f4d62f
feat: add new tag hint to dropdown
2021-05-25 16:19:02 -03:00
Antonella Sgarlatta
eb89fe4a01
styles: make class names BEM and extract sn-dropdown-item style
2021-05-25 16:09:14 -03:00
Antonella Sgarlatta
cdf8f60655
refactor: extract Tag to its own component
2021-05-25 15:57:51 -03:00
Antonella Sgarlatta
447c0109f0
fix: keep tag title in dropdown in its original case
2021-05-24 19:16:17 -03:00
Antonella Sgarlatta
b6aaa49e50
fix: reload tag results after adding tag
2021-05-24 19:13:46 -03:00
Antonella Sgarlatta
a8d6080a6f
feat: add tag on dropdown option click
2021-05-24 19:07:07 -03:00
Antonella Sgarlatta
e2585200ac
fix: make dropdown height adjust to screen
2021-05-24 18:28:13 -03:00
Antonella Sgarlatta
c230cdee81
fix: add missing key
2021-05-24 17:23:44 -03:00