Skip to content

feat: gemini capsule based themes, lagrange-like#30

Merged
hugmouse merged 12 commits intomasterfrom
feat/lagrange-style-themes-v2
Mar 4, 2026
Merged

feat: gemini capsule based themes, lagrange-like#30
hugmouse merged 12 commits intomasterfrom
feat/lagrange-style-themes-v2

Conversation

@hugmouse
Copy link
Owner

@hugmouse hugmouse commented Mar 3, 2026

By copy-and-pasting from Lagrange codebase I was somewhat able to reproduce similar styling of gemini pages. A lot of TODOs still.

Also, had to cherry-pick this because I forgot to change branch again.

Summary by CodeRabbit

  • New Features

    • Capsule identities: automatic icon & color generation from URLs; shown in tabs, tab cards, and content labels.
    • Richer link metadata: resolved destinations, protocol detection, label icons, and "Open in new tab" action.
    • Improved link icons/descriptions and a resolver for consistent glyphs.
  • Performance

    • Lazy tab loading for faster startup.
    • In-memory certificate caching for quicker certificate access.
  • UI/UX

    • Capsule-driven theming applied across content, backgrounds, and typography; updated text styles and layouts.
  • Localization

    • New strings for link actions, downloads, and empty-tab messaging.

By copy-and-pasting from Lagrange codebase I was somewhat able to reproduce similar styling of gemini pages. A lot of TODOs still.
@hugmouse hugmouse added this to the Lagrange feature parity milestone Mar 3, 2026
@hugmouse hugmouse self-assigned this Mar 3, 2026
@coderabbitai

This comment was marked as resolved.

@coderabbitai coderabbitai bot added the enhancement New feature or request label Mar 3, 2026
coderabbitai[bot]

This comment was marked as resolved.

hugmouse added 8 commits March 4, 2026 08:25
Malformed `=>` lines with no URL currently generate a link entry with an empty target.
At least some context will be there!
`canGoBack()` and `canGoForward()` currently read shared navigation state outside the lock used for updates, which can cause inconsistent back/forward functionality
Allows me to just reuse this thing in 2 places in codebase
coderabbitai[bot]

This comment was marked as resolved.

hugmouse added 3 commits March 4, 2026 09:08
`cachedCertificates` is mutated and read from multiple paths without synchronization
In theory, it might try to reload perfectly valid empty gemini pages
@hugmouse
Copy link
Owner Author

hugmouse commented Mar 4, 2026

@coderabbitai review

@coderabbitai
Copy link

coderabbitai bot commented Mar 4, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@hugmouse hugmouse merged commit d697ca5 into master Mar 4, 2026
2 checks passed
@hugmouse hugmouse deleted the feat/lagrange-style-themes-v2 branch March 20, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant