Commit Graph

119 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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