feat: add hide/unhide agents from UI#451
Closed
danielaustralia1 wants to merge 2 commits intobuilderz-labs:mainfrom
Closed
feat: add hide/unhide agents from UI#451danielaustralia1 wants to merge 2 commits intobuilderz-labs:mainfrom
danielaustralia1 wants to merge 2 commits intobuilderz-labs:mainfrom
Conversation
Add min-h-0 to the kanban board flex container and its column children so that overflow-y-auto on column bodies can actually trigger. Without this, flexbox min-height:auto causes containers to grow unbounded instead of constraining height and enabling scroll. Fixes builderz-labs#376
Add ability to hide agents from the dashboard without deleting them. Hidden agents still receive heartbeats and exist in the DB — they are purely hidden from the default UI view. - Migration 042: adds `hidden` column to agents table - API: POST/DELETE /api/agents/[id]/hide to toggle visibility - GET /api/agents filters hidden by default, ?show_hidden=true to include - UI: "Show hidden" toggle in panel header, Hide/Unhide button on cards
cfb7623 to
0a7b4a7
Compare
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
hiddencolumn on theagentstable (migration 042)POST /api/agents/[id]/hide(hide) andDELETE /api/agents/[id]/hide(unhide)Changes
ALTER TABLE agents ADD COLUMN hidden INTEGER NOT NULL DEFAULT 0src/app/api/agents/[id]/hide/route.ts): workspace-scoped, operator auth requiredsrc/app/api/agents/route.ts): filters hidden agents by default,?show_hidden=trueto include themagent-squad-panel-phase3.tsx): hide/unhide buttons, "Show hidden" toggle, "hidden" badgesrc/store/index.ts): addedhidden?: numberto Agent interfaceTest plan
🤖 Generated with Claude Code