Repository navigation
feat: show each project's T3 icon in the dashboard and while its VM sleeps - #105
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
The dashboard showed a folder for every repository. T3 Code shows each project's own icon, but only an awake VM can serve the logo, so T3 Code also lost it while the VM slept.
VM Bridge now keeps a copy of each project's logo. While the project's primary VM is awake, VM Bridge asks that VM's T3 for the logo, the same way T3 clients do. It downloads the file only when T3's file name changes, and keeps up to 512 KB in a new
project_iconstable.assets.createUrlfor a project logo answers with the kept copy. Its URL is named by the logo's SHA-256 and is sandboxed like other assets. Picked icons already reached T3 while asleep, through the saved shell.Checked with
bun run check(551 pass),bun run test:workers, and a throwaway bridge seeded with a logo, an emoji and a name-only project: