Repository navigation
Conversation
The clipboard link row becomes the first Suggestion: a title, badge, glyph and an action. Keeps the calculator and web search out of ResultsView/LauncherPanel special cases. Also drops the spare ninth row, it was never shown.
3x3, (12+4)/2, 2^10, sqrt(2), 15% * 80. The result is the first row and Enter copies it. Small parser on the raw input, no dependency. Also adds SuggestionSource so the next features stay out of the panel.
This was referenced Sep 22, 2026
EnolCook
force-pushed
the
calculator
branch
from
September 22, 2026 15:30
8377498 to
748f387
Compare
This branch has not been deployed
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.
Builds on #5, only the last commit is new.
3x3,(12+4)/2,2^10,sqrt 16,15% * 80,2pi. The answer is the first row and Enter copies it and closes. Small recursive descent parser, no library. It only runs when the input has a digit and nothing but math-ish characters, and a bare number never gives a result, so2048or1passwordstill just find apps.Also adds
SuggestionSource, which the next PRs plug into.Screenshots