Commit Graph

2574 Commits

Author SHA1 Message Date
Vardan Hakobyan
e833dbfbca Fix/email changed text (#728)
* fix: correct styling for "Email successfully changed" dialog texts

* fix: correct top styling for title
2021-11-10 20:06:31 +04:00
Mo Bitar
ba4fbd1c0a fix: unmount component on destroy 2021-11-10 08:30:38 -06:00
Mo
73b91e5964 fix: reload subscription state after event (#727)
* fix: reload subscription state after event

* chore: yarn.lock

* chore: lint

* fix: hook exhaustive deps
2021-11-09 19:33:10 -06:00
Mo Bitar
8c3271bcb3 fix: don't include full desktop path in deeplink redirect 2021-11-09 18:13:43 -06:00
Mo Bitar
0d5e348523 fix: make account settings pane first 2021-11-09 16:43:28 -06:00
Mo Bitar
4b21083229 fix: disable v4 feature checks 2021-11-09 16:41:12 -06:00
Mo Bitar
f029e32dff fix: site urls 2021-11-09 06:58:21 -06:00
Aman Harwara
88cc50e8b6 fix: Fix icon colors to be more themeable (#724) 2021-11-06 19:29:03 +05:30
Johnny A
261bb65a85 fix: show alert when importing a zip file as a backup (#720)
* fix: show alert when importing a zip file as a backup

* Update app/assets/javascripts/strings.ts

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

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
Co-authored-by: Mo <mo@standardnotes.org>
2021-11-05 11:31:23 -04:00
Aman Harwara
2fdb748bab fix: Change bg-neutral to bg-border (#723) 2021-11-05 20:43:27 +05:30
Mo
e1e38c65db fix: add ability to subscribe without account (#722) 2021-11-05 10:09:46 -05:00
Aman Harwara
42b3cf5750 feat: Use border-main (#721) 2021-11-05 19:29:54 +05:30
Aman Harwara
54c09b9b49 chore: Bump sn-stylekit to 5.2.9 (#719) 2021-11-04 18:11:59 +05:30
Vardan Hakobyan
bbc81ea276 feat: move extensions from prefs menu's left pane to General->Advanced section (#718) 2021-11-03 22:45:50 +04:00
Vardan Hakobyan
04fab80adb feat: fetch features and store locally for offline users (#706)
* feat: fetch features and store locally for offline users

* feat: handle success and error cases

* refactor: move offline activation code reading/validation to snjs

* chore: update after renaming snjs function

* fix: correct condition for checking offline users

* feat: let users remove their previous offline keys (WIP)

* refactor: handle setOfflineFeatures function response accordingly

* feat: remove corresponding local data when removing offline key

* fix: use snjs' confirm dialog instead of custom one

* feat: show warning before installing extension from untrusted source

* refactor: move functions for validating external feature url and checking if custom server host was used to snjs

* chore: put correct snjs version

* chore: make `eslint-plugin-react-hooks` in yarn.lock to match the `develop` branch

* chore: deps update

* chore: deps update
2021-11-03 22:27:36 +04:00
Aman Harwara
bad87a4f2f feat: Replace border-gray-300 with border-neutral (#716) 2021-11-02 19:55:28 +05:30
Gorjan Petrovski
32ced95f72 fix: replace border-gray-300 with a themable colour (#664)
Co-authored-by: Aman Harwara <amanharwara@protonmail.com>
2021-11-01 20:46:14 +05:30
Aman Harwara
4f56c453cb feat: Update "Change Email" and "Change Password" modal designs (#714)
* feat: Add new utility classes

* feat: Update "Change Email" modal design

* feat: Use .sk-input.contrast className to mimic password wizard inputs

* feat: Add explicit labels to password wizard inputs

* feat: Make button sizing consistent

* refactor: Remove unused dependencies

* refactor: Remove unused component
2021-11-01 19:49:06 +05:30
Aman Harwara
5da51048bf feat: Use toggle switch for layerable themes in quick settings menu (#712)
* feat: Add px-0 utlility class
2021-10-30 21:22:46 +05:30
Aman Harwara
db1139fd44 feat: Keep only "Manage subscription" button in account subscription prefs (#711)
* feat: Add DASHBOARD_URL to .env.sample
2021-10-30 21:15:17 +05:30
Johnny A
403fc3f295 fix: empty panel above 'Install Custom Extension' panel (#709)
Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2021-10-29 15:48:49 -04:00
proletarius101
76a149c8ee merge web app manifests (#708)
Right now here are 2 web app manifests:
- public/favicon/site.webmanifest
- public/manifest.json

But only the 1st one is referred in the html

This commit
- merged them into public/site.webmanifest (according to https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Add_to_home_screen#manifest, it should be in the root, whereas the spec suggests the `.webmanifest` extension
- complete the required fields

It now passes the Lighthouse PWA manifest test in Chrome
2021-10-28 10:36:27 -05:00
Mo
fd6d83655c feat: Component toggleability and add toggleable components to quick settings menu (#707)
* feat: toggleable extensions

* fix: return all themes for quick settings

* chore: bump snjs deps

* feat: Use Switch component for toggle in Quick Settings Menu

* feat: Add toggleableComponents to footer_view

* refactor: Change "components" to "toggleableComponents"

* feat: Add checked state to component toggle in quick settings menu
2021-10-27 10:19:42 -05:00
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
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