Commit Graph

2652 Commits

Author SHA1 Message Date
Aman Harwara
53ec0d4742 feat: Add "Manage subscription" button to Subscription preferences (#705)
* feat: Add "Manage subscription" button to Subscription preferences

* Update app/assets/javascripts/preferences/panes/account/subscription/SubscriptionInformation.tsx

Co-authored-by: Mo <mo@standardnotes.org>

* feat: Use convertTimestamp function instead of manual conversion in Subscription Info

Co-authored-by: Mo <mo@standardnotes.org>
2021-10-26 21:30:21 +05:30
Mo Bitar
0c332d8b5e Merge branch 'develop' of github.com:standardnotes/web into develop 2021-10-26 10:21:29 -05:00
Mo Bitar
dbb2598f81 feat: default to delete permanently option for errored note 2021-10-26 10:21:23 -05:00
Karol Sójko
36608487ce feat: upgrade to latest active node LTS version 2021-10-26 13:54:13 +02:00
Karol Sójko
22b0f8e964 Merge branch 'hotfix/3.8.29' into develop 2021-10-26 08:57:20 +02:00
Karol Sójko
f8591ab348 Merge branch 'hotfix/3.8.29' 2021-10-26 08:56:30 +02:00
Karol Sójko
c1e3d32e16 fix: add robots.txt dependant on the environment 2021-10-26 08:56:23 +02:00
Vardan Hakobyan
b898e886a5 feat: remove broadcasting Extensions Manager events from ComponentView (#703)
* feat: remove `broadcast` from `ComponentView`

As "Extensions Manager" is removed, the related events' broadcasting is not needed anymore

* fix: restore `manualDealloc`
2021-10-25 17:08:37 +04:00
Aman Harwara
d5a81c6648 fix: Make setServer function an action (#704) 2021-10-25 18:23:56 +05:30
Gorjan Petrovski
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 <vardan_live@live.com>
2021-10-25 12:45:36 +04:00
Mo Bitar
82fc103a3e chore: webpack config 2021-10-23 09:06:59 -05:00
Mo Bitar
9b06e00ba8 fix: asset pipeline 2021-10-22 16:09:26 -05:00
Mo Bitar
f3a01aa60d fix: ignore node engine in Dockerfile 2021-10-22 15:07:46 -05:00
Mo
413fe47828 chore: update all dependencies (#699) 2021-10-22 14:47:41 -05:00
Mo Bitar
fcc22ffb78 fix: remove extensions-manager vendor dir 2021-10-22 09:58:53 -05:00
Aman Harwara
f4949249f2 feat: Use Menu component in the general account menu (#698) 2021-10-22 19:46:25 +05:30
Mo
ebe0d26d0d fix: begin purchase flow for logged in user (#697) 2021-10-22 13:09:51 +05:30
Mo Bitar
7434a870bd fix: disable unimplemented prefs sections 2021-10-21 14:48:34 -05:00
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
Mo
e79811afda feat: add purchase url (#695)
* feat: add purchase url

* chore: bump snjs

* fix: reuse existing function
2021-10-21 12:41:58 -05:00
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
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