feat(ui): timeline variant, debounced search, and UTC timestamp fix#142
Merged
kevwilliams merged 1 commit intomainfrom Mar 26, 2026
Merged
Conversation
- Add `variant="timeline"` to ActivityFeedItem: flat bordered rows with colored action icon squares (blue=create, green=update, red=delete), dark mode variants included - Add expanded details panel to timeline variant via ActivityExpandedDetails with new `compact` prop (muted background, no redundant top border) - Fix formatTimestampFull to use UTC methods instead of format() with hardcoded 'UTC' label (affected both ActivityFeedItem and ActivityExpandedDetails) - Add debounced search (400ms) to ActivityFeedFilters with local state + refs pattern to avoid stale closures; add clear button and unmount cleanup - Remove `actions` from available filters (no backend facet support yet) - Fix filter-chip blue tint by replacing bg-secondary with bg-card/bg-accent (secondary has hue 240 in alpha theme causing blue appearance) - Remove compact card padding/border from ActivityFeed for cleaner embedding - Remove isFirst prop from ActivityFeedItem (no longer needed)
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
timelinevariant forActivityFeedItem: flat bordered rows with colored 32×32 action icon squares (blue=create, green=update, red=delete) with dark mode support. Replaces previous card-on-timeline-track layout.ActivityExpandedDetailsinline with a muted background. Newcompactprop onActivityExpandedDetailsremoves the redundant top border/margin when embedded this way.formatTimestampFullwas formatting in local browser time but labeling it "UTC". Fixed in bothActivityFeedItemandActivityExpandedDetailsusinggetUTC*methods.ActivityFeedFiltersnow debounces search input (400ms) with local state + refs to avoid stale closures. Includes a clear (✕) button and proper unmount cleanup.bg-secondaryreplaced withbg-card/hover:bg-accent— the alpha theme's--secondaryhas hue 240 which caused chips to appear blue when active.actionsfilter from the "Add filter" menu until backend facet support is available.ActivityFeedremoves card padding and border for cleaner embedding in detail tabs.Test plan
variant="timeline"renders flat rows with colored icon squaresactionsno longer appears in the Add Filter dropdownfeedvariant is unaffected🤖 Generated with Claude Code