* 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
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
* 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
* 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>
* feat: remove `broadcast` from `ComponentView`
As "Extensions Manager" is removed, the related events' broadcasting is not needed anymore
* fix: restore `manualDealloc`
* 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