@ihyeon/flow-qa 0.8.4 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ko.md CHANGED
@@ -16,7 +16,7 @@ CLI와 `127.0.0.1` 전용 웹 UI를 제공합니다. UI는 영어로 시작하
16
16
  Node.js 24.x(24.22.1 이상) 또는 26.12.1 이상이 필요합니다. 브라우저는 첫 웹 실행 전에 설치합니다.
17
17
 
18
18
  ```sh
19
- npm install -g @ihyeon/flow-qa@0.8.4
19
+ npm install -g @ihyeon/flow-qa@0.8.6
20
20
  flow-qa browser install
21
21
  flow-qa ui --demo
22
22
  ```
@@ -70,7 +70,7 @@ CLI에서는 `flow-qa run cases/task-flow.json --target demo --case TC-001 --cas
70
70
 
71
71
  `0.5.0`부터 상세 보고서에서 **실패·오류 케이스 준비**를 누르면 실행 당시와 같은 저장된 케이스를 불러와 `실패`와 `실행 오류`만 선택합니다. 준비 후 케이스와 대상을 다시 검토하고 직접 실행하세요. 케이스·원본 파일이 없거나 바뀌었으면 준비를 중단하며, 실행 대상이 없거나 바뀌었으면 다시 선택해야 합니다. 자세한 동작은 [실패 케이스 준비](docs/ui.md#prepare-failed-cases)를 참고하세요.
72
72
 
73
- `0.8.0`부터 **상세 보고서**에서 케이스·오류 내용을 검색하고 상태별로 좁히거나 **실패·오류만** 볼 수 있습니다. 표시 건수와 보고서 전체 케이스 수를 구분하며, 다운로드와 실패·오류 재실행 준비는 보고서 전체 범위를 유지합니다. 자세한 동작은 [보고서 케이스 탐색](docs/ui.md#explore-cases-in-a-report)을 참고하세요.
73
+ `0.8.0`부터 **상세 보고서**에서 케이스·오류 내용을 검색하고 상태별로 좁히거나 **실패·오류만** 볼 수 있습니다. 표시 건수와 보고서 전체 케이스 수를 구분하며, Markdown·JSON 다운로드와 실패·오류 재실행 준비는 보고서 전체 범위를 유지합니다. 필터에 맞는 ID만 화면 순서대로 저장하려면 **표시된 케이스 ID 다운로드**(0.8.6)를 선택하세요. 자세한 동작은 [보고서 케이스 탐색](docs/ui.md#explore-cases-in-a-report)을 참고하세요.
74
74
 
75
75
  ## 실행 결과 비교
76
76
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ Flow QA is available as a CLI and a web UI bound to `127.0.0.1`. Provide a targe
16
16
  Node.js 24.x (24.22.1 or later) or 26.12.1 or later is required. Install Chromium before the first web run:
17
17
 
18
18
  ```sh
19
- npm install -g @ihyeon/flow-qa@0.8.4
19
+ npm install -g @ihyeon/flow-qa@0.8.6
20
20
  flow-qa browser install
21
21
  flow-qa ui --demo
22
22
  ```
@@ -70,7 +70,7 @@ The CLI supports repeated IDs: `flow-qa run cases/task-flow.json --target demo -
70
70
 
71
71
  From `0.5.0`, open a detailed report and choose **Prepare failed/error cases** to load its unchanged saved suite with only `failed` and `error` cases selected. Preparation never starts a run: review the cases and target, then run explicitly. Changed or missing case/source files block preparation; a changed or missing target must be selected again. See [preparing failed cases](docs/ui.md#prepare-failed-cases).
72
72
 
73
- From `0.8.0`, **Detailed report** supports case/error-text search, status filters, and **Failed/error only**. Counts distinguish displayed matches from all recorded cases. Report downloads and failed/error preparation retain the full report scope. See [report case exploration](docs/ui.md#explore-cases-in-a-report).
73
+ From `0.8.0`, **Detailed report** supports case/error-text search, status filters, and **Failed/error only**. Counts distinguish displayed matches from all recorded cases. Markdown/JSON downloads and failed/error preparation retain the full report scope. To save just the filtered IDs in the displayed order, choose **Download visible case IDs** (0.8.6). See [report case exploration](docs/ui.md#explore-cases-in-a-report).
74
74
 
75
75
  ## Compare recorded runs
76
76
 
@@ -671,6 +671,15 @@
671
671
  download(`${runId}.md`, result.markdown, 'text/markdown');
672
672
  } catch (error) { if (runId === app.selectedRun && locale === i18n.locale()) showError(error); }
673
673
  }
674
+ function downloadVisibleReportCaseIds() {
675
+ const report = app.report;
676
+ const runId = app.selectedRun;
677
+ if (!report || !runId) return;
678
+ const displayed = getDisplayedReportCases(report.cases || [], app.reportFilter);
679
+ const ids = displayed.map((item) => String(item.id));
680
+ if (!ids.length || reportCaseIdsContainLineBreak(displayed)) return;
681
+ download(`${runId}-case-ids.txt`, `${ids.join('\n')}\n`, 'text/plain');
682
+ }
674
683
  const reportStatuses = ['all', 'failed-error', 'passed', 'failed', 'error', 'blocked', 'flaky', 'skipped'];
675
684
  function reportCaseTotalAttemptDurationMs(attempts) {
676
685
  if (!Array.isArray(attempts) || attempts.length === 0 || !attempts.every((attempt) => typeof attempt?.durationMs === 'number' && Number.isFinite(attempt.durationMs) && attempt.durationMs >= 0)) return null;
@@ -690,6 +699,23 @@
690
699
  }
691
700
  return values.some((value) => String(value ?? '').toLowerCase().includes(query));
692
701
  }
702
+ function getDisplayedReportCases(cases, filter) {
703
+ const query = filter.search.trim().toLowerCase();
704
+ const status = filter.status;
705
+ const shown = cases.map((item, index) => ({ item, index })).filter(({ item }) => (status === 'all' || (status === 'failed-error' ? item.status === 'failed' || item.status === 'error' : item.status === status)) && reportCaseMatchesSearch(item, query));
706
+ if (filter.sort === 'duration-desc') shown.sort((left, right) => {
707
+ const leftDuration = reportCaseTotalAttemptDurationMs(left.item.attempts);
708
+ const rightDuration = reportCaseTotalAttemptDurationMs(right.item.attempts);
709
+ if (leftDuration === null) return rightDuration === null ? left.index - right.index : 1;
710
+ if (rightDuration === null) return -1;
711
+ return rightDuration - leftDuration || left.index - right.index;
712
+ });
713
+ else if (filter.sort === 'attempts-desc') shown.sort((left, right) => (right.item.attempts || []).length - (left.item.attempts || []).length || left.index - right.index);
714
+ return shown.map(({ item }) => item);
715
+ }
716
+ function reportCaseIdsContainLineBreak(cases) {
717
+ return cases.some((item) => /[\r\n\u0085\u2028\u2029]/.test(String(item.id)));
718
+ }
693
719
  function renderReportFilters() {
694
720
  const cases = app.report?.cases || [];
695
721
  const counts = Object.fromEntries(reportStatuses.map((status) => [status, 0]));
@@ -717,21 +743,17 @@
717
743
  return cases;
718
744
  }
719
745
  function renderReportCases() {
720
- if (!app.report) return;
746
+ if (!app.report) {
747
+ $('report-case-ids-download').disabled = true;
748
+ $('report-case-ids-hint').hidden = true;
749
+ return;
750
+ }
721
751
  const cases = renderReportFilters();
722
- const query = app.reportFilter.search.trim().toLowerCase();
723
- const status = app.reportFilter.status;
724
- const shown = cases.map((item, index) => ({ item, index })).filter(({ item }) => (status === 'all' || (status === 'failed-error' ? item.status === 'failed' || item.status === 'error' : item.status === status)) && reportCaseMatchesSearch(item, query));
725
- if (app.reportFilter.sort === 'duration-desc') shown.sort((left, right) => {
726
- const leftDuration = reportCaseTotalAttemptDurationMs(left.item.attempts);
727
- const rightDuration = reportCaseTotalAttemptDurationMs(right.item.attempts);
728
- if (leftDuration === null) return rightDuration === null ? left.index - right.index : 1;
729
- if (rightDuration === null) return -1;
730
- return rightDuration - leftDuration || left.index - right.index;
731
- });
732
- else if (app.reportFilter.sort === 'attempts-desc') shown.sort((left, right) => (right.item.attempts || []).length - (left.item.attempts || []).length || left.index - right.index);
733
- const displayed = shown.map(({ item }) => item);
752
+ const displayed = getDisplayedReportCases(cases, app.reportFilter);
753
+ const hasLineBreakInDisplayedId = reportCaseIdsContainLineBreak(displayed);
734
754
  $('report-case-count').textContent = t('report.caseCount', { shown: displayed.length, total: cases.length });
755
+ $('report-case-ids-download').disabled = !app.selectedRun || displayed.length === 0 || hasLineBreakInDisplayedId;
756
+ $('report-case-ids-hint').hidden = !hasLineBreakInDisplayedId;
735
757
  const host = $('report-case-list'); replace(host);
736
758
  if (!cases.length) { host.append(el('p', 'empty', t('report.empty'))); return; }
737
759
  if (!displayed.length) { host.append(el('p', 'empty', t('report.noMatches'))); return; }
@@ -739,6 +761,37 @@
739
761
  const attemptCount = (item.attempts || []).length;
740
762
  const attemptCountLabel = t(attemptCount === 1 ? 'report.attemptCountSingular' : 'report.attemptCountPlural', { count: attemptCount });
741
763
  const section = el('section', 'case-report'); section.append(el('h3', '', `${item.id} · ${item.title} · ${i18n.status(item.status)} · ${attemptCountLabel}`));
764
+ const actions = el('div', 'case-id-actions');
765
+ const copyButton = el('button', 'button quiet case-id-copy', t('report.copyCaseId'));
766
+ copyButton.type = 'button';
767
+ copyButton.setAttribute('aria-label', t('report.copyCaseIdAria', { id: item.id }));
768
+ const copyStatus = el('span', 'hint case-id-copy-status');
769
+ copyStatus.setAttribute('role', 'status');
770
+ copyStatus.setAttribute('aria-live', 'polite');
771
+ copyButton.addEventListener('click', async () => {
772
+ copyStatus.textContent = '';
773
+ const runId = app.selectedRun;
774
+ const report = app.report;
775
+ const navigationVersion = app.navigationVersion;
776
+ const view = app.view;
777
+ const locale = i18n.locale();
778
+ const canUpdateStatus = () => copyButton.isConnected && copyStatus.isConnected
779
+ && app.selectedRun === runId && app.report === report
780
+ && app.navigationVersion === navigationVersion && app.view === view && view === 'history'
781
+ && i18n.locale() === locale;
782
+ copyButton.disabled = true;
783
+ try {
784
+ if (!globalThis.navigator?.clipboard || typeof globalThis.navigator.clipboard.writeText !== 'function') throw new Error('Clipboard API unavailable');
785
+ await globalThis.navigator.clipboard.writeText(String(item.id));
786
+ if (canUpdateStatus()) copyStatus.textContent = t('report.caseIdCopied');
787
+ } catch {
788
+ if (canUpdateStatus()) copyStatus.textContent = t('report.caseIdCopyFailed');
789
+ } finally {
790
+ if (copyButton.isConnected) copyButton.disabled = false;
791
+ }
792
+ });
793
+ actions.append(copyButton, copyStatus);
794
+ section.append(actions);
742
795
  const totalAttemptTime = reportCaseTotalAttemptDurationMs(item.attempts);
743
796
  if (totalAttemptTime !== null) section.append(el('p', 'hint case-attempt-time', t('report.totalAttemptTime', { duration: totalAttemptTime })));
744
797
  if (item.reason) section.append(el('p', '', t('app.reason', { reason: item.reason })));
@@ -859,6 +912,7 @@
859
912
  $('script-download').addEventListener('click', () => { if (app.draft && !app.dirty && !app.stale) download(`${app.draft.id || 'flow-qa'}.test.mjs`, app.script, 'text/javascript'); });
860
913
  $('report-md').addEventListener('click', downloadReportMarkdown);
861
914
  $('report-json').addEventListener('click', () => { if (app.report) download(`${app.selectedRun}.json`, JSON.stringify(app.report, null, 2), 'application/json'); });
915
+ $('report-case-ids-download').addEventListener('click', downloadVisibleReportCaseIds);
862
916
  $('report-rerun').addEventListener('click', prepareFailedCases);
863
917
  $('report-case-search').addEventListener('input', (event) => { app.reportFilter.search = event.currentTarget.value; renderReportCases(); });
864
918
  $('report-case-status').addEventListener('change', (event) => { app.reportFilter.status = event.currentTarget.value; renderReportCases(); });
@@ -150,6 +150,12 @@
150
150
  'report.sortRecorded': ['Recorded order', '기록 순서'],
151
151
  'report.sortDurationDescending': ['Longest attempt time first', '시도 시간이 긴 순'],
152
152
  'report.sortAttemptsDescending': ['Most attempts first', '시도가 많은 순'],
153
+ 'report.downloadCaseIds': ['Download visible case IDs', '표시된 케이스 ID 다운로드'],
154
+ 'report.caseIdsLineBreakHint': ['A visible case ID contains a line break. Download JSON or narrow the filter.', '표시 중인 케이스 ID에 줄바꿈이 포함되어 있습니다. JSON을 다운로드하거나 필터를 좁혀 주세요.'],
155
+ 'report.copyCaseId': ['Copy case ID', '케이스 ID 복사'],
156
+ 'report.copyCaseIdAria': ['Copy case ID {id}', '케이스 ID {id} 복사'],
157
+ 'report.caseIdCopied': ['Case ID copied.', '케이스 ID를 복사했습니다.'],
158
+ 'report.caseIdCopyFailed': ['Could not copy. Select the case ID in the heading and copy it manually.', '복사하지 못했습니다. 제목의 케이스 ID를 선택해 직접 복사하세요.'],
153
159
  'report.filterAll': ['All statuses', '전체 상태'],
154
160
  'report.filterFailedError': ['Failed/error only', '실패·오류만'],
155
161
  'report.reset': ['Reset filters', '필터 초기화'],
@@ -159,7 +165,7 @@
159
165
  'report.totalAttemptTime': ['Total attempt time: {duration}ms', '시도 시간 합계: {duration}ms'],
160
166
  'report.empty': ['This report has no cases.', '이 보고서에는 케이스가 없습니다.'],
161
167
  'report.noMatches': ['No cases match these filters.', '필터에 맞는 케이스가 없습니다.'],
162
- 'report.filterHint': ['Filters and sorting only change the displayed cases. Downloads include all cases, and failed/error preparation uses all recorded failed/error cases regardless of visibility.', '필터와 정렬은 표시되는 케이스에만 적용됩니다. 다운로드에는 모든 케이스가 포함되고, 실패·오류 준비에는 표시 여부와 관계없이 기록된 모든 실패·오류 케이스가 사용됩니다.'],
168
+ 'report.filterHint': ['Filters and sorting only change the displayed cases. Markdown and JSON downloads include all cases; the case ID download includes only visible cases. Failed/error preparation uses all recorded failed/error cases regardless of visibility.', '필터와 정렬은 표시되는 케이스에만 적용됩니다. Markdown·JSON 다운로드에는 모든 케이스가 포함되고, 케이스 ID 다운로드에는 현재 표시된 케이스만 포함됩니다. 실패·오류 준비에는 표시 여부와 관계없이 기록된 모든 실패·오류 케이스가 사용됩니다.'],
163
169
  'history.prepareFailed': ['Prepare failed/error cases', '실패·오류 케이스 준비'],
164
170
  'history.prepareHint': ['Only failed and error cases are selected. Passed, flaky, blocked, and skipped cases are excluded. Preparation never starts a run.', '실패·오류 케이스만 선택합니다. 통과·간헐 실패·차단·건너뜀 케이스는 제외됩니다. 준비만으로 실행은 시작되지 않습니다.'],
165
171
  'history.downloadMarkdown': ['Download Markdown', 'Markdown 다운로드'],
@@ -104,7 +104,7 @@
104
104
  <div id="comparison-results" hidden><div id="comparison-warnings"></div><div id="comparison-summary"></div><div class="comparison-filter-row"><label for="comparison-filter" data-i18n="comparison.filter">Show cases</label><select id="comparison-filter" aria-controls="comparison-content"><option value="" data-i18n="comparison.all">All categories</option><option value="newly-failed" data-i18n="comparison.newlyFailed">Newly failed</option><option value="now-passed" data-i18n="comparison.nowPassed">Now passed</option><option value="changed" data-i18n="comparison.changed">Changed status</option><option value="unchanged" data-i18n="comparison.unchanged">Same status</option><option value="added" data-i18n="comparison.added">Added to current</option><option value="missing" data-i18n="comparison.missing">Missing from current</option></select></div><div class="actions comparison-actions"><button type="button" id="comparison-md" class="button" data-i18n="comparison.downloadMarkdown" disabled>Download comparison Markdown</button><button type="button" id="comparison-json" class="button quiet" data-i18n="comparison.downloadJson" disabled>Download comparison JSON</button><button type="button" id="compare-open-baseline" class="button quiet" data-i18n="comparison.openBaseline" disabled>View baseline report</button><button type="button" id="compare-open-current" class="button quiet" data-i18n="comparison.openCurrent" disabled>View current report</button></div><div id="comparison-content"></div></div>
105
105
  </div>
106
106
  </section>
107
- <section id="report-panel" class="report-panel" hidden><div class="section-head"><span class="section-number">03</span><div><h2 data-i18n="history.report">Detailed report</h2><p id="report-heading"></p></div></div><div class="section-body"><div class="actions"><button type="button" id="report-md" class="button" data-i18n="history.downloadMarkdown">Download Markdown</button><button type="button" id="report-json" class="button quiet" data-i18n="history.downloadJson">Download JSON</button><button type="button" id="report-rerun" class="button primary" disabled data-i18n="history.prepareFailed">Prepare failed/error cases</button></div><p class="hint" data-i18n="history.prepareHint">Passed, flaky, blocked, and skipped cases are excluded. Preparation does not start a run.</p><p class="hint" data-i18n="history.evidenceHint">The report summarizes results. Open or download screenshots and recordings from each attempt. Evidence files are not included in report downloads.</p><div class="report-case-filters"><div><label for="report-case-search" data-i18n="report.searchLabel">Search cases</label><input id="report-case-search" type="search" aria-controls="report-case-list" placeholder="Search ID, title, expected result, or errors" data-i18n-placeholder="report.searchPlaceholder"></div><div><label for="report-case-status" data-i18n="report.statusLabel">Case status</label><select id="report-case-status" aria-controls="report-case-list"><option value="all">All</option><option value="failed-error">Failed/error only</option><option value="passed">passed</option><option value="failed">failed</option><option value="error">error</option><option value="blocked">blocked</option><option value="flaky">flaky</option><option value="skipped">skipped</option></select></div><div><label for="report-case-sort" data-i18n="report.sortLabel">Case order</label><select id="report-case-sort" aria-controls="report-case-list"><option value="recorded" data-i18n="report.sortRecorded">Recorded order</option><option value="duration-desc" data-i18n="report.sortDurationDescending">Longest attempt time first</option><option value="attempts-desc" data-i18n="report.sortAttemptsDescending">Most attempts first</option></select></div><button type="button" id="report-case-reset" class="button quiet" data-i18n="report.reset">Reset filters</button></div><p id="report-case-count" class="hint" role="status" aria-live="polite"></p><p class="hint" data-i18n="report.filterHint">Filters and sorting only change the displayed cases. Downloads include all cases, and failed/error preparation uses all recorded failed/error cases regardless of visibility.</p><div id="report-content"></div></div></section>
107
+ <section id="report-panel" class="report-panel" hidden><div class="section-head"><span class="section-number">03</span><div><h2 data-i18n="history.report">Detailed report</h2><p id="report-heading"></p></div></div><div class="section-body"><div class="actions"><button type="button" id="report-md" class="button" data-i18n="history.downloadMarkdown">Download Markdown</button><button type="button" id="report-json" class="button quiet" data-i18n="history.downloadJson">Download JSON</button><button type="button" id="report-rerun" class="button primary" disabled data-i18n="history.prepareFailed">Prepare failed/error cases</button></div><p class="hint" data-i18n="history.prepareHint">Passed, flaky, blocked, and skipped cases are excluded. Preparation does not start a run.</p><p class="hint" data-i18n="history.evidenceHint">The report summarizes results. Open or download screenshots and recordings from each attempt. Evidence files are not included in report downloads.</p><div class="report-case-filters"><div><label for="report-case-search" data-i18n="report.searchLabel">Search cases</label><input id="report-case-search" type="search" aria-controls="report-case-list" placeholder="Search ID, title, expected result, or errors" data-i18n-placeholder="report.searchPlaceholder"></div><div><label for="report-case-status" data-i18n="report.statusLabel">Case status</label><select id="report-case-status" aria-controls="report-case-list"><option value="all">All</option><option value="failed-error">Failed/error only</option><option value="passed">passed</option><option value="failed">failed</option><option value="error">error</option><option value="blocked">blocked</option><option value="flaky">flaky</option><option value="skipped">skipped</option></select></div><div><label for="report-case-sort" data-i18n="report.sortLabel">Case order</label><select id="report-case-sort" aria-controls="report-case-list"><option value="recorded" data-i18n="report.sortRecorded">Recorded order</option><option value="duration-desc" data-i18n="report.sortDurationDescending">Longest attempt time first</option><option value="attempts-desc" data-i18n="report.sortAttemptsDescending">Most attempts first</option></select></div><button type="button" id="report-case-reset" class="button quiet" data-i18n="report.reset">Reset filters</button></div><div class="actions"><p id="report-case-count" class="hint" role="status" aria-live="polite"></p><button type="button" id="report-case-ids-download" class="button quiet" data-i18n="report.downloadCaseIds" disabled>Download visible case IDs</button></div><p id="report-case-ids-hint" class="hint" data-i18n="report.caseIdsLineBreakHint" hidden>A visible case ID contains a line break. Download JSON or narrow the filter.</p><p class="hint" data-i18n="report.filterHint">Filters and sorting only change the displayed cases. Markdown and JSON downloads include all cases; the case ID download includes only visible cases. Failed/error preparation uses all recorded failed/error cases regardless of visibility.</p><div id="report-content"></div></div></section>
108
108
  </section>
109
109
  <section id="view-settings" class="view" hidden>
110
110
  <div class="page-heading"><p class="eyebrow" data-i18n="settings.eyebrow">04 / CONNECTIONS</p><h1 data-i18n="nav.settings">Connections</h1><p data-i18n="settings.intro">Configure run targets and models separately. Key values are read only from server environment variables.</p></div>
@@ -181,6 +181,8 @@ button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-
181
181
  .report-meta span { padding: 5px 9px; border: 1px solid var(--line); border-radius: var(--radius-control); font-size: 12px; }
182
182
  .case-report { padding: 21px 0; border-top: 1px solid var(--line); }
183
183
  .case-report h3 { margin: 0 0 9px; font-size: 16px; }
184
+ .case-id-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 9px; }
185
+ .case-id-copy-status { min-width: 0; overflow-wrap: anywhere; }
184
186
  .case-report p { margin: 7px 0; color: var(--muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
185
187
  .report-errors { color: var(--accent-text) !important; white-space: pre-wrap; overflow-wrap: anywhere; }
186
188
  .preferences-section { margin: 0 0 calc(var(--space-factor) * 38px); }
package/docs/mobile.md CHANGED
@@ -9,7 +9,7 @@ Choose **Mobile** on the scenario screen, describe the flow, and generate or dow
9
9
  With the installed CLI:
10
10
 
11
11
  ```sh
12
- npm install -g @ihyeon/flow-qa@0.8.4
12
+ npm install -g @ihyeon/flow-qa@0.8.6
13
13
  flow-qa init ./my-qa
14
14
  # Write your mobile flow in my-qa/flows/my-flow.md first.
15
15
  flow-qa plan flows/my-flow.md --platform mobile --prompt-only --workspace ./my-qa
package/docs/releases.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  The alpha entries below are historical release records. They document earlier package versions and checks.
4
4
 
5
+ ## 0.8.6: download the visible case IDs
6
+
7
+ Use **Download visible case IDs** in a detailed report to save a UTF-8 text list for a QA handoff. The list follows the current search, status filter, and case order. Each line contains only the original ID. If no cases match, the button is disabled. If a visible legacy ID contains a line break, filter it out or use the full JSON report.
8
+
9
+ Markdown and JSON still export the full opened report in its recorded order. Downloading an ID list does not change case selection or start a run.
10
+
11
+ Locally verified on macOS with Node.js 24.22.1 on 2026-11-13 (Asia/Seoul): 118 tests, type checking, the UI design-system check, the report-explorer browser smoke, and the package checks passed. Chromium downloaded real files and checked their names and contents for filtered, sorted, partial, and Unicode cases. Zero matches and multiline IDs disabled the TXT button. A fresh tarball installation ran seven passing browser cases and checked the filtered TXT download while the JSON export kept the complete report.
12
+
13
+ - Package: [`@ihyeon/flow-qa@0.8.6`](https://www.npmjs.com/package/@ihyeon/flow-qa/v/0.8.6)
14
+ - Release: [GitHub 0.8.6](https://github.com/hyeonse-swing/flow-qa/releases/tag/v0.8.6)
15
+
16
+ ## 0.8.5: copy case IDs from detailed reports
17
+
18
+ Each case in the detailed report now has a **Copy case ID** button. It copies only the recorded ID and shows success or failure beside that case, with English and Korean messages. If clipboard access is blocked or unavailable, the message explains how to copy the ID manually from the heading.
19
+
20
+ Only the clicked button is disabled while copying. Feedback from a previous report, language, navigation state, or removed row is ignored. Filtering, sorting, downloads, evidence links, failed/error preparation, and recorded results keep their existing behavior.
21
+
22
+ Locally verified on macOS with Node.js 24.22.1 on 2026-11-10 (Asia/Seoul): 118 tests, type checking, UI syntax/design-system audit, the report-explorer browser smoke, and package checks passed. Browser fixtures covered exact-ID copying after filters/sorting, success, rejection, missing Clipboard API, pending-button isolation, stale detached/navigation responses, English/Korean, and a 390px layout. A fresh tarball installation ran seven passing browser cases and verified the copy action in the installed UI. Clipboard writes were stubbed to avoid changing the host clipboard; OS clipboard permissions were not tested. No model calls, external logins, or native-device runs were used.
23
+
24
+ - Package: [`@ihyeon/flow-qa@0.8.5`](https://www.npmjs.com/package/@ihyeon/flow-qa/v/0.8.5)
25
+ - Release: [GitHub 0.8.5](https://github.com/hyeonse-swing/flow-qa/releases/tag/v0.8.5)
26
+
5
27
  ## 0.8.4: find cases with repeated attempts
6
28
 
7
29
  Detailed reports now offer **Case order → Most attempts first**. Cases sort by the number of saved attempts, keeping equal counts in their original order and placing zero-attempt cases last. Timing availability does not affect this order, and the view does not infer retries or change recorded outcomes. English and Korean labels are available.
package/docs/ui.md CHANGED
@@ -7,7 +7,7 @@ Describe a user flow, review cases, and configure a target when ready to run. We
7
7
  Node.js 24.x (24.22.1 or later) or 26.12.1 or later is required. Node 25 is unsupported. Upgrade the Node runtime and restart any running UI process; updating Flow QA alone does not patch Node. Install Flow QA and start the web demo:
8
8
 
9
9
  ```sh
10
- npm install -g @ihyeon/flow-qa@0.8.4
10
+ npm install -g @ihyeon/flow-qa@0.8.6
11
11
  flow-qa browser install
12
12
  flow-qa ui --demo
13
13
  ```
@@ -86,6 +86,10 @@ From `0.8.3`, **Case order → Longest attempt time first** sorts visible cases
86
86
 
87
87
  From `0.8.4`, **Case order → Most attempts first** brings cases with more recorded attempts to the top. Equal counts retain recorded order; cases with zero attempts follow attempted cases. This uses the saved attempt list only and does not infer a retry policy, change case status, or depend on duration availability.
88
88
 
89
+ From `0.8.5`, **Copy case ID** below a case heading copies only that case ID, including after filtering or sorting. Success or failure is shown beside that button. If the browser blocks clipboard access or the API is unavailable, select the ID in the heading and copy it manually. Copying does not start a run or change report data.
90
+
91
+ From `0.8.6`, **Download visible case IDs** saves `<run-id>-case-ids.txt`: one ID per line, in the order shown after case search, status filtering, and sorting. The list is UTF-8 text with a final newline. The button is disabled when no cases match. If a legacy ID contains a line break, narrow the filter to exclude that ID or download the full JSON report.
92
+
89
93
  From `0.8.0`, open **Run history → Detailed report** and use **Search cases** with **Case status** to narrow the displayed results. Search ignores case and surrounding whitespace, and matches case IDs, titles, reasons, expected results, attempt errors, secondary errors, step labels, and step errors. User-written Korean text is supported. Artifact paths and translated status labels are not search fields.
90
94
 
91
95
  **Failed/error only** shows those two recorded statuses; the other status choices distinguish passed, failed, error, blocked, flaky, and skipped. Status-option counts describe the entire open report, while the displayed count shows matches out of that report's recorded cases. A partial run's omitted cases are not included in those counts; its selected/full-suite scope remains visible separately. Report-level warnings remain visible even when no case matches. **Reset filters** clears search and status and restores recorded order.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ihyeon/flow-qa",
3
- "version": "0.8.4",
3
+ "version": "0.8.6",
4
4
  "license": "MIT",
5
5
  "author": "Hyeonse Im",
6
6
  "repository": {