Commit Graph

221 Commits

Author SHA1 Message Date
Aman Harwara
a98409a95f feat: Dropdown component
feat: Add editor icons

feat: Implement default editor selection
2021-10-01 00:29:32 +05:30
Aman Harwara
b4fcc993aa feat(preferences): Defaults segment
feat: Dropdown component
2021-09-30 20:50:44 +05:30
Gorjan Petrovski
091842555f fix: use theme-modifiable colors (#658) 2021-09-29 18:08:43 +02:00
Gorjan Petrovski
0e5692d8ab feat: slim account menu and icon buttons (#655)
* feat: footer icon for preferences menu

* feat: account footer icon

* feat: account menu icon and slimmed down account menu
2021-09-29 17:52:27 +02:00
Gorjan Petrovski
73f03e6ea6 feat: passcode lock in preferences (#644)
* feat: implement existing passcode lock in prefs

* chore: cleanup commented code and unused imports

* feat: improve design for passcode lock

* fix: propert folder naming

* feat: passcode lock form buttons margin
2021-09-23 17:25:39 +02:00
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
8fb34f2e85 feat: improve 2fa styles based on feedback (#635)
* feat: improve 2fa styles based on feedback

* fix: preferences panes and dialogs electron compatibility

* fix: no horizontal line when opening two factor activation

* feat: improve two factor activation styles

* feat: further 2fa style improvements

* feat: padding 2fa widgets

* feat: add padding between QR code and content

* feat: refresh 2fa after passcode confirmation

* feat: don't autocomplete passwords for DecoratedInput
2021-09-17 18:14:53 +02:00
Vardan Hakobyan
b0ed19d6a3 feat: implement credentials information on Prefs -> Account pane (#632)
* feat: implement prefs -> credentials section UI (w/o backend integration)

* feat: implement credentials information on Prefs -> Account pane

- implement email changing UI (w/o backend integration)
- implement password changing UI and reuse existing change password logic
- replace 2FA dialog with shared one
- implement React hook for preventing window refresh

* fix: provide correct types

* refactor: reuse styles from stylekit, rename components and create enum for input types

* refactor: update default exports to named ones, correct texts

* chore: remove unnecessary depenedency

* chore: yarn.lock without unnecessary packages

* Revert "chore: yarn.lock without unnecessary packages"

This reverts commit 64aa75e8408b06884d6e7383180292a4a9a3e8ad.
2021-09-09 19:23:21 +04: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
Vardan Hakobyan
5b18fc7146 feat: add "sync" pane to preferences -> account tab (#621)
* feat: add "sync" pane to preferences -> account tab

* chore: configure eslint to add new line at the end of file and remove trailing spaces

* chore: add newline at the end of file
2021-08-26 22:57:27 +04:00
Antonella Sgarlatta
e82e27ddb6 fix: pass application to options component in overflow menu 2021-08-09 11:47:10 -03:00
Antonella Sgarlatta
44bf907aa4 feat: toggle move to trash to delete permanently on alt key down 2021-07-28 16:18:05 -03:00
Gorjan Petrovski
84bb17ba1d feat(preferences): 2FA activation dialog with mocked state (#605) 2021-07-27 11:32:07 +02:00
Gorjan Petrovski
d9c5fd5129 feat: two factor authentication segment in preferences with mocked state (#600) 2021-07-21 12:17:50 +02:00
Antonella Sgarlatta
f84d789b16 Merge branch 'develop' into feature/account-menu-react 2021-07-12 12:26:51 -03:00
Gorjan Petrovski
f6b1b57971 feat: preferences help & feedback (#596) 2021-07-08 20:24:05 +02:00
Antonella Sgarlatta
5ebdd4f13b fix: change setHost to setCustomHost 2021-07-05 14:39:48 -03:00
Gorjan Petrovski
a9870214ea feat: implement preferences pane 2021-07-05 16:57:37 +02:00
Antonella Sgarlatta
1bb27503fa fix: set minimum passcode length 2021-07-01 17:55:50 -03:00
Antonella Sgarlatta
ef108fe33d chore: update links to .com 2021-07-01 17:55:29 -03:00
Antonella Sgarlatta
d93db921d8 Merge branch 'develop' into feature/account-menu-react 2021-07-01 16:58:50 -03:00
Antonella Sgarlatta
353d46eb63 fix: don't clear search query when navigating back to input 2021-07-01 14:36:56 -03:00
Antonella Sgarlatta
3e76ef6b6f fix: fix tags keyboard navigation 2021-07-01 14:36:21 -03: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
8ea78351b5 chore: remove log 2021-06-30 18:58:22 -03:00
Antonella Sgarlatta
afc84b5702 fix: reposition dropdowns when resizing window 2021-06-30 18:51:00 -03:00
Antonella Sgarlatta
0c80e795e4 fix: remove check for null or undefined data on revoke session 2021-06-29 20:30:53 -03:00
Antonella Sgarlatta
bc839ef660 chore(version-snjs): 2.7.9 2021-06-29 19:28:56 -03:00
Antonella Sgarlatta
bba9ce90ee fix: fix type 2021-06-28 16:10:37 -03:00
Antonella Sgarlatta
a61f43c557 fix: set max width for search options 2021-06-24 14:45:52 -03:00
VardanHakobyan
2bc1cb7d06 Merge remote-tracking branch 'upstream/develop' into account-menu-split-fix 2021-06-24 12:58:58 +03:00
VardanHakobyan
e9406b682e fix: the following is done:
- show cursor as pointer when hovering "Advanced Options"
- show error reporting identifier as bold text
- when closing account menu with opened "Sign in" form and then reopening account menu, don't show "Sign in" form
2021-06-24 12:51:26 +03:00
VardanHakobyan
6ba3fbe9ca refactor: better naming 2021-06-23 19:32:31 +03:00
Antonella Sgarlatta
28aab95bc0 fix: make search options open on top of tags container 2021-06-23 12:44:16 -03:00
VardanHakobyan
205c48b0e0 fix: add dependencies array to useEffect so that it doesn't run on every render 2021-06-21 19:20:38 +03:00
VardanHakobyan
33082fcd7a fix: prevent default action when activating "Import Backup" by keyboard 2021-06-17 13:57:00 +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
VardanHakobyan
a76213dd1f feat: change label to button for better accessibility, let users to import backup by keyboard as well 2021-06-17 13:36:39 +04:00
VardanHakobyan
9f142c05df style: set correct margins for "Advanced Options" button 2021-06-17 11:35:27 +04:00
Antonella Sgarlatta
dcbc8f59f9 fix: focus autocomplete input after adding tag from hint 2021-06-16 18:10:22 -03:00
Antonella Sgarlatta
91fc475aac fix: show autocomplete tag results only if query isn't empty 2021-06-16 12:54:39 -03: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
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