Repository navigation
Add currency conversion as you type and a Typing Test command - #7
Merged
Merged
Conversation
- Typing "100 usd to eur", "$20" or "50€" in the main search shows the converted amount (Return copies, ⌘Return pastes). Rates come from open.er-api.com, fetched on first use and refreshed every 6 hours. - "Typing Test" measures WPM and accuracy on random words, with live per-character highlighting and a results screen that marks mistakes. - Launcher: a `.custom` screen presentation that draws its own content and hides the search bar (keeping the field as the input), and a `.replace` outcome to swap the current screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
100 usd to eur,1,250 gbp in inr,$20or50€in the main search shows the converted amount. Return copies it and ⌘Return pastes it. If you don't name a target currency, it converts to your Mac's regional currency. Rates come from open.er-api.com (free, no key). They're downloaded on first use, refreshed every 6 hours and kept only in memory..customscreen presentation (CustomViewScreen) for screens that draw their own content. It hides the search bar but keeps the field focused as the input and keeps the back button..replaceaction outcome that swaps the current screen for a new one.Testing
swift test: 145 tests pass, including new ones for currency parsing, conversion, decoding the rates response, and typing-test scoring.scripts/bundle.sh): the typing screen and results screen, checked against screenshots.🤖 Generated with Claude Code