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
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
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
75cefc122e
fix: add ellipsis overflow to tag text on note options
2021-06-03 18:48:22 -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
VardanHakobyan
da5f25e809
Merge remote-tracking branch 'upstream/develop' into account-menu-react
2021-06-03 13:14:32 +04: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
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
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
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
VardanHakobyan
844b43e2fb
refactor: migrate account-menu to react - initial UI
2021-05-26 22:30:32 +04:00
Antonella Sgarlatta
278bec8d56
feat: close context menu on extension click
2021-05-24 11:46:43 -03:00
Antonella Sgarlatta
6a7e09cd26
fix: new note button not working when multiple notes selected
2021-05-24 11:05:15 -03:00
Antonella Sgarlatta
633add73c9
feat: remove animations from context menu
2021-05-24 10:51:24 -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
c7be130a94
refactor: remove unused import
2021-05-20 15:37:39 -03:00
Antonella Sgarlatta
d826af7b55
fix: tags menu not opening
2021-05-20 15:36:58 -03:00
Antonella Sgarlatta
0b2665a01b
fix: revert using portal for ellipsis menu
2021-05-20 15:29:19 -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
82730fe22d
fix: take footer height into account when checking need for tag menu max height
2021-05-19 16:19:31 -03:00
Antonella Sgarlatta
eb929f9e87
fix: avoid tag menu opening behind footer
2021-05-19 16:17:49 -03:00
Antonella Sgarlatta
ca04ff43de
fix: fix mobx actions
2021-05-19 16:10:38 -03:00
Antonella Sgarlatta
0a262de3db
fix: handle components keydown and keyup actions
2021-05-19 14:53:52 -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
Antonella Sgarlatta
5ddc976446
styles: make icons responsive to font size
2021-05-18 12:21:10 -03:00
Antonella Sgarlatta
e4d70239f6
fix: use portal to make sure ellipsis menu opens on top of note list
2021-05-18 10:26:17 -03:00
Antonella Sgarlatta
350fc20831
fix: set tags menu max height when at the bottom of the screen
2021-05-18 10:23:04 -03:00
Antonella Sgarlatta
3813537e5c
fix: calculate menus height or width depending on browser font size
2021-05-17 19:37:18 -03:00
Antonella Sgarlatta
87305c8071
fix: pressing enter on authentication modal not submitting form
2021-05-17 16:49:43 -03:00
Antonella Sgarlatta
a2b6c3785a
fix: editor not opening for single selected note after unselecting a note from batch
2021-05-17 16:46:21 -03:00
Antonella Sgarlatta
c6e4c2fcf5
fix: note flickering and multiple selection staying enabled after browser shortcut
2021-05-17 16:45:00 -03:00
Antonella Sgarlatta
4fc2c58daf
styles: dropdown should be on top of resizer
2021-05-17 12:50:09 -03:00
Antonella Sgarlatta
68a0e1e5bc
fix: fix enable editing on editor bar
2021-05-17 12:20:13 -03:00
Antonella Sgarlatta
9aa9841d88
fix: fix ctrl+click not selecting notes
2021-05-13 16:11:03 -03:00
Antonella Sgarlatta
97b999d18b
feat: remove note options from legacy options menu
2021-05-13 14:47:51 -03:00
Antonella Sgarlatta
bc10fbf788
styles: fix button classes
2021-05-13 14:26:12 -03:00
Antonella Sgarlatta
0f9d28c839
Merge branch 'develop' into feature/multiple-selection
2021-05-13 12:50:59 -03:00
Antonella Sgarlatta
c771f89982
fix: search box autofilling with username
2021-05-13 12:50:45 -03:00
Antonella Sgarlatta
386862ad5f
chore(version-snjs): 2.2.0
2021-05-12 19:00:22 -03:00
Antonella Sgarlatta
674f14bf89
feat: add empty trash option
2021-05-12 18:51:28 -03:00
Antonella Sgarlatta
075f1b910b
styles: revert search options button styling
2021-05-12 18:29:02 -03:00
Antonella Sgarlatta
b356a20d33
fix: pass note uuid
2021-05-11 19:22:57 -03:00
Antonella Sgarlatta
ba71b56f00
refactor: revert to passing note uuid to selectNote
2021-05-11 19:19:53 -03:00