Vardan Hakobyan
bbc81ea276
feat: move extensions from prefs menu's left pane to General->Advanced section ( #718 )
2021-11-03 22:45:50 +04:00
Gorjan Petrovski and vardanhakobyan
31222e1236
feat(preferences): extension modals into extension panes ( #683 )
...
* feat(preferences): show inline extensions in extensions pane
* wip
* wip
* refactor: convert ComponentView to React component
* refactor: convert ComponentView to React component
* chore: fix merge conflicts
* feat: don't show features whose `area` is "room", update modal items' icons in Preferences menu
* chore: fix TS error
* feat: don't show 2FA Manager in modal-based component
* feat: remove `ExtendedDataReloadComplete` event, since Extensions Manger is being removed from the app
* chore: avoid hardcoded values in svg image, optimize `if` condition
* chore: remove remnant comment
* fix: fix typescript errors
Co-authored-by: vardanhakobyan <[email protected] >
2021-10-25 12:45:36 +04:00
Antonella Sgarlatta
99b84e3cda
fix: hide some account preferences sections
2021-10-13 11:23:58 -03:00
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
Gorjan Petrovski
7b6c99d188
feat: extension manager in preferences ( #670 )
...
* feat: add extensions pane
* fix: rename extensions folder for MacOS compatibility
* feat: extension toggles and uninstall
* feat: implement extension renaming, activation, deactivation and UI/UX fixes
* feat(preferences): improve extension item design
* feat(preferences): hide custom extension input when installation confirmed
2021-10-08 09:20:46 +02:00
Aman Harwara and Mo Bitar
e72d737220
feat: Add Listed pane in preferences ( #651 )
...
* feat: Add Listed pane in preferences
* feat: Add list of blogs in Listed preferences
feat: Allow custom classnames in LinkButton
feat: Add mt-0 class
* fix: Don't show non-Listed Action Extensions
* fix: Use streamItems()
* fix: Re-render UI when item is deleted
* feat: Remove hardcoded margin-top for LinkButton
* fix: Fix ESLint exhaustive-deps error
* fix: Use useCallback hook
feat: Disconnect shows state "Disconnecting..." when deleting item
* fix: Remove unused imports
* fix: Simplify disconnect function
fix: Use key in the correct place
* feat: Add confirmation dialog when deleting a blog
feat: Show Blog/Blogs in the title depending on the
number of items
* style: Revert file to original formatting
* refactor: Use preact instead of react
refactor: Use FunctionalComponent type
* feat: Show alert when disconnecting errors out
fix: Set state to false even if errors
refactor: Use ternary operator for Getting
Started section
* feat: Load Listed blog actions asynchronously
* feat: Only fetch actions if not already available
* refactor: Use async/await for disconnecting
Co-authored-by: Mo Bitar <[email protected] >
2021-09-29 11:02:30 -05:00
Gorjan Petrovski
3867f625f1
feat(preferences): error reporting segment ( #652 )
...
* feat(preferences): error reporting segment
* feat(preferences): move error reporting to general pane
2021-09-28 18:08:27 +02:00
Gorjan Petrovski
150f7a7835
feat(preferences): close preferences with Esc button ( #647 )
...
* feat(preferences): close preferences with Esc button
* feat: use ioService for escape key handling
2021-09-27 11:55:52 +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
Gorjan Petrovski and Vardan Hakobyan
7b1499d75e
feat: disabled 2fa feature ( #631 )
...
* feat: add dim and blur to unavailable 2fa
* feat: message over disabled 2FA
* feat: 2fa remove overlay and dimming
* fix: add newline to _ui,css
* fix: tsc errors
* Update app/assets/javascripts/preferences/panes/two-factor-auth/TwoFactorAuthView.tsx
Co-authored-by: Vardan Hakobyan <[email protected] >
* refactor: rename s to status
Co-authored-by: Vardan Hakobyan <[email protected] >
2021-09-09 16:28:37 +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
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
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