Skip to content

Refine chat list styles and scrolling behavior#110

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

Refine chat list styles and scrolling behavior#110
kubaflo merged 3 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.
@kubaflo kubaflo merged commit e97650f into main Feb 14, 2026
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