Skip to content

feat: Implement local bookmarking and save button#293

Open
d3f4ultt wants to merge 1 commit intoPocket:masterfrom
d3f4ultt:feat/local-custom-bookmarks
Open

feat: Implement local bookmarking and save button#293
d3f4ultt wants to merge 1 commit intoPocket:masterfrom
d3f4ultt:feat/local-custom-bookmarks

Conversation

@d3f4ultt
Copy link
Copy Markdown

@d3f4ultt d3f4ultt commented Jun 26, 2025

  • Adds core logic for saving and retrieving bookmarks by domain using chrome.storage.local (src/common/bookmarks.js).
  • Includes unit tests for bookmarking functions (src/common/bookmarks.test.js). Note: 4 tests fail due to a jest-chrome specific issue with lastError state persisting between tests.
  • Injects a floating "Save to MyBookmarks" button into all pages via a new content script (src/pages/bookmark/button.js).
  • Registers the new content script in manifest.json.
  • Fixes initial "jest: not found" error by ensuring dependencies are installed.

Goal

Insert purpose of pull request

Todos:

  • Outstanding todo
  • Completed todo

Implementation Decisions

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

- Adds core logic for saving and retrieving bookmarks by domain using chrome.storage.local (src/common/bookmarks.js).
- Includes unit tests for bookmarking functions (src/common/bookmarks.test.js). Note: 4 tests fail due to a jest-chrome specific issue with `lastError` state persisting between tests.
- Injects a floating "Save to MyBookmarks" button into all pages via a new content script (src/pages/bookmark/button.js).
- Registers the new content script in manifest.json.
- Fixes initial "jest: not found" error by ensuring dependencies are installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant