f1122f292e
feat: New account menu and text input with icon & toggle ( #665 )
...
* feat: Add new icons
* Revert "feat: Add new icons"
This reverts commit 0acb403fe8 .
* feat: Add new icons for account menu
* feat: Add new Icons
* feat: Add "currentPane" state to prefs view
* feat: Update account menu to new design
* feat: Add input component with icon & toggle
* fix: sync icon & function
* fix: Fix eye icon
* feat: Create re-usable checkbox
feat: Add "merge local" option
* feat: Allow using className on IconButton
* feat: Add disabled state on input
feat: Make toggle circle
* refactor: Move checkbox to components
* feat: Handle invalid email/password error
* feat: Implement new design for Create Account
* feat: Implement new account menu design
* feat: Add disabled option to IconButton
* feat: Set account menu pane from other component
* feat: Add 2fa account menu pane
feat: Add lock icon
* feat: Remove unnecessary 2FA menu pane
feat: Reset current menu pane on clickOutside
* feat: Change "Log in" to "Sign in"
* feat: Remove sync from footer
* feat: Change "Login" to "Sign in"
feat: Add spinner to "Syncing..."
refactor: Use then-catch-finally for sync
* feat: Use common enableCustomServer state
* feat: Animate account menu closing
* fix: Reset menu pane only after it's closed
* feat: Add keyDown handler to InputWithIcon
* feat: Handle Enter press in inputs
* Update app/assets/javascripts/components/InputWithIcon.tsx
Co-authored-by: Antonella Sgarlatta <[email protected] >
* Update app/assets/javascripts/components/InputWithIcon.tsx
Co-authored-by: Antonella Sgarlatta <[email protected] >
* refactor: Use server state from AccountMenuState
* Update app/assets/javascripts/components/AccountMenu/CreateAccount.tsx
Co-authored-by: Antonella Sgarlatta <[email protected] >
* Update app/assets/javascripts/components/AccountMenu/ConfirmPassword.tsx
Co-authored-by: Antonella Sgarlatta <[email protected] >
* feat: Use common AdvancedOptions
* feat: Add "eye-off" icon and toggle state
* feat: Allow undefined values
* refactor: Remove enableCustomServer state
* feat: Persist server option state
* feat: Add bottom-100 and cursor-auto util classes
refactor: Use bottom-100 and cursor-auto classes
* refactor: Invert ternary operator
* refactor: Remove unused imports
* refactor: Use toggled as prop instead of state
* refactor: Change "Log in/out" to "Sign in/out"
* refactor: Change "Login" to "Sign in"
* refactor: Remove hardcoded width/height
* refactor: Use success class
* feat: Remove hardcoded width & height from svg
* fix: Fix chevron-down icon
Co-authored-by: Antonella Sgarlatta <[email protected] >
Co-authored-by: Antonella Sgarlatta <[email protected] >
2021-10-08 11:18:31 -05:00
Aman Harwara
f233c87b0f
refactor: Change srLabel to label
2021-10-04 20:22:19 +05:30
Aman Harwara
be047ebe65
Merge branch 'develop' into feat/prefs-defaults
2021-10-04 19:22:44 +05:30
Aman Harwara
170234ce84
refactor: Use PascalCase naming
2021-10-04 19:12:11 +05:30
Aman Harwara and Antonella Sgarlatta
fc226043fa
Update app/assets/javascripts/components/Dropdown.tsx
...
Co-authored-by: Antonella Sgarlatta <[email protected] >
2021-10-04 19:00:57 +05:30
Gorjan Petrovski
d89f6bfac1
fix: remove unused vars in account menu ( #659 )
2021-10-04 11:04:08 +02:00
Aman Harwara
db888c4e02
fix: Fix dropdown item colors
2021-10-01 20:04:39 +05:30
Aman Harwara
47b49aa7a9
feat: Add support for icons in Dropdown
2021-10-01 13:06:00 +05:30
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 and Mo Bitar
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 <[email protected] >
* Update app/assets/javascripts/ui_models/app_state/account_menu_state.ts
Co-authored-by: Mo Bitar <[email protected] >
* Update app/assets/javascripts/preferences/panes/EndToEndEncryption.tsx
Co-authored-by: Mo Bitar <[email protected] >
* Update app/assets/javascripts/preferences/panes/EndToEndEncryption.tsx
Co-authored-by: Mo Bitar <[email protected] >
Co-authored-by: Mo Bitar <[email protected] >
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 64aa75e840 .
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