Repository navigation
feat(tui): show recent activity in inspector panel - #211
Merged
Merged
Conversation
This was referenced Aug 4, 2026
Closed
mohitranka
added a commit
that referenced
this pull request
Aug 21, 2026
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
mohitranka
added a commit
that referenced
this pull request
Sep 11, 2026
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
self.activity(ActivityFeed) — the same feed already backing the bottom panel's Activity tab and the Runtime tab's "Recent" list, so no second event-tracking mechanism was introduced.status_glyph::status_dot()compact variant (●, colored viatheme::ok/warn/danger/info), reusing the existingstatus_glyphmodule rather than duplicating status→color logic. AddedStatus::Infoandimpl From<FeedbackSeverity> for StatussoActivityItem::severitymaps straight onto it.inner.width, threaded throughSidebarWidget::lines).SidebarModel.activitychanged fromVec<String>toVec<SidebarActivityEntry>(summary+status) so the color survives fromActivityFeedthrough to render; updated the one production call site (app/render.rs) and the Runtime tab's existing "Recent" list to match.kv_aligned,TASK_KEY_WIDTH) so values line up vertically — previously each row's value started wherever its label happened to end.layout::MIN_HEIGHT(18): the panel's existinglines.truncate(height)already guards against overflow, favoring the key/value block over the newer activity list when height is tight; added a test rendering at a constrained height to confirm no panic and that core content survives.Test plan
cargo fmt --all -- --checkcargo test --package forge-tui --lib(707 passed), including new tests:status_dot_uses_plain_semantic_colors,feedback_severity_maps_to_status,task_lines_show_recent_activity_most_recent_first_with_dots_and_ellipsis,task_lines_cap_recent_activity_at_eight_entries,task_key_value_rows_align_values_in_a_fixed_column,task_view_truncates_gracefully_at_minimum_supported_height.git diff --check