Commit Graph

2527 Commits

Author SHA1 Message Date
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
Karol Sójko
29b72c71cf fix: update snjs to 2.14.14 (#684) 2021-10-14 11:37:44 +02:00
Antonella Sgarlatta
2fa7fcb27d Merge branch 'release/3.8.28' into main 2021-10-13 17:53:24 -03:00
Antonella Sgarlatta
5b91e41e32 fix: disable change email feature 2021-10-13 17:52:56 -03:00
Antonella Sgarlatta
e1b7f07ac2 Merge branch 'release/3.8.27' into main 2021-10-13 13:41:04 -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
b22c7e6a26 Merge branch 'release/3.8.26' into main 2021-10-13 11:24:44 -03:00
Antonella Sgarlatta
99b84e3cda fix: hide some account preferences sections 2021-10-13 11:23:58 -03:00
Antonella Sgarlatta
a66ca97418 Merge pull request #678 from standardnotes/fix/subscription-info-display
fix: show subscription info for logged in user and avoid making api call if no account
2021-10-12 18:31:20 -03:00
Antonella Sgarlatta
821891d2bc Merge branch 'develop' into fix/subscription-info-display 2021-10-12 17:51:59 -03:00
Antonella Sgarlatta
e856ce7bfd Merge branch 'release/3.8.25' into main 2021-10-12 16:37:06 -03:00
Antonella Sgarlatta
af8b0d5113 chore(version): 3.8.25 2021-10-12 16:36:59 -03:00
Antonella Sgarlatta
795958eea6 Merge branch 'release/3.8.22' into main 2021-10-12 16:28:12 -03:00
Antonella Sgarlatta
72edbfafca fix: replace setContent with unsafe_setCustomContent 2021-10-12 15:48:43 -03:00
Antonella Sgarlatta
bf24453472 chore(version-snjs): 2.14.13 2021-10-12 15:41:22 -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
b015346f1a Merge pull request #671 from standardnotes/fix/use-enable-unfinished-features-to-set-enable-v4
fix: use enable unfinished features env var to set enableV4
2021-10-06 16:57:01 -03:00
Antonella Sgarlatta
1190ebbe41 fix: use enable unfinished features env var to set enableV4 2021-10-06 16:35:43 -03:00
Antonella Sgarlatta
05b7337876 Merge pull request #662 from amanharwara/feat/prefs-defaults
feat: Dropdown component and default editor section in preferences
2021-10-05 19:46:32 -03:00
Antonella Sgarlatta
17fcb0175d Merge branch 'develop' into feat/prefs-defaults 2021-10-05 19:38:52 -03:00
Antonella Sgarlatta
8eb196201c Merge pull request #666 from standardnotes/feat/open-purchase-flow
feat: open purchase flow
2021-10-05 17:31:47 -03:00
Antonella Sgarlatta
71004966c2 Merge branch 'develop' into feat/open-purchase-flow 2021-10-04 20:34:39 -03:00
Antonella Sgarlatta
aa40354a31 chore(version-snjs): 2.14.11 2021-10-04 20:34:08 -03:00
Antonella Sgarlatta
bdf50de9f6 Merge pull request #667 from standardnotes/feat/enable-websocket-connection
feat: enable websocket connection
2021-10-04 17:54:52 -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