Skip to content

Board UI fixes and Outputs reform - #25

Merged
ayyshim merged 16 commits into
mainfrom
canopy/board-ui-fixes-and-outputs-reform
Nov 21, 2026
Merged

ayyshim merged 16 commits into
mainfrom
canopy/board-ui-fixes-and-outputs-reform

Conversation

@ayyshim

@ayyshim ayyshim commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Handover: board UI fixes and Outputs reform (G-26)

What you asked for

Board

  • Long titles and text should not change the size of board nodes.
  • Minimap colours should match the board.

Outputs

  • The header Outputs count should only include outputs from goals still on the board.
  • The Outputs button should open a file manager with search and filters instead of the bottom sheet. You also asked for a prototype first.

What changed

All changes are on the goal branch canopy/board-ui-fixes-and-outputs-reform, in 14 small commits. None of them has a Claude co-author line.

Prototype (approved)

Tommy built a clickable HTML prototype of the file manager, and you approved it. Its files (index.html and an assets folder) are attached to G-26. The real version follows it.

Long text in board nodes

  • Goal cards: the title stays on one line and ends in "…".
  • Task cards: the title gets two lines, and long unbroken words wrap.
  • Staff cards: names and model lines are cut off neatly, and the MANAGER tag stays visible.
  • Smaller cards: session, pool, account and folder cards clip long text the same way.
  • Tooltips: hover over a cut-off title or name to see the full text.
  • Card sizes: they did not change, so the lines between cards still line up.

The styles are in frontend/src/app/globals.css, and the tooltips are in NodeView.tsx.

Your screenshot: the outputs grid in a chat's Activity tab no longer draws over the session log. The log keeps its full height, and long lines in it wrap.

Minimap colours

Each block on the minimap now uses the same fill, border and coloured bar as its card on the board. For example, task blocks are amber while in progress and green when done, and the manager block has its team-colour bar. This works in light and dark mode. The colour rules are in frontend/src/lib/minimap.ts, and the drawing is in Minimap.tsx.

Outputs count

The header badge now counts only new or needs-review outputs from goals that are not done. Outputs from finished goals, and outputs that don't belong to any goal, are left out. See frontend/src/lib/board/outputs.ts.

Outputs file manager

The bottom sheet is gone. The file manager opens from the header Outputs button, from the o key, or from the "+N" outputs bubble on a task. Its code is in frontend/src/components/board/outputs/FileManager.tsx and frontend/src/lib/outputs/filter.ts.

  • Sidebar: All outputs, Needs review, New, a Goals > Tasks folder tree, and Staff.
  • Search: it matches the title, file name, task, goal, staff, type, status and version notes. Press / to jump to it.
  • Filters:
    • goal, task, staff, type, status, model and file size
    • created and updated dates, with Today, 7-day and 30-day shortcuts
    • each filter shows as a chip you can remove, and "Clear all" removes them all
  • Views:
    • shows active goals by default, with Active, Finished and All switches
    • group by goal, task, staff, type or none
    • sort, and a grid or list view
  • Preview: a side pane with details, Open, Show on tree and the version history. Open uses the existing output viewer.
  • Links: your filters are saved in the page address (for example ?outputs=1&oq=logo). Reloading or sharing the link opens the same view.
  • Phone: the folders become a drawer and the preview slides up from the bottom.
  • Chat Activity tab: it now shows the 4 newest outputs, plus a "See all N" link that opens the file manager for that staff member.
  • Closing: Escape closes the file manager.

Two fixes outside the goal

  • Build fix: next build was failing because of the line export const dynamic = "force-static" in frontend/src/app/manifest.ts. That line came in with the earlier app-install (PWA) work and clashes with a setting in this version of Next.js. Trevor removed it, and the build passes now.
  • Ignored folder fix: the repo's .gitignore ignored every folder named outputs, so the file manager code was never committed at first. Trevor recovered the files and added an exception for frontend/src/**/outputs/.

How to check it

  1. Start the app (make infra, make hub, make web) and open http://localhost:8000.
  2. Long text: give a goal and a task very long titles, including one long word with no spaces. The cards should keep their size and show the full text on hover.
  3. Minimap: press M to show it. Compare its colours with the board in light and dark mode.
  4. Count: finish a goal that has outputs. The header badge should go down.
  5. File manager: click Outputs and try:
    • search, a few filters together, removing a chip, and Clear all
    • the Active, Finished and All switches, group by, sort, and grid and list views
  6. Links: reload the page with filters set. The same view should come back.
  7. Viewer and tree: open an output, click an older version, and use "Show on tree". (Not yet tested in a browser.)
  8. Chat: open a staff member's chat, go to Activity, and click "See all". (Not yet tested in a browser.)
  9. Phone: narrow the window to phone width and check the drawer, filters and preview.
  10. Code checks: in frontend/, run tsc --noEmit, eslint, pnpm test and next build. All four pass on the branch, with 98 tests.

What isn't done or is risky

  • Not checked on your real board: the hub on :8080 was down while we worked. Trevor tested everything on a dev server with fake data, and every check passed.
  • Not tested in a browser:
    • the output viewer opened from the file manager
    • "Show on tree"
    • the Activity tab's "See all" link
  • Install change: removing force-static is needed for the build, but nobody has checked that the app still installs to a phone or desktop. To check, open /manifest.webmanifest and try "Install app".
  • Main may not build either: the force-static line is already on main, so main's next build probably fails too until this branch is merged.
  • Outputs with no goal: these show only under "All" in the file manager and are not counted in the badge.
  • Workspace summary note: this note still counts all outputs, including those from finished goals. Only the header badge was changed.
  • Large workspaces: the file manager filters outputs that are already loaded with the board. That is fine for now, but it may feel slow with thousands of outputs.
  • Small gaps:
    • On the minimap, the pool block is plain grey instead of light teal.
    • The g and n shortcuts may type a letter into the box that opens, the same way o used to. The o shortcut is fixed; the other two are untouched.
  • Install command: pnpm install fails on this repo's lockfile, so the team used npm install --no-package-lock for checks. No lockfile change was committed.

What you need to decide

  1. Merge: should we open a pull request to main for this branch? It also fixes the build error on main.
  2. Install check: are you happy to keep the force-static removal? Before merging, check that the manifest still loads and the app still installs.
  3. Outputs with no goal: should they stay under "All" only, or get their own "No goal" folder in the sidebar?
  4. Summary note: should the "Workspace summary" note also count only outputs from active goals, to match the badge?
  5. Follow-ups: should we test the viewer, "Show on tree" and "See all" on your real board, and fix the g and n shortcuts, as a small follow-up goal?

@ayyshim
ayyshim merged commit 6472c8e into main Nov 21, 2026
2 checks passed
@ayyshim
ayyshim deleted the canopy/board-ui-fixes-and-outputs-reform branch November 21, 2026 12:12
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