Skip to content

feat(jira): saved and custom JQL filters in the Tasks panel - #13395

Closed
EugeValeiras wants to merge 1 commit into
stablyai:mainfrom
EugeValeiras:feat/jira-custom-filters
Closed

EugeValeiras wants to merge 1 commit into
stablyai:mainfrom
EugeValeiras:feat/jira-custom-filters

Conversation

@EugeValeiras

Copy link
Copy Markdown
Contributor

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 via GET /rest/api/2/filter/favourite?expand=jql, respecting the existing apiBasePath v2/v3 duality. With "All sites" selected it fans out per site with the same policy as listProjects, 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

  • Local persistence lives in localStorage (orca.jira.custom-filters.v1), not taskResumeState: 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).
  • Wire compatibility: jira.listSavedFilters is a new RPC method; the renderer client treats method_not_found from older hosts as "no saved filters" instead of breaking the panel. Nothing existing changed shape.
  • Degradation: invalid JQL lands in the panel's existing load-failure state; a filter deleted on Jira's side reconciles on refresh and falls back to the default preset.

Verification

  • New tests: Cloud and Server/DC fetch, single-site auth error vs all fan-out, dedupe, storage normalizer, menu CRUD + selection via RTL, and the remote client's method_not_found degradation. ~576 tests passing across affected and adjacent suites.
  • Full 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

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]>
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Added 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)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the feature and verification, but it omits required Screenshots, AI Review Report, Security Audit, and Notes sections. Add all template sections, complete the testing checklist, and document AI review, cross-platform checks, security risks, and follow-up work.
Docstring Coverage ⚠️ Warning Docstring coverage is 7.14% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: saved and custom JQL filters in the Jira Tasks panel.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 win

Make 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> with onSubmit, or reuse the same onKeyDown handler 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 value

Consider a confirmation before deleting a custom filter.

onDeleteCustom runs immediately and the filter is removed from localStorage by 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

📥 Commits

Reviewing files that changed from the base of the PR and between c03c01a and 109a3a3.

📒 Files selected for processing (26)
  • src/main/ipc/jira.ts
  • src/main/jira/issues.ts
  • src/main/jira/saved-filters.test.ts
  • src/main/jira/saved-filters.ts
  • src/main/runtime/orca-runtime.ts
  • src/main/runtime/rpc/methods/jira.test.ts
  • src/main/runtime/rpc/methods/jira.ts
  • src/preload/api-types.ts
  • src/preload/index.ts
  • src/renderer/src/components/TaskPage.tsx
  • src/renderer/src/components/jira-custom-filters-storage.test.ts
  • src/renderer/src/components/jira-custom-filters-storage.ts
  • src/renderer/src/components/task-page-jira-filter-menu.test.tsx
  • src/renderer/src/components/task-page-jira-filter-menu.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/runtime/runtime-jira-client.ts
  • src/renderer/src/runtime/runtime-jira-saved-filters-client.test.ts
  • src/renderer/src/runtime/runtime-jira-saved-filters-client.ts
  • src/shared/jira-custom-filters.test.ts
  • src/shared/jira-custom-filters.ts
  • src/shared/jira-types.ts
  • src/shared/types.ts

Comment on lines +168 to +201
<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>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🩺 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:


🏁 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
fi

Repository: 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
done

Repository: 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)
JS

Repository: 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:


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.

Comment on lines +4717 to +4730
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]
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 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.

Suggested change
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

Comment on lines +8699 to +8751
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
])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 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 || true

Repository: 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 || true

Repository: 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 || true

Repository: 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": "例如:我的未解决缺陷",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 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.

Suggested change
"jiraFiltersNamePlaceholder": "例如:我的未解决缺陷",
"jiraFiltersNamePlaceholder": "例如:我的未解决缺陷",

@nwparker

Copy link
Copy Markdown
Contributor

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.

@nwparker

Copy link
Copy Markdown
Contributor

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.

@nwparker nwparker closed this Oct 15, 2026
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.

4 participants