From b8d8de13737475310316f97aaec9032ed301b821 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Thu, 7 Mar 2024 13:41:35 +0800 Subject: [PATCH] Add a get started page for firefox extension users Should help with some onboarding issues, also helps with the weird grant consent process. --- packages/web/components/templates/About.tsx | 4 +- .../web/pages/landing/firefox-get-started.tsx | 81 +++++++++++++++++++ pkg/extension/src/manifest.json | 4 +- pkg/extension/src/views/installed.html | 3 + 4 files changed, 88 insertions(+), 4 deletions(-) create mode 100644 packages/web/pages/landing/firefox-get-started.tsx diff --git a/packages/web/components/templates/About.tsx b/packages/web/components/templates/About.tsx index 9413b717e..174f8bdc3 100644 --- a/packages/web/components/templates/About.tsx +++ b/packages/web/components/templates/About.tsx @@ -16,7 +16,7 @@ export function About(props: AboutProps): JSX.Element { + + + +

Thank you for install the Omnivore Firefox Extension

+ +

+ Thank you for installing our Firefox extension. A few considerations + for new Firefox users +

+ +

+ 1. To use Omnivore you need an Omnivore account. You can sign up for + free from our login page. Before using the + extension you should create your account and login. +

+ +

+ 2. By default the extension uses your Omnivore authentication cookie + to connect to our backend when saving pages. This means your security + settings must allow the extension access to this cookie. If you are + using Firefox containers we will not have access to the cookie so you + will need to use an API key to authenticate. You can read more about + this{' '} + + here. + +

+ +

+ 3. We have a welcoming community on Discord that can help with many + problems. If you need support you can{' '} + + join our community on Discord. + +

+ +

+ 4. You can close this tab now and get started saving and enjoying your + reading. +

+
+
+ ) +} diff --git a/pkg/extension/src/manifest.json b/pkg/extension/src/manifest.json index 8f2219a82..5e52167b9 100644 --- a/pkg/extension/src/manifest.json +++ b/pkg/extension/src/manifest.json @@ -2,8 +2,8 @@ "manifest_version": 2, "name": "process.env.EXTENSION_NAME", "short_name": "process.env.EXTENSION_NAME", - "version": "2.8.9", - "description": "Save PDFs and Articles to your Omnivore library", + "version": "2.10.0", + "description": "Save PDFs and articles to your Omnivore library", "author": "Omnivore Media, Inc", "default_locale": "en", "developer": { diff --git a/pkg/extension/src/views/installed.html b/pkg/extension/src/views/installed.html index 4325bf1de..13320132b 100644 --- a/pkg/extension/src/views/installed.html +++ b/pkg/extension/src/views/installed.html @@ -103,7 +103,10 @@ if (!consentCheckbox.checked) { alert('You must grant consent to use this extension.') + return } + + document.location.href = 'https://omnivore.app/landing/firefox-get-started' } document.getElementById('uninstall-link').addEventListener('click', function (e) {