* feat: Add new icons
* Revert "feat: Add new icons"
This reverts commit 0acb403fe846dbb2e48fd22de35c3568c3cb4453.
* 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 <antsgar@gmail.com>
* Update app/assets/javascripts/components/InputWithIcon.tsx
Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
* refactor: Use server state from AccountMenuState
* Update app/assets/javascripts/components/AccountMenu/CreateAccount.tsx
Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
* Update app/assets/javascripts/components/AccountMenu/ConfirmPassword.tsx
Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
* 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 <antsgar@gmail.com>
Co-authored-by: Antonella Sgarlatta <antonella@standardnotes.org>
* 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 <mo@standardnotes.org>
* feat(preferences): not logged in segment
* Update app/assets/javascripts/preferences/panes/account/Authentication.tsx
Co-authored-by: Mo Bitar <mo@standardnotes.org>
* Update app/assets/javascripts/preferences/panes/account/Authentication.tsx
Co-authored-by: Mo Bitar <mo@standardnotes.org>
Co-authored-by: Mo Bitar <mo@standardnotes.org>
* feat: data backups initial implementation
* feat: improve data backups design in preferences
* feat: split import backup in multiple segments
* feat(preferences): move import backup spinner next to import button
* fix(data-backups): padding between radio btn and buttons
* fix: encryption status title
* fix: derive encryption status directly from appState and application
* Update app/assets/javascripts/preferences/panes/Encryption.tsx
Co-authored-by: Mo Bitar <mo@standardnotes.org>
Co-authored-by: Mo Bitar <mo@standardnotes.org>
* 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
* 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