From 04914e27efba599b8125ed7999b6822c3871c7ec Mon Sep 17 00:00:00 2001 From: Alex Yukhananov Date: Wed, 3 Aug 2022 21:51:08 -0600 Subject: [PATCH] minor updates to popup --- README.md | 30 +++++++++++++++++++++++++----- extension/content.js | 17 ++++++++++++++--- 2 files changed, 39 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c31cb4e..72bd071 100755 --- a/README.md +++ b/README.md @@ -1,18 +1,38 @@ # Curiously Curiously is a discovery engine and browser add-on dedicated to showcasing the best of the internet. -## Workflow -Development is generally done using the git-flow methodology. Work on the stage branch for integrating new functionality, master is deployment. Any fixes or major changes should be done in a new branch. Once tested, changes should be merged into the stage branch. +# Project Status +This project is in development and currently in alpha. -## Setup - Firefox +## Website +[Curiously](https://curiously.cc) + +# Setup + +## Supabase + +Implementing this repo requires instantiating a Supabase DB based on a particular schema and creating a series of stored procedures. If you need the scripts containing the schema and stored procedures, please feel free to contact me [here](curiouslyapp@gmail.com) + +## Environment + +Once you setup Supabase, you'll need to create an env.js file in the extension folder of this repo and input your public key and project URL using the format below. + +```js + const env = { + ENV_SUPABASE_CONNECT: "YOUR ANON/PUBLIC KEY", + ENV_SUPABASE_URL: "YOUR PROJECT URL HERE" + } +``` + +## Firefox 1. Go to: about:debugging#/runtime/this-firefox 2. Click: "Load Temporary Add-on", and open the manifest.json of Curiously 3. Curiously should appear in your browser toolbar -## Setup - Chrome +## Chrome 1. Go to: Chrome: chrome://extensions/ 2. Click "Load unpacked" and open the extension folder 3. Go to the bookmark toolbar and pin Curiously onto the toolbar ## Credit -A big thanks to Vyacheslav Basharov for providing the boilerplate and Russell Barnard from (https://www.youtube.com/channel/UC-h4Q0_5zTX66AxJucRmxRQ) for lending a hand. \ No newline at end of file +A big thanks to Vyacheslav Basharov for providing the boilerplate and Russell Barnard from [Rusty Zone](https://www.youtube.com/channel/UC-h4Q0_5zTX66AxJucRmxRQ) for lending a hand. diff --git a/extension/content.js b/extension/content.js index 732c39b..1d33e25 100755 --- a/extension/content.js +++ b/extension/content.js @@ -305,15 +305,26 @@ function showWelcomeInfo(request) { text = div('sax-welcome-text'); text.innerHTML = `

- The cat found something curious! + How do I use Curiously?


- You will find all sorts of hidden gems on the internet. + Simple! You can change links two ways.
- Engage your curiousity by clicking on the "C" icon in the toolbar, or press ${os === 'mac' ? "Alt+Shift+S" : "Alt+Shift+S"} + 1.) Click on the Curiously logo in the extension bar. +
+ 2.) Use the hotkey ${os === 'mac' ? "Alt+Shift+S" : "Alt+Shift+S"}

+

+ How do I stay in a category? +

+
+

+ When you change links, click on the disappearing Curiously GIF. This locks your category. + To exit, click on the logo next to the spinning spiral. +

+
Did You Know?