Unify Chat and Dashboard into single view#11
Merged
Conversation
- Remove Home.razor (Chat view) — Dashboard is now the sole interface at / - Dashboard grid view shows all sessions with compact message previews - Cmd+E expands any session to full Chat-identical view with: - Tool activity tracking, intent pills, error bars - Chat/Plan mode toggle, model selector, token usage display - Font size controls, message queue with individual remove - Session ID badge with copy, git branch/directory context - Tab/Shift+Tab cycles between sessions in both grid and expanded modes - Message windowing (25 most recent) with auto-load-on-scroll via IntersectionObserver - Draft text and cursor position preserved across expand/collapse transitions - Per-session state: streaming, tool activities, intent, errors, usage info - All 11 CopilotService events wired up (was 4) - Fix static field initialization crashes on Android/iOS (lazy properties) - Fix null reference in SessionErrorEvent handler - Fix reconnect path carrying over ResponseCompletion - Add git branch detection (reads .git/HEAD, refreshes on SessionIdleEvent) - Update copilot-instructions.md with full platform build/deploy commands - Add xUnit test project (91 tests) — separate commit in test project
…yles, fix stray div
PureWeen
added a commit
that referenced
this pull request
Feb 19, 2026
- Fix #9 off-by-one: CurrentIteration==0 check unreachable (now ==1) - Fix #10 incomplete: set IsCancelled on OperationCanceledException - Fix ConsecutiveErrors: reset to 0 after successful iteration - Fix #11 stale comments: update hash references to string equality - Fix #12 incomplete: mark pruned ghost evaluators in _closedSessionIds Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PureWeen
added a commit
that referenced
this pull request
Feb 20, 2026
Concurrency fixes: - Swap _sessions before wiring event handler on reconnect (#2) - Block ALL events from orphaned handlers, not just terminal (#3) - Add lock(_imageQueueLock) to all image queue mutations (#4) including dequeue, reinsert, ClearQueue, rename, close, dispose - Clear IsResumed on error and watchdog paths (#5) - Add RunContinuationsAsynchronously to remaining TCS (#6) Architecture/contract fixes: - Add [JsonIgnore] to ShouldWarnOnStall, LastSimilarity (#7) - Fix ConsecutiveErrors increment-before-check ordering (#8) - Set IsCancelled on all non-success termination paths (#10) including stall, error-stall, max-iteration, OperationCanceled, empty-assignment error stall, and single-agent StopReflectionCycle - Add session dir deletion for ghost evaluator pruning (#12) - Add CompletedAt to StopReflectionCycle (#12 related) Already correct (no changes needed): - #9: CurrentIteration == 1 check was already fixed - #11: Comments already reference string-based stall detection Documentation: - Update stall detection from 'hash match' to 'string equality' - Update error handling to show ConsecutiveErrors (not ConsecutiveStalls) - Add IsCancelled invariant to exit conditions table - Add 5 new invariants: orphan gate, reconnect ordering, image queue locking, IsResumed clearing, TCS creation - Document empty-assignment retry behavior 817/817 tests pass. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Removes the separate Chat view and makes Dashboard the sole interface. The Dashboard grid shows all sessions at a glance, and ⌘E (or clicking a session title) expands any session to a full-featured chat view identical to the old Chat page.
What changed
Home.razorandHome.razor.css(Chat view)/(default landing page)Other fixes included
??=properties)SessionErrorEventhandlerResponseCompletion.git/HEAD, refreshes onSessionIdleEvent)copilot-instructions.mdwith full build/deploy commands for all platforms