Skip to content

Conversation

@XFox111
Copy link
Owner

@XFox111 XFox111 commented Dec 19, 2025

Description

  • Added ability to import collections from a Netscape browser faviorites file
  • Added ability to export collections to a browser favorites file

Resolves: #203

Copilot AI review requested due to automatic review settings December 19, 2025 20:12
@XFox111 XFox111 self-assigned this Dec 19, 2025
@XFox111 XFox111 added enhancement New feature or request user-interface javascript Pull requests that update javascript code labels Dec 19, 2025
@XFox111 XFox111 added this to the Patch Tuesday. January 2025 milestone Dec 19, 2025
@XFox111 XFox111 linked an issue Dec 19, 2025 that may be closed by this pull request
1 task
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds import and export functionality for browser bookmarks in Netscape format, allowing users to transfer their collections to/from other browsers. The implementation includes parsing bookmarks from HTML files, converting them to the app's collection structure, and exporting collections back to standard bookmark format.

Key changes:

  • Added node-bookmarks-parser dependency for parsing Netscape-format bookmark files
  • Implemented bidirectional conversion between browser bookmarks and app collections
  • Added UI section in Storage settings for bookmark import/export operations

Reviewed changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
package.json Added node-bookmarks-parser dependency for bookmark parsing
package-lock.json Lockfile updates for new dependency and its transitive dependencies (cheerio, parse5, etc.)
locales/*.yml Added translations for bookmark import/export UI in 8 languages
features/netscapeBookmarks/utils/importBookmarks.ts Handles file selection, parsing, and importing bookmarks into collections
features/netscapeBookmarks/utils/exportBookmarks.ts Generates Netscape-format HTML from collections and triggers download
features/netscapeBookmarks/utils/convertBookmarks.ts Converts parsed bookmarks to app's collection data structure
features/netscapeBookmarks/layouts/BookmarksSection.tsx UI component with import/export buttons and result messaging
entrypoints/options/layouts/StorageSection.tsx Integrates BookmarksSection into storage settings page with reorganized layout
entrypoints/options/hooks/useOptionsStyles.ts Added messageBar style for consistent MessageBar display

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@XFox111
Copy link
Owner Author

XFox111 commented Dec 21, 2025

@SheepDomination I've made the changes. Can you check if this is what you wanted?
Just download an artifact for your browser and follow sideloading instructions (note, that if you use Firefox, you'll need to edit id in manifest.json, otherwise it may mess with your data)

Base automatically changed from next to main January 3, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request javascript Pull requests that update javascript code user-interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Import/export tabs with bookmarks HTML file

2 participants