VardanHakobyan
71d04943ee
chore: run prettier
2021-06-09 12:23:14 +04:00
VardanHakobyan
1e7dbb9b14
Merge remote-tracking branch 'upstream/develop' into account-menu-react
2021-06-09 11:06: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
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
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
Antonella Sgarlatta
a9f0c6fd2f
fix: add arrows navigation for tag hint
2021-06-03 20:46:44 -03:00
Antonella Sgarlatta
e7fc2066c2
fix: remove log
2021-06-03 20:08:26 -03:00
Antonella Sgarlatta
2b40ccfe13
refactor: store refs in components
2021-06-03 17:45:43 -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
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
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
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
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
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
a72815acbd
fix: adjust layout for all zoom values and font sizes
2021-06-01 18:32:44 -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
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
b7c2fa0b60
feat: use panel width event instead of ResizeObserver
2021-05-31 12:59:35 -03:00
Antonella Sgarlatta
9aa2021e11
fix: add streamItems event listener for tags
2021-05-26 18:03:29 -03:00
Antonella Sgarlatta
69c9247cd9
feat: remove tag on backspace press
2021-05-26 17:49:09 -03:00
VardanHakobyan
844b43e2fb
refactor: migrate account-menu to react - initial UI
2021-05-26 22:30:32 +04:00
Antonella Sgarlatta
237a64c322
feat: get sorted tags for note
2021-05-25 19:57:14 -03:00
Antonella Sgarlatta
5c5523fd0a
fix: reload tags after adding or removing them from context menu
2021-05-25 16:48:45 -03:00
Antonella Sgarlatta
ee975df6d3
fix: add sync after adding tag
2021-05-25 16:15:43 -03:00
Antonella Sgarlatta
2b734415e4
fix: remove async from reloadActiveNoteTags
2021-05-25 11:49:37 -03:00
Antonella Sgarlatta
a8d6080a6f
feat: add tag on dropdown option click
2021-05-24 19:07:07 -03:00
Antonella Sgarlatta
b2d15be184
feat: omit active note tags from dropdown
2021-05-24 17:22:54 -03:00
Antonella Sgarlatta
90250d22a3
feat: modify current tags to v4 style
2021-05-20 17:09:11 -03:00
Antonella Sgarlatta
6a9d54c2ae
fix: make menus scrollable when there's not enough space
2021-05-20 16:57:34 -03:00
Antonella Sgarlatta
d826af7b55
fix: tags menu not opening
2021-05-20 15:36:58 -03:00
Antonella Sgarlatta
f9f2959ad5
fix: make context menu scrollable when there's not enough space
2021-05-20 13:29:59 -03:00
Antonella Sgarlatta
ca04ff43de
fix: fix mobx actions
2021-05-19 16:10:38 -03:00
Antonella Sgarlatta
91e45b7f7f
refactor: remove unnecessary runInAction
2021-05-18 18:20:01 -03:00
Antonella Sgarlatta
bff8265df6
refactor: remove unnecessary actions
2021-05-18 18:18:10 -03:00