Commit Graph

1624 Commits

Author SHA1 Message Date
VardanHakobyan
9f142c05df style: set correct margins for "Advanced Options" button 2021-06-17 11:35:27 +04:00
VardanHakobyan
c897199d33 refactor: move user-related data to appStore 2021-06-16 17:00:13 +04:00
VardanHakobyan
018251838c refactor: read the required data from appState instead of passing by parent component 2021-06-16 16:20:23 +04:00
VardanHakobyan
17515848b4 fix: observe KeyStatusChanged event and correctly update hasProtections info 2021-06-16 16:00:14 +04:00
VardanHakobyan
6a3433d522 style: make "Advanced Options" button's styling similar to its previous "a" element's style 2021-06-16 15:18:06 +04:00
VardanHakobyan
96aaff5ff8 refactor: move all applicable parts to mobx instead of passing from parent to children components 2021-06-16 15:16:45 +04:00
VardanHakobyan
cd5388d89f style: restore hidden class after fixing merge conflict 2021-06-15 17:21:49 +04:00
VardanHakobyan
b1920bbd3c Merge remote-tracking branch 'upstream/develop' into account-menu-splitted
# Conflicts:
#	app/assets/stylesheets/_sn.scss
2021-06-15 17:17:24 +04:00
VardanHakobyan
c1e88a8ac0 refactor: add hidden class and tabIndex for accessibility 2021-06-15 17:16:05 +04:00
VardanHakobyan
adfef38bdc refactor: reviewer's comment
- use Preact's `FunctionalComponent` instead of React's `FC` to keep the app more lightweight
- remove `@node_modules/` from imports
2021-06-15 12:07:03 +04:00
Antonella Sgarlatta
ea090cc227 Merge branch 'main' into develop 2021-06-14 17:50:22 -03:00
Antonella Sgarlatta
2fa8767f5c styles: make note tags background color transparent 2021-06-14 17:49:24 -03:00
Antonella Sgarlatta
54cde5b885 chore(version-deps): StyleKit v5.2.1 2021-06-14 16:38:21 -03:00
Antonella Sgarlatta
d2e7c01821 Merge branch 'develop' into feature/remove-batch-manager 2021-06-14 15:53:06 -03:00
Antonella Sgarlatta
3f575b80cb Merge branch 'develop' into fix/lock-app-on-background 2021-06-14 15:47:44 -03:00
Antonella Sgarlatta
b036174d11 feat: when removing a tag, remove descendants as well 2021-06-14 14:11:54 -03:00
Antonella Sgarlatta
59737f4358 fix: add close on blur to search options dropdown 2021-06-14 13:53:56 -03:00
Antonella Sgarlatta
49788c436c fix: add close on blur to overflow menu dropdown 2021-06-14 13:39:50 -03:00
Antonella Sgarlatta
cf8d7039f5 Merge branch 'develop' into fix/lock-app-on-background 2021-06-14 13:32:43 -03:00
Antonella Sgarlatta
bfef98f6b8 fix: remove log 2021-06-14 13:23:29 -03:00
VardanHakobyan
9092c670c8 chore: remove console statement 2021-06-14 18:41:20 +04:00
VardanHakobyan
42ea6a1ea9 refactor: separate DataBackup and ErrorReporting components, remove the original (large) AccountMenu component 2021-06-14 18:40:07 +04:00
VardanHakobyan
90cfd776da Merge remote-tracking branch 'origin/account-menu-react' into account-menu-splitted 2021-06-11 15:58:45 +04:00
VardanHakobyan
0916ba50be Merge remote-tracking branch 'upstream/develop' into account-menu-react 2021-06-11 15:57:59 +04:00
VardanHakobyan
9de1b30291 fix: correctly update Merge local data checkbox' state 2021-06-11 15:04:38 +04:00
VardanHakobyan
abb0b6595e style: split AccountMenu to smaller components
- change link to button for "Advanced Options"
- show cursor as pointer on checkbox and its label
2021-06-11 15:01:56 +04:00
Antonella Sgarlatta
b4896d4385 Merge branch 'develop' into fix/lock-app-on-background 2021-06-10 12:34:12 -03:00
Antonella Sgarlatta
df1257ac7e styles: remove min width from tags dropdown 2021-06-10 12:18:18 -03:00
Antonella Sgarlatta
c4db37ff94 fix: disallow creating empty tag 2021-06-10 11:58:10 -03:00
VardanHakobyan
8a2fa13d4e refactor: split AccountMenu to smaller components
Notes:
- remove `url` and keep only `server`, as they are duplicating each other
2021-06-10 18:38:44 +04:00
Antonella Sgarlatta
860e30de20 styles: change overflow to auto and add back dropdowns min width 2021-06-10 11:18:29 -03:00
Antonella Sgarlatta
c0348a0d0a styles: fix sessions modal height 2021-06-10 10:59:39 -03:00
VardanHakobyan
340a4c52f2 Merge remote-tracking branch 'upstream/develop' into account-menu-splitted 2021-06-10 16:55:31 +04:00
Antonella Sgarlatta
655310efc2 Merge branch 'develop' into fix/lock-app-on-background 2021-06-09 19:10:48 -03:00
Antonella Sgarlatta
f433576930 fix: add close on blur to tags dropdown 2021-06-09 17:16:22 -03:00
Antonella Sgarlatta
717d52dd8a fix: tag rename to empty string should preserve its original title 2021-06-09 16:39:19 -03:00
Antonella Sgarlatta
ead8d5dcf6 fix: if tag already exists it shouldn't be added to the list 2021-06-09 16:38:53 -03:00
Antonella Sgarlatta
a1c2e28383 Merge branch 'develop' into fix/lock-app-on-background 2021-06-09 13:47:33 -03:00
Antonella Sgarlatta
c09a2f02c2 fix: update poll interval 2021-06-09 12:52:07 -03:00
VardanHakobyan
71d04943ee chore: run prettier 2021-06-09 12:23:14 +04:00
VardanHakobyan
7c35f41f9e refactor: reviewer's comments
- cleanup event observers in `useEffect`
- other small changes
2021-06-09 12:09:55 +04:00
VardanHakobyan
1e7dbb9b14 Merge remote-tracking branch 'upstream/develop' into account-menu-react 2021-06-09 11:06:42 +04:00
Antonella Sgarlatta
1894b13da9 styles: remove outline from tag input 2021-06-08 19:36:04 -03:00
Antonella Sgarlatta
0e59a6c431 fix: make sessions modal scrollable 2021-06-08 19:25:25 -03:00
Antonella Sgarlatta
c38b1f042f feat: make delete backups checkbox off by default 2021-06-08 19:07:55 -03:00
Antonella Sgarlatta
a255079cab Merge branch 'develop' into feature/remove-batch-manager 2021-06-08 18:59:39 -03:00
Antonella Sgarlatta
61e9fdb81f Merge branch 'develop' into fix/lock-app-on-background 2021-06-08 18:59:15 -03:00
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
Antonella Sgarlatta
98c6078a0d fix: don't wait until regaining focus to lock app 2021-06-07 19:07:31 -03:00