feat: SyncDot indicator for local-only and in-flight sync states#155
Merged
feat: SyncDot indicator for local-only and in-flight sync states#155
Conversation
Design for replacing Ghostty/iTerm2/Terminal.app launchers with ttyd-based embedded terminals in the dashboard. Covers process management, DB changes, slide-out panel UI, security model, and lifecycle handling. Tracks issue #149.
4 milestones, 11 tasks with test checkpoints between each milestone. Covers DB migration, ttyd process manager, terminal launcher removal, launch flow rewiring, settings cleanup, slide-out terminal panel UI, and E2E test updates.
Add a small colored dot component to visually communicate whether data is local-only (amber) or in-flight to GitHub (pulsing green). Absence of the dot means synced — no indicator needed for the expected state. - SyncDot component with Record<SyncStatus, string> for compile-safe CSS class mapping and prefers-reduced-motion support - ListRow: amber dot on draft rows replaces plain "local draft" text - CommentComposer: pulsing green dot during comment submission with 1.5s minimum display (one full pulse cycle) - LabelManager: pulsing green dot during label toggle with same minimum display - CLAUDE.md: document browser access policy (Playwright CLI only)
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
SyncDotcomponent — small colored dot indicating sync status: amber for local-only data, pulsing green for in-flight to GitHub, nothing for syncedListRow(draft rows),CommentComposer(comment submission), andLabelManager(label toggle)Record<SyncStatus, string>map provides compile-time safety for CSS class lookups — adding a new status variant without a CSS class is a type errorprefers-reduced-motionsupport disables the pulse animation for accessibilityTest plan
pnpm turbo typecheckpasses