Add dark mode, bookmarks bar mirror, local favicon loading and overall polishing#30
Open
el16z3c wants to merge 4 commits into
Open
Add dark mode, bookmarks bar mirror, local favicon loading and overall polishing#30el16z3c wants to merge 4 commits into
el16z3c wants to merge 4 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR polishes Tab Out’s new-tab experience with three user-facing improvements:
It also removes a few sources of visual friction: the duplicate Tab Out warning banner, the footer branding strip, heavy re-render animations during live updates, and CSP warnings from inline handlers.
Why
Tab Out is already strong as a focused tab dashboard, but replacing Chrome’s new tab page removes some conveniences users expect from the native page. The biggest one is immediate access to bookmarks. Since Chrome does not expose a way for an extension new-tab override to force the native bookmarks bar to appear, this PR mirrors the user’s actual Bookmarks Bar folder via
chrome.bookmarks.Dark mode also matters for a new-tab replacement because users see it constantly, often at night or between tasks. The implementation keeps the existing warm editorial look rather than introducing a separate visual language.
Finally, the previous favicon approach used Google’s favicon service. This PR switches to Chrome’s built-in
_faviconendpoint so favicon rendering stays local to the browser cache.Changes
Dark mode
extension/theme.jsto apply the saved or system theme before CSS paintschrome.storage.locallocalStorageto avoid a flash on new-tab loadBookmarks Bar mirror
chrome.bookmarksMore/Lesscontrol when bookmarks overflowLocal favicon loading
https://www.google.com/s2/faviconswith Chrome’s extension favicon endpointfaviconpermissionLive refresh and visual polish
Tab Outdomain cardCSP cleanup
onerrorhandlers from generated imagesonerrorfrom optionalconfig.local.jsapp.jsNew permissions
This PR adds:
bookmarks: required to read the user’s Bookmarks Bar folderfavicon: required for Chrome’s local_faviconendpointNo server, account, or external API is introduced.
Validation
Manually verified:
MorebuttonTab OutcardLocal checks run: