Commit Graph

26 Commits

Author SHA1 Message Date
Mo
8d9b192b81 feat: remove extensions manager (#696)
* feat: remove extensions manager

* fix: remove unused code

Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2021-10-21 13:06:49 -05:00
Aman Harwara
c8dc07d42b feat: Add quick settings menu with theme switcher and other changes (#673)
Co-authored-by: Mo Bitar <mo@standardnotes.org>
Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
2021-10-19 04:28:46 +00:00
Antonella Sgarlatta
99b84e3cda fix: hide some account preferences sections 2021-10-13 11:23:58 -03:00
Aman Harwara
f1122f292e feat: New account menu and text input with icon & toggle (#665)
* 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>
2021-10-08 11:18:31 -05:00
Gorjan Petrovski
bf3763300a fix: adjust footer element height so it doesn't produce a scrollbar (#663) 2021-10-04 17:52:33 +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
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
Antonella Sgarlatta
881f4683cc Merge branch 'develop' into feature/account-menu-react 2021-06-30 19:00:23 -03:00
Antonella Sgarlatta
e208467ee7 chore: update links to .com 2021-06-28 15:28:01 -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
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
VardanHakobyan
09f62b68ae refactor: migrate account-menu to react - implement functionality
- implement different handlers, such as set/change/remove passcode, etc.
- setup correct initial values
- rename React component
2021-05-31 22:15:49 +04:00
VardanHakobyan
1194c73c49 refactor: migrate account-menu to react - implement functionality
- link the new React component to the app's store
- setup correct initial values
- small fixes
2021-05-28 19:25:44 +04:00
VardanHakobyan
844b43e2fb refactor: migrate account-menu to react - initial UI 2021-05-26 22:30:32 +04:00
Baptiste Grob
491c9c01e2 fix: hide data upgrade when not applicable 2021-01-04 13:02:05 +01:00
Baptiste Grob
02ad4b8197 feat: show data upgrade when available 2021-01-01 15:51:14 +01:00
Baptiste Grob
cebcbab10e fix: make beta warning less alarming 2020-11-20 11:47:52 +01:00
Baptiste Grob
2e70ea7cd6 fix: hide encryption upgrade 2020-10-30 10:51:45 +01:00
Baptiste Grob
ee563cd09b feat: display beta warning on desktop 2020-10-20 16:53:49 +02:00
Mo Bitar
2b6abeebfc feat: snjs app groups (#468)
* feat: snjs app groups

* fix: update snjs version to point to wip commit

* wip: account switcher

* feat: rename lock manager to auto lock service

* fix: more relevant sign out copy

* chore(deps): update snjs

* fix: use setTimeout instead of setImmediate

* feat: make account switcher expiremental feature

* chore(deps): upgrade snjs
2020-09-15 10:55:32 -05:00
Baptiste Grob
623bbae3bf fix: show "Last refreshed…" in footer when logged in 2020-07-30 19:18:36 +02:00
Baptiste Grob
67e2d11d3f fix: deterministically sort footer badges 2020-07-29 17:02:41 +02:00
Baptiste Grob
d80c74b746 fix: hide refresh status when offline 2020-07-29 13:27:32 +02:00
Mo Bitar
407e3ea0d8 Fixes and improvements related to components 2020-04-15 19:17:08 -05:00
Mo Bitar
9cf99896a5 Remove dummy concept in favor of editor group and editors 2020-04-14 15:03:22 -05:00