Files
PaperClipAI/ui
30c8aa1cc1 fix(ui): remove workspace from task and inbox filters (#15788)
updated 14 checked lines
erclip is the open source app people use to manage AI agents for work
> - The board shows tasks in a list and in the inbox
> - Each of those screens has a filter menu
> - The filter menu includes a Workspace section
> - The list already shows the workspace name, and the user can group by
workspace
> - This pull request removes Workspace from those filter menus
> - The benefit is a shorter filter menu. The workspace label and the
group option stay

## Linked Issues or Issue Description

No public GitHub issue exists for this change. This description follows
the enhancement template.

Related pull request: Refs #15403. That pull request also edits the task
list. It does not remove the Workspace filter.

**What existing behavior does this improve?**

The filter menu on the task list and the inbox.

**Subsystem affected**

ui/ — React + Vite board UI

**Current behavior**

The filter menu shows a Workspace section when isolated workspaces are
on. The user can select one or more workspaces there. The task list also
shows the workspace name as a label. The user can group the list by
workspace. A workspace value in the page address also limits the list.

**Proposed behavior**

The filter menu does not show Workspace. The workspace name stays in the
list. Group by workspace stays. A workspace value in the page address
still limits the task list. A click on a workspace name in the list
still limits the list to that workspace.

**Reason and benefit**

The filter menu repeats a choice that the list and the group control
already give. Removal of that section makes the filter menu shorter.
Saved links that include a workspace value still open the same limited
list.

**Breaking changes**

The filter menu no longer lets the user pick a workspace. A saved
workspace query still works. Decision filters are not part of this
change.

## What Changed

- Remove the Workspace section from the task list filter menu
- Remove the Workspace section from the inbox filter menu
- Keep workspace labels, group by workspace, and workspace query scope
- Update the filter menu test so it checks that Workspace is absent
- Drop a saved workspace selection when preferences load, and keep the
other saved filters

## Verification

- Run `corepack pnpm exec vitest run --config vitest.config.ts
src/components/IssueFiltersPopover.test.tsx
src/components/IssuesList.test.tsx src/pages/Inbox.test.tsx
src/lib/issue-filters.test.ts src/components/IssueColumns.test.tsx` from
`ui/`
- Result: 5 files passed, 111 tests passed
- Open the task list filter menu. Confirm that Workspace is not a
section
- Open the inbox filter menu. Confirm that Workspace is not a section
- Open a task list with a workspace query. Confirm that the list shows
only tasks for that workspace
- Group the task list by workspace. Confirm that the groups still appear
- A browser check of the live screens was not run in this workspace

## Risks

- Low risk. The change removes a menu section. It does not change filter
matching
- A user who used the menu to pick a workspace must use the workspace
label or the page address
- Pull request #15403 also edits the task list. Merge order can cause a
small conflict in `ui/src/components/IssuesList.tsx`

ROADMAP.md does not plan this filter removal. This change does not add a
core feature.

## Model Used

- Provider: xAI
- Model: Grok 4.7
- Capabilities: tool use, code edits, and test execution

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this PR does not duplicate
planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked
them above
- [x] I have either (a) linked existing issues with `Fixes: #` / `Closes
#` / `Refs #` OR (b) described the issue in-PR following the relevant
issue template
- [x] I have not referenced internal/instance-local Paperclip issues or
links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip`
URLs)
- [x] My branch name describes the change (e.g. `docs/...`, `fix/...`)
and contains no internal Paperclip ticket id or instance-derived details
- [x] I have run tests locally and they pass
- [x] I have added or updated tests where applicable
- [x] I have updated relevant documentation to reflect my changes
- [x] I have considered and documented any risks above
- [x] All Paperclip CI gates are green
- [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
- [x] I will address all Greptile and reviewer comments before
requesting merge

---------

Co-authored-by: devinfoley <139239+devinfoley@users.noreply.github.com>
Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-10-10 01:13:35 -07:00
..
…

@paperclipai/ui

Published static assets for the Paperclip board UI.

What gets published

The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.

Storybook

Storybook config, stories, and fixtures live under ui/storybook/.

pnpm --filter @paperclipai/ui storybook
pnpm --filter @paperclipai/ui build-storybook

Typical use

Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.

Editor dependency identity

Keep the root and workspace overrides for @codemirror/state, @codemirror/view, and @lezer/common aligned. CodeMirror requires shared extension identity, while Lezer parsers and syntax highlighters require shared NodeProp IDs. Multiple Lezer copies can crash code-block highlighting with tags is not iterable. src/lib/codemirror-single-instance.test.ts checks the installed dependency graph and highlights sample code through the editor's real language dependencies. GitHub Actions owns regeneration of pnpm-lock.yaml.