Repository navigation
Movable business cards, segmented draggable bars, Owned/Not owned toggle - #34
Merged
Merged
Conversation
…roperty name Replaces the "Own <name>" checkbox in Settings and the Businesses gear. The button uses aria-pressed, filled accent when owned, muted outline when not. Closes #31 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying lsos with
|
| Latest commit: |
8bfbd26
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b2d86dad.lsos-2qs.pages.dev |
| Branch Preview URL: | https://claude-31-owned-toggle.lsos-2qs.pages.dev |
Meters show five segments (gta.wiki, Business Supplies; Bunker seen in play). In the resync controls each bar is a slider: drag snaps to whole percent and segment edges, arrows/Page keys/Home/End step it, and a run of slider changes on one bar is one Undo. Typing stays for exact values. Closes #32 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…keep a plain bar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The order is saved as property ids (state version 5, with a migration from version 4). Pointer events cover mouse and touch; a focused title bar moves its card with the arrow keys and Home/End. Closes #30 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Empty segments had too little contrast against the panel. Each segment is now its own box, a little taller, with a --track-edge outline at 3.4:1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…under it Moving a card no longer shifts every card in between along the rows. The lifted card sticks to the pointer, its slot stays outlined, only the card it lands on moves, and it glides into place on release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pointer resting on the border between two cards flicked them back and forth. A swap now needs the pointer 20% inside the target, measured on the layout so cards still sliding do not count. 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.
What this does
Three UI changes, one per issue:
src/lib/order.ts,Panelgets an optionalmoveprop. Decision 014.--track-edge, 3.4:1 on the panel). Sources: gta.wiki Business Supplies for the MC businesses; the Bunker's segments were seen in play. Collapsed cards keep the plain bar. Each bar is also a slider. A drag rounds to whole percent and snaps to a segment edge from up to 1.5% away. Arrow keys step 1%, Page Up/Down jump to the next segment edge, Home/End go to 0/100%. A run of drags and key steps on one bar is a single Undo. Typing still works for exact values. Decision 010 is updated.aria-pressed. Decision 011 and#/kitare updated.Closes #30
Closes #31
Closes #32
How to check it
#/kitin dev shows the toggle buttons, a segmented meter, and draggable bars and cards.Checklist
npm run verifypassesBAR_SEGMENTSinsrc/data/business-events.ts)🤖 Generated with Claude Code