feat: dashboard session layout improvements and approval actions#57
Merged
castellotti merged 2 commits intomainfrom Apr 14, 2026
Merged
feat: dashboard session layout improvements and approval actions#57castellotti merged 2 commits intomainfrom
castellotti merged 2 commits intomainfrom
Conversation
- Show tool call approval bar (Allow/Deny/Defer) inline in Dashboard event feed, matching the behavior already present in Log view - Fix 1-2 session cards not filling the full vertical space of the dashboard by decoupling the event feed item limit from the width-based chain capacity; events now fill and scroll the card height - For 3 active sessions, use a 2×2 grid where the focused session (or first session if none focused) spans both rows for maximized height, with the other two sessions stacking in the second column
- Add sessionId to PendingApprovalDTO (server + client) so approval matching in the Dashboard event feed is scoped to the correct session, preventing cross-session false matches when multiple sessions have concurrent pending tool calls with the same tool name - Remove unused height variable from DashboardView grid layout block - Cache orderedSessions.indexOf() result per card to avoid O(n) lookups on every render - Remove unnecessary nullish coalesce on toolName (typed as string) - Simplify isSpanning gridRow style to use undefined instead of spread
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
tool_call_pendingevent, matching the behavior already present in the Log view.Test plan
PreToolUseblocking hook and confirm Allow/Deny/Defer buttons appear in the Dashboard event feed