Commit Graph

1614 Commits

Author SHA1 Message Date
Aman Harwara
397e4963bd feat: Update notes list options menu to new design (#687)
feat: Implement initial Menu component functionality.
2021-10-19 16:07:47 +00:00
Aman Harwara
3a4e2509af feat: Add "Export" and "Duplicate" buttons in notes options menu. (#688)
Co-authored-by: Mough <mo@standardnotes.org>
2021-10-19 15:43:20 +00:00
Aman Harwara
f9b15262c7 feat: Purchase "Create account" & "Sign in" flows and Floating label input (#672) 2021-10-19 14:50:42 +00:00
Aman Harwara
7f1dddf2d2 feat: Add note attributes to notes options menu (#681) 2021-10-19 14:42:13 +00:00
Aman Harwara
29138ea597 fix: Fix spacing in "Help & feedback" button in general account menu (#693) 2021-10-19 13:36:57 +00: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
Aman Harwara
bbeab4f623 feat: Remove obselete code related to editor preferences (#691) 2021-10-17 10:54:02 -05:00
Aman Harwara
4ce9264572 fix: Reload textarea on spellcheck pref change (#690) 2021-10-17 08:10:41 -05:00
Aman Harwara
474f1e60e3 fix: "Tools" preferences' toggles not showing correct initial state (#689)
* fix: Tools toggles not showing correct initial state

* Update app/assets/javascripts/preferences/panes/general-segments/Tools.tsx

Co-authored-by: Mough <mo@standardnotes.org>
2021-10-16 15:46:44 -05:00
Aman Harwara
3953713f45 feat: Add app version & server to account menu (#682)
* feat: Add app version & server to account menu

* fix: Fix email bottom margin

* fix: Fix spacing of email & server in account menu

* feat: Move version to right of "Help & Feedback" button
2021-10-15 09:16:08 -05:00
Antonella Sgarlatta
5b91e41e32 fix: disable change email feature 2021-10-13 17:52:56 -03:00
Antonella Sgarlatta
973abbac2b fix: link buttons border color 2021-10-13 12:53:36 -03:00
Antonella Sgarlatta
618c2c6dae fix: preferences pane buttons border color 2021-10-13 12:13:13 -03:00
Antonella Sgarlatta
99b84e3cda fix: hide some account preferences sections 2021-10-13 11:23:58 -03:00
Antonella Sgarlatta
821891d2bc Merge branch 'develop' into fix/subscription-info-display 2021-10-12 17:51:59 -03:00
Antonella Sgarlatta
72edbfafca fix: replace setContent with unsafe_setCustomContent 2021-10-12 15:48:43 -03:00
Antonella Sgarlatta
7bed9a52f7 fix: show subscription info for logged in user and avoid making api call if no account 2021-10-12 15:33:49 -03:00
Gorjan Petrovski
6f18664564 feat(preferences): no-subscription for non logged in users (#676)
* feat(preferences): no-subscription for non logged in users

* fix: check if user has account using application.hasAccount()
2021-10-11 17:29:41 +02:00
Gorjan Petrovski
e0c6aab03d feat(preferences): show latest extension version (#675) 2021-10-11 15:41:15 +02:00
Gorjan Petrovski
d61ff5138b feat(preferences): improve custom extension installation design (#674) 2021-10-11 11:24:54 +02: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
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
Mo Bitar
92699d23f4 fix: func param order 2021-10-07 08:08:38 -05:00
Antonella Sgarlatta
1190ebbe41 fix: use enable unfinished features env var to set enableV4 2021-10-06 16:35:43 -03:00
Antonella Sgarlatta
17fcb0175d Merge branch 'develop' into feat/prefs-defaults 2021-10-05 19:38:52 -03:00
Antonella Sgarlatta
71004966c2 Merge branch 'develop' into feat/open-purchase-flow 2021-10-04 20:34:39 -03:00
Antonella Sgarlatta
d985e7119e Merge branch 'develop' into feat/open-purchase-flow 2021-10-04 17:50:21 -03:00
Antonella Sgarlatta
70440c1bdb Merge branch 'develop' into feat/enable-websocket-connection 2021-10-04 17:50:11 -03:00
Antonella Sgarlatta
3cba208b07 feat: enable websocket connection 2021-10-04 17:10:20 -03:00
Antonella Sgarlatta
e134598c20 feat: open purchase flow 2021-10-04 17:03:20 -03: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
Aman Harwara
1c62d36c1a refactor: Fix label prop 2021-10-04 20:25:09 +05:30
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
980ab9358d refactor: Use removeEditorDefault 2021-10-04 19:12:37 +05:30
Aman Harwara
170234ce84 refactor: Use PascalCase naming 2021-10-04 19:12:11 +05:30
Aman Harwara
fc226043fa Update app/assets/javascripts/components/Dropdown.tsx
Co-authored-by: Antonella Sgarlatta <antsgar@gmail.com>
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
24289a9322 Revert "refactor: Move functions inside component"
This reverts commit ce1c519053.
2021-10-01 21:33:40 +05:30
Aman Harwara
ce1c519053 refactor: Move functions inside component
refactor: Remove application param as it is
already present in component props
2021-10-01 21:15:38 +05:30
Aman Harwara
7aea7f330c refactor: Sort editor array after concat 2021-10-01 21:07:26 +05:30
Aman Harwara
b4b1e42606 refactor: Use enum instead of string 2021-10-01 20:46:00 +05:30
Aman Harwara
c48d9f2230 refactor: Use identifier instead of name
feat: Create EditorIdentifier enum
2021-10-01 20:39:52 +05:30
Aman Harwara
f6c019b63c feat: Remove references of default editor 2021-10-01 20:38:58 +05:30
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
1a92fffcd4 feat: Remove Set Default & Undefault buttons 2021-10-01 11:46:56 +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
Aman Harwara
7dbfa2fde0 feat(preferences): Tools segment (#657) 2021-09-29 12:51:48 -05:00