Repository navigation
feat(jira): saved and custom JQL filters in the Tasks panel - #13395
EugeValeiras wants to merge 1 commit into
Conversation
Surface the user's saved Jira filters (owned + favourites) as filter options in the Jira Tasks panel, and let users define local custom filters (name + JQL) with minimal create/rename/delete UI. - Saved filters: new jira.listSavedFilters across IPC/RPC/runtime. Cloud reads /rest/api/3/filter/my?expand=jql&includeFavourites=true; Server/DC reads /rest/api/2/filter/favourite?expand=jql. Multi-site fan-out mirrors listProjects (per-site failures degrade, auth errors surface only for an explicit single site). - Remote wire compat: the renderer treats method_not_found from older hosts as "no saved filters" instead of failing the panel. - Custom filters persist in renderer localStorage (orca.jira.custom-filters.v1), not taskResumeState — its strict schema makes older hosts drop the whole resume state on unknown keys. - Both filter kinds execute through the existing searchIssues JQL path; invalid JQL reuses the existing load-failure state, and a filter deleted in Jira falls back to the built-in presets on list refresh. Co-Authored-By: Claude Fable 5 <[email protected]>
📝 WalkthroughWalkthroughAdded Jira saved-filter retrieval for Cloud and Server/DC sites. Exposed the retrieval through IPC, runtime RPC, preload, and renderer clients. Added shared types and normalization utilities for saved and custom filters. Added local persistence and task-page integration for selecting, creating, editing, deleting, and restoring filters. Added localized filter-menu UI and Vitest coverage across backend, runtime, storage, shared utilities, and components. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 4
🧹 Nitpick comments (2)
src/renderer/src/components/task-page-jira-filter-menu.tsx (2)
232-256: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winMake Enter submit from the name field too.
The JQL input submits the draft on Enter. The name input does not. A user who types the name and presses Enter gets no result. Wrap both inputs in a
<form>withonSubmit, or reuse the sameonKeyDownhandler on the name input.♻️ Proposed change
<Input id="jira-filter-name" value={draftName} onChange={(event) => setDraftName(event.target.value)} + onKeyDown={(event) => { + if (event.key === 'Enter') { + event.preventDefault() + submitDraft() + } + }} placeholder={translate(
185-200: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueConsider a confirmation before deleting a custom filter.
onDeleteCustomruns immediately and the filter is removed fromlocalStorageby the persist effect. The JQL is not recoverable. A confirmation step, or an undo toast, protects against a mis-click inside a dense menu row.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 7f045d02-27e3-4dd2-93ba-6244dacc3244
📒 Files selected for processing (26)
src/main/ipc/jira.tssrc/main/jira/issues.tssrc/main/jira/saved-filters.test.tssrc/main/jira/saved-filters.tssrc/main/runtime/orca-runtime.tssrc/main/runtime/rpc/methods/jira.test.tssrc/main/runtime/rpc/methods/jira.tssrc/preload/api-types.tssrc/preload/index.tssrc/renderer/src/components/TaskPage.tsxsrc/renderer/src/components/jira-custom-filters-storage.test.tssrc/renderer/src/components/jira-custom-filters-storage.tssrc/renderer/src/components/task-page-jira-filter-menu.test.tsxsrc/renderer/src/components/task-page-jira-filter-menu.tsxsrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.jsonsrc/renderer/src/runtime/runtime-jira-client.tssrc/renderer/src/runtime/runtime-jira-saved-filters-client.test.tssrc/renderer/src/runtime/runtime-jira-saved-filters-client.tssrc/shared/jira-custom-filters.test.tssrc/shared/jira-custom-filters.tssrc/shared/jira-types.tssrc/shared/types.ts
| <span className="flex shrink-0 items-center gap-0.5"> | ||
| <button | ||
| type="button" | ||
| aria-label={translate( | ||
| 'auto.components.TaskPage.jiraFiltersEditAria', | ||
| 'Edit filter “{{name}}”', | ||
| { name: filter.name } | ||
| )} | ||
| onPointerDown={(event) => event.stopPropagation()} | ||
| onClick={(event) => { | ||
| event.stopPropagation() | ||
| setDialogState({ mode: 'edit', filter }) | ||
| }} | ||
| className="rounded p-1 text-muted-foreground transition hover:bg-accent hover:text-foreground" | ||
| > | ||
| <Pencil className="size-3" /> | ||
| </button> | ||
| <button | ||
| type="button" | ||
| aria-label={translate( | ||
| 'auto.components.TaskPage.jiraFiltersDeleteAria', | ||
| 'Delete filter “{{name}}”', | ||
| { name: filter.name } | ||
| )} | ||
| onPointerDown={(event) => event.stopPropagation()} | ||
| onClick={(event) => { | ||
| event.stopPropagation() | ||
| onDeleteCustom(filter.id) | ||
| }} | ||
| className="rounded p-1 text-muted-foreground transition hover:bg-destructive/10 hover:text-destructive" | ||
| > | ||
| <Trash2 className="size-3" /> | ||
| </button> | ||
| </span> |
There was a problem hiding this comment.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🌐 Web query:
Radix UI DropdownMenu nested button inside DropdownMenuItem keyboard focus accessibility
💡 Result:
In Radix UI, the DropdownMenu component is designed to follow the WAI-ARIA Menu Button design pattern [1]. This pattern dictates that focus should be managed within the menu using a roving tabindex, and pressing the Tab key while focus is inside the menu typically closes the menu and moves focus to the next focusable element outside of it [1][2][3]. Because of this design, nesting interactive elements (like buttons) directly inside a DropdownMenuItem is not natively supported or recommended for keyboard navigation [3]. Specifically: 1. Keyboard Unreachability: When focus is inside the DropdownMenu, pressing Tab currently closes the menu rather than moving focus to the next interactive element within that menu [2][3]. Consequently, any buttons or inputs placed inside a menu item or a custom footer will be inaccessible to keyboard-only users via the Tab key [3]. 2. Focus Management Conflicts: Radix UI uses a roving tabindex to handle item-to-item navigation [1]. Attempting to nest focusable elements can create conflicts with the library's internal event handling, which expects the DropdownMenuItem itself to be the primary focus target [4][5]. If you need interactive, nested content within a dropdown-like structure, consider the following approaches: - Use a Popover: If your goal is to display a complex UI—such as a form, a footer with buttons, or interactive grids—the Popover primitive is a more appropriate choice [5]. Unlike DropdownMenu, Popover does not enforce the strict menu-closing behavior upon tabbing, allowing users to navigate through nested interactive elements [3]. - Custom Focus Handling (Advanced): If you must use a DropdownMenu, you may need to use the asChild prop on DropdownMenuItem to merge Radix's props onto your own element and manually implement event listeners (e.g., handling onFocus or onKeyDown) to redirect focus or prevent Radix's default behavior [5]. However, this is an advanced pattern that requires careful implementation to maintain accessibility, as you must manually ensure that the menu remains open while focus is moved into the nested component [5]. In summary, Radix UI DropdownMenu is intended for flat lists of simple actions [1]. For interfaces requiring nested buttons or complex interactivity, the Popover primitive is the recommended alternative for ensuring keyboard accessibility [5].
Citations:
- 1: https://www.radix-ui.com/primitives/docs/components/dropdown-menu
- 2: [Dropdown Menu] Tab does not comply with ARIA authoring practices radix-ui/primitives#1934
- 3: Dropdown Footer Accessibility Concern radix-ui/primitives#3826
- 4: DropDownMenu.Trigger fires the first "asChild (as button)" item's function with keyboard activation. radix-ui/primitives#1397
- 5: DropdownMenu with custom Item is not handling focus correctly radix-ui/primitives#3544
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Locate and inspect the relevant component and nearby JSX structure without running repository code.
if [ -f src/renderer/src/components/task-page-jira-filter-menu.tsx ]; then
echo "== file exists =="
wc -l src/renderer/src/components/task-page-jira-filter-menu.tsx
echo "== outline =="
ast-grep outline src/renderer/src/components/task-page-jira-filter-menu.tsx || true
echo "== lines 100-240 =="
sed -n '100,240p' src/renderer/src/components/task-page-jira-filter-menu.tsx | nl -ba -v100
else
echo "file not found"
git ls-files | rg 'task-page-jira-filter-menu|jira-filter|DropdownMenuItem' || true
fiRepository: stablyai/orca
Length of output: 714
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '== imports/top definitions =='
sed -n '1,90p' src/renderer/src/components/task-page-jira-filter-menu.tsx
printf '\n== filters menu item region =='
sed -n '140,220p' src/renderer/src/components/task-page-jira-filter-menu.tsx
printf '\n== DropdownMenuItem and action occurrences =='
rg -n "DropdownMenu|DropdownMenuItem|onSelect|onPointerDown|onDeleteCustom|setDialogState" src/renderer/src/components/task-page-jira-filter-menu.tsx
printf '\n== nearby package Radix versions if package files exist =='
for f in package.json pnpm-lock.yaml package-lock.json yarn.lock bun.lockb; do
[ -f "$f" ] && printf '\n%s\n' "$f" && rg -n "`@radix-ui/react-dropdown-menu`|`@radix-ui/react-select`|radix" "$f" | head -50 || true
doneRepository: stablyai/orca
Length of output: 11154
🏁 Script executed:
#!/bin/bash
set -euo pipefail
node - <<'JS'
const fs = require('fs')
const path = require.resolve('`@radix-ui/react-download-menu/package.json`')
console.log('path', path)
JSRepository: stablyai/orca
Length of output: 978
🌐 Web query:
Radix UI React DropdownMenuItem nested focusable children asChild asChild button Tab arrow navigation
💡 Result:
In Radix UI, the DropdownMenu component is designed to follow the WAI-ARIA Menu Button pattern, which relies on a roving tabindex to manage focus exclusively among menu items [1]. Because of this design, nested focusable children and Tab-based navigation within a DropdownMenuItem or the DropdownMenuContent face significant limitations [2][3]. Key considerations for your requirements: 1. Tab Navigation: By default, pressing Tab while inside a Radix UI dropdown menu will close the menu and move focus to the next focusable element on the page [3]. Standard DropdownMenuItems are intended to be activated via Enter, Space, or Arrow keys, not navigated via Tab [1]. If you place interactive elements (like buttons) inside the dropdown, keyboard users will not be able to tab to them, as the component's focus management is strictly bound to the menu item level [3]. 2. Nested Focusable Children via asChild: Using asChild on a DropdownMenuItem allows you to swap the default element for your own (e.g., a div or a complex custom component), but it does not fundamentally change how Radix manages focus [2][4]. If you nest interactive elements inside a DropdownMenuItem, you must manage focus manually [2]. A common approach is to use onFocus on the container to redirect focus into your nested element, and to prevent default behavior on Enter/Space keys to avoid triggering the menu's selection logic prematurely [2]. 3. Keyboard Conflict: A known issue when using asChild with interactive elements (especially buttons) is that keyboard events (Enter/Space) can cause the menu to close or the wrong action to trigger because Radix handles focus movement and activation on keydown events [5][6]. If you must include interactive content, you should prevent the default behavior and stop propagation on key events within your custom component to ensure your internal logic does not clash with the menu's own keyboard handlers [2]. Recommendation: If you need complex, tab-navigable, or nested interactive content (like a form or a grid of buttons), a DropdownMenu is generally not the correct primitive to use [2][3]. Instead, consider using a Popover component. Popovers do not enforce the same strict roving-tabindex menu semantics, allowing for standard Tab-based navigation and nested focusable elements while maintaining accessibility [3]. Top results: [2][1][3]
Citations:
- 1: https://github.com/radix-ui/website/blob/main/data/primitives/docs/components/dropdown-menu.mdx
- 2: DropdownMenu with custom Item is not handling focus correctly radix-ui/primitives#3544
- 3: Dropdown Footer Accessibility Concern radix-ui/primitives#3826
- 4: https://www.radix-ui.com/primitives/docs/guides/composition
- 5: [DropdownMenu] DropdownMenu.CheckboxItem asChild keyboard issue radix-ui/primitives#1268
- 6: DropDownMenu.Trigger fires the first "asChild (as button)" item's function with keyboard activation. radix-ui/primitives#1397
Make the edit and delete actions keyboard reachable.
The edit/delete buttons are children of DropdownMenuItem, and Radix dropdown menus confine roving focus to menu items rather than nested controls. Mouse users can stop the child button clicks, but keyboard users cannot Tab into either button or activate it from the row; activating the parent item runs onSelectCustom() instead. Move these actions to separate menu items or another keyboard-reach structure.
| const handleCreateJiraCustomFilter = useCallback( | ||
| (draft: { name: string; jql: string }) => { | ||
| if (jiraCustomFilters.length >= MAX_JIRA_CUSTOM_FILTERS) { | ||
| return | ||
| } | ||
| const id = crypto.randomUUID() | ||
| setJiraCustomFilters((current) => [...current, { id, ...draft }]) | ||
| setJiraSearchInput('') | ||
| setAppliedJiraSearch('') | ||
| setActiveJiraFilter({ source: 'custom', id }) | ||
| setTaskResumeState({ jiraQuery: '' }) | ||
| }, | ||
| [jiraCustomFilters.length, setTaskResumeState] | ||
| ) |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Give feedback when the custom-filter limit is reached.
handleCreateJiraCustomFilter returns without any side effect when jiraCustomFilters.length >= MAX_JIRA_CUSTOM_FILTERS. TaskPageJiraFilterMenu.submitDraft closes the dialog before the callback result is known, so the user sees the dialog close and no new filter. Show a toast so the limit is visible.
🛠️ Proposed fix
const handleCreateJiraCustomFilter = useCallback(
(draft: { name: string; jql: string }) => {
if (jiraCustomFilters.length >= MAX_JIRA_CUSTOM_FILTERS) {
+ toast.error(
+ translate(
+ 'auto.components.TaskPage.jiraFiltersLimitReached',
+ 'You can save up to {{value0}} custom Jira filters. Delete one to add another.',
+ { value0: MAX_JIRA_CUSTOM_FILTERS }
+ )
+ )
return
}Note: the localization key must be generated with the repository's key generator so the locale files stay in sync.
📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| const handleCreateJiraCustomFilter = useCallback( | |
| (draft: { name: string; jql: string }) => { | |
| if (jiraCustomFilters.length >= MAX_JIRA_CUSTOM_FILTERS) { | |
| return | |
| } | |
| const id = crypto.randomUUID() | |
| setJiraCustomFilters((current) => [...current, { id, ...draft }]) | |
| setJiraSearchInput('') | |
| setAppliedJiraSearch('') | |
| setActiveJiraFilter({ source: 'custom', id }) | |
| setTaskResumeState({ jiraQuery: '' }) | |
| }, | |
| [jiraCustomFilters.length, setTaskResumeState] | |
| ) | |
| const handleCreateJiraCustomFilter = useCallback( | |
| (draft: { name: string; jql: string }) => { | |
| if (jiraCustomFilters.length >= MAX_JIRA_CUSTOM_FILTERS) { | |
| toast.error( | |
| translate( | |
| 'auto.components.TaskPage.jiraFiltersLimitReached', | |
| 'You can save up to {{value0}} custom Jira filters. Delete one to add another.', | |
| { value0: MAX_JIRA_CUSTOM_FILTERS } | |
| ) | |
| ) | |
| return | |
| } | |
| const id = crypto.randomUUID() | |
| setJiraCustomFilters((current) => [...current, { id, ...draft }]) | |
| setJiraSearchInput('') | |
| setAppliedJiraSearch('') | |
| setActiveJiraFilter({ source: 'custom', id }) | |
| setTaskResumeState({ jiraQuery: '' }) | |
| }, | |
| [jiraCustomFilters.length, setTaskResumeState] | |
| ) |
Source: Learnings
| useEffect(() => { | ||
| if (!taskResumeApplied || taskSource !== 'jira' || !jiraConnected) { | ||
| return | ||
| } | ||
| let cancelled = false | ||
| setJiraSavedFiltersLoading(true) | ||
| jiraListSavedFilters(jiraTaskSourceContext ?? settings, selectedJiraSiteId) | ||
| .then((filters) => { | ||
| if (cancelled) { | ||
| return | ||
| } | ||
| setJiraSavedFilters(filters) | ||
| // Reconcile the active saved filter: pick up renames/JQL edits, and fall | ||
| // back to presets when the filter was deleted in Jira or is out of scope. | ||
| setActiveJiraFilter((current) => { | ||
| if (current?.source !== 'saved') { | ||
| return current | ||
| } | ||
| const match = filters.find( | ||
| (filter) => filter.siteId === current.siteId && filter.id === current.filterId | ||
| ) | ||
| if (!match) { | ||
| return null | ||
| } | ||
| return match.name !== current.name || match.jql !== current.jql | ||
| ? { ...current, name: match.name, jql: match.jql } | ||
| : current | ||
| }) | ||
| }) | ||
| .catch((error) => { | ||
| if (!cancelled) { | ||
| // Keep the panel usable without saved filters (e.g. older remote hosts). | ||
| setJiraSavedFilters([]) | ||
| console.warn('[jira] saved filters load failed:', error) | ||
| } | ||
| }) | ||
| .finally(() => { | ||
| if (!cancelled) { | ||
| setJiraSavedFiltersLoading(false) | ||
| } | ||
| }) | ||
| return () => { | ||
| cancelled = true | ||
| } | ||
| }, [ | ||
| taskSource, | ||
| jiraConnected, | ||
| selectedJiraSiteId, | ||
| jiraRefreshNonce, | ||
| taskResumeApplied, | ||
| jiraTaskSourceContext, | ||
| settings | ||
| ]) |
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Description: Inspect how selectedJiraSiteId scopes saved-filter retrieval, to confirm cross-site reconciliation behavior.
set -euo pipefail
fd -t f 'saved-filters.ts' src/main | while IFS= read -r file; do
rg -n -C 6 'siteId|sites|filter' "$file"
done
rg -n -C 6 'jiraListSavedFilters' --type=ts --type=tsx src || trueRepository: stablyai/orca
Length of output: 2509
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Locate relevant files and inspect surrounding code/call graph without running repository code.
printf 'Candidate files:\n'
fd -t f 'TaskPage.tsx|saved-filters.ts|.*jira.*saved.*|.*Saved Filter.*' src | sort
printf '\nTaskPage relevant slice around lines 8699-8751:\n'
sed -n '8670,8775p' src/renderer/src/components/TaskPage.tsx
printf '\nSaved filters implementation and usages:\n'
for f in $(fd -t f 'saved-filters.ts' src/main); do
echo "--- $f ---"
rg -n -C 8 'export async function listSavedFilters|function listSavedFilters|listSavedFilters|activeJiraFilter|setActiveJiraFilter|selectedJiraSiteId|jiraListSavedFilters' "$f" || true
done
printf '\nSearch jiraListSavedFilters across tracked files:\n'
rg -n -C 4 'jiraListSavedFilters' src || trueRepository: stablyai/orca
Length of output: 15962
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf 'getClients implementation:'
rg -n -C 12 'function getClients|const getClients|export .*getClients|getClients\(' src/main/jira src/main/runtime || true
printf '\nTaskPage active filter definition and usage around saved selection:'
rg -n -C 5 'activeJiraFilter|setActiveJiraFilter|jiraSavedFilters|jiraSavedFiltersLoading|jiraCustomFilters|resolveActiveJiraFilterJql' src/renderer/src/components/TaskPage.tsx | sed -n '1,260p'
printf '\nSaved filter type definition:'
rg -n -C 6 'interface JiraSavedFilter|type JiraSavedFilter|JiraSavedFilter' shared src/types src/main src/renderer/src/runtime src/renderer/src/components/TaskPage.tsx || trueRepository: stablyai/orca
Length of output: 50369
Restrict active saved-filter reconciliation to the requested site.
jiraListSavedFilters(jiraTaskSourceContext ?? settings, selectedJiraSiteId) returns only clients matching selectedJiraSiteId, so switching from one site to another clears active saved filters stored on the first site. Keep the active saved filter while the requested list is filtered by scope, and only clear it when the active filter is truly out of the selected site’s saved filters.
| "jiraFiltersDialogTitleNew": "新建筛选器", | ||
| "jiraFiltersDialogDescription": "保存在此设备上。JQL 将在你连接的 Jira 站点上运行。", | ||
| "jiraFiltersNameLabel": "名称", | ||
| "jiraFiltersNamePlaceholder": "例如:我的未解决缺陷", |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Use full-width Chinese punctuation.
Replace the ASCII : with : in this Chinese placeholder.
Proposed fix
- "jiraFiltersNamePlaceholder": "例如:我的未解决缺陷",
+ "jiraFiltersNamePlaceholder": "例如:我的未解决缺陷",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "jiraFiltersNamePlaceholder": "例如:我的未解决缺陷", | |
| "jiraFiltersNamePlaceholder": "例如:我的未解决缺陷", |
|
Thanks for the original work. This branch now overlaps the custom saved-JQL filters already on main and targets files that have since moved, so it is unsafe to merge directly. I have ported the missing Jira favourites flow into two separately reviewed changes:
The second slice deliberately avoids copying imported JQL into the existing host-only saved-filter store: numeric Jira IDs can mean different things on another site. Existing custom-filter CRUD remains in place. The replacement slices have focused tests and independent source review; live Jira account behavior has not been verified here. I will leave this PR open until the replacement is complete. |
|
The Jira favourites workflow is now covered by #29028 and #29037, alongside the custom named-JQL filters already on main. These independently reviewed slices read favourites for one explicit site and apply them as transient JQL on the original execution host/site. They reuse the existing custom saved-filter system rather than adding a second store. This deliberately narrower implementation supports favourites from one selected site. Listing owned non-favourite filters and aggregating favourites across All sites are outside these slices; those can be considered separately without replaying site-specific IDs on another site. The catalogue has bounded response parsing and older-host handling. The UI requires confirmed saved-filter deselection, rejects mismatched sites, and fences delayed owner/site results. Focused automated checks and hidden Electron verification passed; screenshots and limitations are documented in the replacement PRs. Jira/host responses in the rendered fixture were synthetic, so this does not claim live Jira validation. Closing this older PR as superseded by the narrower implementation. Thank you for the original contribution. |
Brings Jira's saved filters into the Tasks panel, and lets users define local custom JQL filters, next to the existing Assigned/Reported/All Open/Done presets.
What it does
Saved Jira filters — a new "Filters" menu lists the user's saved filters with their JQL expanded: Cloud via
GET /rest/api/3/filter/my?expand=jql&includeFavourites=true, Server/DC viaGET /rest/api/2/filter/favourite?expand=jql, respecting the existingapiBasePathv2/v3 duality. With "All sites" selected it fans out per site with the same policy aslistProjects, labeling each entry with its site.Local custom filters — name + JQL pairs created, renamed, and deleted from the same menu through a minimal shadcn dialog; the JQL field pre-fills from the current search when one is active. Both kinds execute through the existing
searchIssues(jql)path — no new execution surface, only a listing method.Design notes
localStorage(orca.jira.custom-filters.v1), nottaskResumeState: that object's.strict()schema makes an old remote host drop the entire resume state on an unknown key — the same failure that moved the Linear view to localStorage (Move Linear issue view to localStorage #13391).jira.listSavedFiltersis a new RPC method; the renderer client treatsmethod_not_foundfrom older hosts as "no saved filters" instead of breaking the panel. Nothing existing changed shape.Verification
allfan-out, dedupe, storage normalizer, menu CRUD + selection via RTL, and the remote client'smethod_not_founddegradation. ~576 tests passing across affected and adjacent suites.pnpm lint(oxlint + audits + reliability gates + localization checks) and full typecheck (node/cli/web) green. New strings localized in en/es/ja/ko/zh.🤖 Generated with Claude Code