GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(app): drive the branch picker and wordmark lodger through state machines by Hona · Pull Request #61986 · anomalyco/opencode Conversation
Member
Two New Session lifecycles move into explicit state machines: the base-branch picker ( Bugs fixedBranch picker (
Wordmark lodger (
Branch picker machinetype BranchPickerState = | { status: "inactive"; attempt } | { status: "loading"; directory; attempt; open: boolean } // open = held open until branches arrive | { status: "ready"; directory; attempt; initial: BranchList; refreshing: boolean; popover: "closed" | "open" | "outside" } | { status: "disposed" } stateDiagram-v2
[*] --> inactive
inactive --> loading: target.changed(dir) / fetch
loading --> ready: loaded | failed | timed-out(attempt) / abort on timeout
ready --> ready: open.change(true) / fetch (refreshing)
ready --> ready: branches.synced / abort refresh
loading --> loading: target.changed(new dir) / abort + fetch, open=false
ready --> loading: target.changed(new dir) / abort + fetch
loading --> inactive: target.changed(undefined) / abort
ready --> inactive: target.changed(undefined) / abort
inactive --> disposed
loading --> disposed: / abort
ready --> disposed: / abort
Wordmark machinetype WordmarkState = | { status: "board" } // static pin board story, no lodger | { status: "hidden" | "drag" | "snap" } | { status: "show" | "hop" | "pack"; board; cue } // cue = timed steps already run | { status: "idle" | "return"; board } | { status: "carry"; board; over: boolean } | { status: "game"; board; ball; ballStage: "active" | "returning" | "landed" }
Deviations from the design
Product calls
Notes
Visual<svg xmlns="http://www.w3.org/2000/svg" width="240" height="72" viewBox="0 0 240 72" fill="none"> <style> .pop{animation:pop 4s infinite} .dots{animation:dots 4s infinite} .retry{animation:retry 4s infinite} @keyframes pop{0%,8%{opacity:0}12%,100%{opacity:1}} @keyframes dots{0%,12%{opacity:.6}50%,100%{opacity:0}} @keyframes retry{0%,50%{opacity:0}56%,92%{opacity:1}100%{opacity:1}} @media (prefers-reduced-motion:reduce){.pop,.dots,.retry{animation:none}.dots{opacity:0}} </style> <rect x="16" y="10" width="76" height="18" rx="4" stroke="currentColor" stroke-opacity=".5"/> <text x="26" y="23" font-family="sans-serif" font-size="10" fill="currentColor" fill-opacity=".8">from dev</text> <path d="M80 17l3 3 3-3" stroke="currentColor" stroke-opacity=".6"/> <g class="pop"> <rect x="16" y="32" width="120" height="34" rx="5" stroke="currentColor" stroke-opacity=".35"/> <line x1="16" y1="46" x2="136" y2="46" stroke="currentColor" stroke-opacity=".2"/> <circle cx="25" cy="39" r="3" stroke="currentColor" stroke-opacity=".5"/> <g class="dots" fill="currentColor"> <circle cx="60" cy="57" r="1.6"/><circle cx="68" cy="57" r="1.6"/><circle cx="76" cy="57" r="1.6"/> </g> <text class="retry" x="24" y="60" font-family="sans-serif" font-size="9" fill="currentColor" fill-opacity=".85">Try again</text> </g> <text x="160" y="40" font-family="monospace" font-size="9" fill="currentColor" fill-opacity=".5">10 s</text> <path d="M150 44h40" stroke="currentColor" stroke-opacity=".3" stroke-dasharray="2 3"/> </svg>
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level. An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I found no blocking issues. I couldn't run this in a browser: the component spec's Chromium wouldn't start in my sandbox (missing system libraries), and the change is in the web app, so a TUI run doesn't apply. The 75 Reading the code, each listed bug is handled by the machines:
The change follows the state-machine rules in Public API: unchanged; everything is internal to It would still help if someone could run the new
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page.
3 of 6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reviewers
Copilot code review
Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Uh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||||||||||||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |