Commit Graph

102 Commits

Author SHA1 Message Date
Gorjan Petrovski
7b5b78832a feat: implement encrypted items info (#641)
* feat: implement encrypted items info

* Update app/assets/javascripts/ui_models/app_state/account_menu_state.ts

Co-authored-by: Mo Bitar <mo@standardnotes.org>

* Update app/assets/javascripts/ui_models/app_state/account_menu_state.ts

Co-authored-by: Mo Bitar <mo@standardnotes.org>

* Update app/assets/javascripts/preferences/panes/EndToEndEncryption.tsx

Co-authored-by: Mo Bitar <mo@standardnotes.org>

* Update app/assets/javascripts/preferences/panes/EndToEndEncryption.tsx

Co-authored-by: Mo Bitar <mo@standardnotes.org>

Co-authored-by: Mo Bitar <mo@standardnotes.org>
2021-09-22 15:56:34 +02:00
Gorjan Petrovski
77525a56cd feat: implement UI for logging out (#638)
* feat: implement UI for logging out

* feat: use old style dialogs for logout confirmation

* feat: implement manage sessions

* feat: implement session logout success dialog

* feat: use snjs alert for revoking sessions confirmation

* fix: make OtherSessionsLogout easier to read
2021-09-21 19:01:32 +02:00
Gorjan Petrovski
1294b94117 feat: integrate two factor authentication (#626)
* feat: integrate SNJS MFA with web

* fix: create rudimentary typings file for qrcode.react

* chore: lint fixes

* fix: address PR feedback

* fix: address PR feedback

* fix: address PR feedback 2

* fix: replace spread props on TwoFactorAuthWrapper component

* chore: change null check to undefined check
2021-09-06 17:15:34 +02:00
Antonella Sgarlatta
0b8cd1b7b4 fix: avoid changing selected note when editing archived or trashed note from search results 2021-07-19 12:15:35 -03:00
Antonella Sgarlatta
f84d789b16 Merge branch 'develop' into feature/account-menu-react 2021-07-12 12:26:51 -03:00
Gorjan Petrovski
3f94636615 feat: implement enableUnfinishedFeatures flag and hidden preferences button 2021-07-05 17:03:34 +02:00
Gorjan Petrovski
a9870214ea feat: implement preferences pane 2021-07-05 16:57:37 +02:00
Antonella Sgarlatta
881f4683cc Merge branch 'develop' into feature/account-menu-react 2021-06-30 19:00:23 -03:00
Antonella Sgarlatta
2295f5d593 fix: fix tags tab navigation 2021-06-30 18:59:07 -03:00
Antonella Sgarlatta
afc84b5702 fix: reposition dropdowns when resizing window 2021-06-30 18:51:00 -03:00
Antonella Sgarlatta
aa63ff4866 Merge branch 'develop' into feature/account-menu-react 2021-06-24 11:10:56 -03:00
Antonella Sgarlatta
3648f29174 feat: make archived false by default on search options 2021-06-24 11:10:39 -03:00
VardanHakobyan
6ba3fbe9ca refactor: better naming 2021-06-23 19:32:31 +03:00
VardanHakobyan
b74549bfc6 refactor: move observers and streamers to separate methods, code cleanup 2021-06-19 19:05:29 +03:00
VardanHakobyan
bba1d089bf refactor: set initial value of server on Application.Launched event 2021-06-17 17:51:45 +04:00
VardanHakobyan
374e9c0616 Merge remote-tracking branch 'upstream/develop' into account-menu-splitted
# Conflicts:
#	app/assets/javascripts/directives/views/accountMenu.ts
2021-06-17 13:37:16 +04:00
Antonella Sgarlatta
91fc475aac fix: show autocomplete tag results only if query isn't empty 2021-06-16 12:54:39 -03:00
Antonella Sgarlatta
124f7779c3 fix: remove recursive tag deletion 2021-06-16 12:28:32 -03: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
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
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
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
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
Antonella Sgarlatta
61e9fdb81f Merge branch 'develop' into fix/lock-app-on-background 2021-06-08 18:59:15 -03: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
Antonella Sgarlatta
6617362783 feat: add parent chain tags when adding a tag 2021-06-07 14:39:58 -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
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