feat(streamdeck): the discard key shows its clip, publish copies the link - #56
Merged
Merged
Conversation
…link Feedback from the first real Stream Deck test. **The discard key shows which clip it would throw away.** Its face is the newest clip's own thumbnail, dimmed, with a trash mark when a hold would discard it and a lock when GoodBit would keep it (a name, tags, notes, marks, a star or a public link, or discarding switched off). "Kept" after a five second hold was the first sign of any of that; in the case that prompted this, the newest clip was published. New route `GET /v1/latest/preview`, refreshed every five seconds, and the key only redraws when something changed. **The hold fires by itself at 1.2 s**, while the key is still down, and the key says "Hold" from the moment it is pressed, so nobody has to guess how long is long enough. **Publish copies the link.** GoodBit writes it to the clipboard the moment the upload lands (the key has no clipboard, and the URL only exists at the end); the key says "Uploading", asks `POST /v1/publish/status` every two seconds, then "Link copied". An already published clip has its link copied at once. **The stats key's count no longer sits on its icon**: the glyph is smaller and higher, and the title is bottom-aligned. **Settings stop showing the pipe name**, which nobody can act on. A row appears only when the switch is on and nothing is listening. The install toast is one line. Gates: `npm run check` 860; `streamdeck-check.mjs` exit 0, including the preview naming the newest clip with a thumbnail; `streamdeck validate` successful; the key faces rendered to PNG through resvg and looked at. Plugin 0.4.0: reinstall from Settings to get it. Co-Authored-By: Claude Opus 5.5 (1M context) <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.
Feedback from the first real Stream Deck test.
Gates:
npm run check860;streamdeck-check.mjspasses (incl. preview);streamdeck validateOK; key faces rendered and checked. Plugin 0.4.0: press Reinstall.🤖 Generated with Claude Code