Automatically download entered codes and match CLI colors - #29
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
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. Comment |
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.
Entering a share code now requests the numeric keyboard on mobile and receives and downloads the file automatically. Five-digit codes connect immediately; four-digit codes connect after an 800 ms pause. The inline receiver skips acceptance and save-picker dialogs, uses the existing disk staging/download path, and keeps a download link when browser policy blocks the automatic download. Standalone private links retain explicit acceptance.
CLI progress uses the website's burnt orange, ember, warm paper, and muted colors. The shared CLI accent also changes from purple to orange, while NO_COLOR and nonterminal output remain supported.
Validation: JavaScript and Go tests, typecheck, production build, deployment dry run, browser-to-browser exact-byte download by typed code and QR, browser-to-CLI bundle transfer, and a real CLI-to-browser automatic download in the collaborative preview. Updated the browser and agent verification scripts to assert downloads without extra clicks.