Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update description #176

Merged
merged 5 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion savvy-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<h3 align="left">
| <a href="https://chromewebstore.google.com/detail/savvy/jocphfjphhfbdccjfjjnbcnejmbojjlh"> Add to Chrome</a> |
<a href="https://www.getsavvy.so/chrome">Website</a> |
<a href="https://github.com/getsavvyinc/savvy-cli?tab=readme-ov-file#install-savvys-cli"> Get Savvy's CLI</a> |
<a href="https://getsavvy.so/discord">Discord</a> |
<a href="https://twitter.com/savvyoncall">Twitter</a>
</h3>
Expand All @@ -27,6 +28,16 @@ Add Savvy to your browser from the [Chrome Web Store](https://chromewebstore.goo

![Copy or Send to CLI](assets/images/export.png)

## Integration with Savvy's CLI

Savvy's chrome extension works seamlessly with Savvy's CLI.

You can send selected links to Savvy's CLI and attach them to commands captured by Savvy's CLI.

After running `savvy record history` or `savvy record` follow the prompts and when it's tiem to attach links, savvy will openn the extension for you.

![Attach Links](assets/images/cli-extension.png)

## Install from Source

Build the extension from source and load it into your browser as an unpacked extension.
Expand All @@ -35,7 +46,7 @@ You can follow the steps here: [How To Install Savvy's Extension From Source](ht

## Privacy

Savvy's chrome extension does not store any of your browsing history. It only reads your browsing history to surface relevant links.
Savvy's chrome extension does not store any of your browsing history. It only reads your browsing history to surface [relevant links.](https://github.com/getsavvyinc/savvy-cli/blob/main/savvy-extension/pages/side-panel/src/components/HistoryViewer.tsx#L51)

Selected links are copied to your clipboard or sent to Savvy's CLI.

Expand Down
Binary file added savvy-extension/assets/images/cli-extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion savvy-extension/chrome-extension/manifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const manifest = withSidePanel({
*/
name: 'Savvy',
version: packageJson.version,
description: 'Save each link from your debugging adventures',
description: 'Track and Share links used to resolve issues from your browser history',
host_permissions: ['http://localhost:8765/*'],
permissions: ['history'],
background: {
Expand Down
4 changes: 2 additions & 2 deletions savvy-extension/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Savvy",
"version": "1.0.4",
"description": "Save each link from your debugging adventures",
"version": "1.1.0",
"description": "Track and Share links used to resolve issues from your browser history",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions savvy-extension/pages/side-panel/src/components/Copy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const CopyURLs: React.FC<CopyURLsProps> = ({ selectedItems }) => {
</TabsList>
<TabsContent value="rawtext" className="flex w-full flex-col gap-8">
<div className="w-full overflow-scroll rounded-md border p-4">
<pre className="font-monospace max-h-[66vh] min-h-[33vh] font-thin">{getRawText()}</pre>
<pre className="max-h-[66vh] min-h-[33vh] font-mono font-thin">{getRawText()}</pre>
</div>
<DialogFooter>
<Button onClick={() => copyTextToClipboard(getRawText())} className="mt-4 w-full text-white">
Expand All @@ -140,7 +140,7 @@ export const CopyURLs: React.FC<CopyURLsProps> = ({ selectedItems }) => {
</Label>
</div>
<div className="w-full overflow-scroll rounded-md border p-4">
<pre className="font-monospace max-h-[66vh] min-h-[33vh] font-thin">{getMarkdownText()}</pre>
<pre className="max-h-[66vh] min-h-[33vh] font-mono font-thin">{getMarkdownText()}</pre>
</div>
<DialogFooter>
<Button onClick={() => copyMdToClipboard(getMarkdownText())} className="mt-4 w-full text-white">
Expand Down
Loading