Skip to content

feat(output): row selection, copy, context menu, channel persistence, and outputLogs RPC#145

Merged
davideweaver merged 2 commits into
mainfrom
feat/output-panel-improvements
Jun 29, 2026
Merged

feat(output): row selection, copy, context menu, channel persistence, and outputLogs RPC#145
davideweaver merged 2 commits into
mainfrom
feat/output-panel-improvements

Conversation

@davideweaver

Copy link
Copy Markdown
Contributor

Summary

  • Row selection & copy — click to select rows, Cmd+Click to toggle, Shift+Click for range; selected rows highlighted with accent color. Cmd+C and a toolbar Copy button copy them as HH:MM:SS [LEVEL] message plain text. Clicking empty space clears selection.
  • Context menu — right-click anywhere in the output list shows Copy (with row count when rows selected) and Clear, using ctx.ui.showMenu.
  • Channel persistence — selected channel key stored per workspace via ctx.storage.workspace so it survives refreshes and workspace switches; subscribes to storage changes to react to hydration and workspace switches.
  • Remove from dock + menu — Output no longer appears in the + panel menu; it's a singleton already accessible via the status bar button and View menu.
  • outputLogs RPC op — new automation bridge op reads and filters output channel entries (by channel, level, substring search, limit). Returns ISO-timestamped entries plus a channel discovery list. Typed client method added to SiloAutomation; docs/automation.md and verifier-gui skill updated.

Test plan

  • Click a row → selected (accent highlight); click again → deselected
  • Cmd+Click → multi-select; Shift+Click → range select
  • Cmd+C with rows selected → clipboard contains formatted text
  • Copy toolbar button disabled with no selection; enabled + shows count with selection
  • Right-click → context menu with Copy and Clear
  • Switch channels → selection clears
  • Switch workspaces → channel dropdown restores the last-used channel for that workspace
  • Output no longer appears in the dock + menu
  • curl the outputLogs op against a running dev app and confirm filtered results
  • pnpm test green (26 output-model tests pass including new copyEntries coverage)

🤖 Generated with Claude Code

davideweaver and others added 2 commits June 29, 2026 15:31
… and outputLogs RPC op

- Row selection: click to select, Cmd+Click to toggle, Shift+Click for range;
  Cmd+C and toolbar Copy button copy selected rows as formatted plain text
- Right-click context menu with Copy (shows row count) and Clear actions
- Selected channel key persisted per workspace via ctx.storage.workspace so
  it survives refreshes and workspace switches
- Remove Output from the dock + menu so it only appears via the status bar
  button and View menu (singleton panel, not multi-instance)
- outputLogs automation bridge op: read and filter output channel entries
  by channel key, level, search string, and limit — lets Claude and external
  tools query logs without scraping the UI; typed client method + docs updated

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@davideweaver davideweaver merged commit cc1272b into main Jun 29, 2026
3 checks passed
@davideweaver davideweaver deleted the feat/output-panel-improvements branch June 29, 2026 19:40
davideweaver added a commit that referenced this pull request Jul 1, 2026
- Format markdown tables to match Prettier's printWidth 80 rules
- Restore .githooks/ pre-commit hook (deleted in PR #145) which auto-formats
  staged files with Prettier via lint-staged — this is the root cause of the
  recurring CI format failures
- Also restore commit-msg hook for Conventional Commit enforcement
davideweaver added a commit that referenced this pull request Jul 1, 2026
* feat: add nightly release channel alongside stable

- Add nightly builds from main via GitHub Actions (daily at 3am UTC)
- Nightly runs as a separate app (com.silo.desktop.nightly), side-by-side with stable
- Auto-generated version: 0.x.y-nightly.YYYYMMDD.githash
- Configurable via tauri.nightly.conf.json and release-nightly.yml workflow
- Document release channels in docs/guide and roadmap
- Add ADR 0024 for release channels decision
- Update CONTRIBUTING.md with release channel info
- Add nightly_data_path() CLI command for nightly-specific data dirs
- Expand user config tests for the new channel surface

* fix: prettier formatting for markdown files and restore .githooks/

- Format markdown tables to match Prettier's printWidth 80 rules
- Restore .githooks/ pre-commit hook (deleted in PR #145) which auto-formats
  staged files with Prettier via lint-staged — this is the root cause of the
  recurring CI format failures
- Also restore commit-msg hook for Conventional Commit enforcement
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