Skip to content

Add ChatStyle option (Normal/Minimal)#113

Merged
kubaflo merged 4 commits intomainfrom
kubaflo/dev/agents
Feb 14, 2026
Merged

Add ChatStyle option (Normal/Minimal)#113
kubaflo merged 4 commits intomainfrom
kubaflo/dev/agents

Conversation

@kubaflo
Copy link
Collaborator

@kubaflo kubaflo commented Feb 14, 2026

No description provided.

Show available agents in the expanded session UI and add backend discovery logic. ExpandedSessionView now displays an agents count next to skills and provides a ShowAgentsPopup that renders a styled popup with agent name, source and truncated description. CopilotService gains DiscoverAvailableAgents which scans project agent directories (.github/agents, .claude/agents, .copilot/agents) for Markdown files, reusing the existing frontmatter parser and populating AgentInfo records while deduplicating names and catching errors. Adds AgentInfo record and safe directory/file handling.
Track unread assistant messages and surface system notifications when agents finish. Introduces LastReadMessageCount and UnreadCount to AgentSessionInfo and updates CopilotService to set last-read counters when sessions are switched or messages arrive. Adds UI unread badges to SessionListItem and SessionCard with corresponding CSS, and adjusts ExpandedSessionView layout spacing. Integrates a notification manager: App now requests INotificationManagerService initialization, Settings exposes a toggle to enable notifications and initializes the service when enabled, and CopilotService sends a trimmed completion notification (with permission checks) when an agent completes. Also includes a utility to build a concise notification body from assistant content.
Adjust chat message list UI and scrolling logic. CSS: tweak compact and full modes (gaps, font sizes, paddings, radii, background/opacities), reduce avatar sizes, center system text, refine tool/reasoning and action-box styling for a denser, cleaner layout. Dashboard.razor: pass MessageCount into SessionCard (using cardMessageCounts with fallback) and limit the auto-load IntersectionObserver selector to messages within expanded views. wwwroot/index.html: change restoreDraftsAndFocus to auto-follow only expanded '.messages' (with near-bottom tracking) while '.card-messages' (grid cards) only scroll to bottom on init and do not fight user scrolling.
Introduce a ChatStyle enum and wire a new chat style preference through the app. ConnectionSettings and CopilotService now store ChatStyle (default Normal). UI: Settings page gains a Message style picker with previews and handlers to save/apply the style. Components (ChatMessageList, SessionCard, ExpandedSessionView, Dashboard) accept a Style parameter and pass the selected style to the message list. Styling: update chat CSS for full-mode bubbles (spacing, paddings, borders, avatar sizes) and add a new .style-minimal set of rules for a full-width, no-bubble minimal layout. Also include small layout/CSS tweaks and labels/helpers (GetStyleLabel, SetChatStyle).
@kubaflo kubaflo merged commit 96f27e4 into main Feb 14, 2026
@PureWeen PureWeen deleted the kubaflo/dev/agents branch February 22, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant