From df1b93c01f2ba5aeb9b50a58e825c2e2e2b095ff Mon Sep 17 00:00:00 2001 From: Vito Sansevero Date: Sat, 21 Nov 2026 05:20:53 -0800 Subject: [PATCH] docs: correct the redesign plan's CI and PR rules, renumber the second D205 (#662) docs/application-redesign.md named a Python 3.10-3.13 matrix with macOS, asked for PR screenshots and said Overview links the legacy metadata page. It now names the 3.12 floor and the current Linux/Windows split, asks for visual changes in words, and says the metadata page is reached by address or from the legacy admin page. TESTING.md used D205 for both #431 (saved instructions) and #620 (Library sorts); #620's entry is D206 now. --- TESTING.md | 2 +- docs/application-redesign.md | 14 ++++++++------ tests/browser/library-concept.spec.mjs | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/TESTING.md b/TESTING.md index 5381292c..247ecd6d 100644 --- a/TESTING.md +++ b/TESTING.md @@ -4744,7 +4744,7 @@ the per-section hand-off panel, was retired by S12 (#329): every section is nati concept row's), `skipped tags add, preview, remove, save and reload (D202)`, `skipped tags preview checks library tags only …` (workspace-system-tagging.spec) and `suggestions omit skipped tags and say how many were hidden` (workspace-tagging.spec). -- **D205** (Prompt library, #620, beyond the concept): the sort menu appends Recently used, Most used and Name Z–A +- **D206** (Prompt library, #620, beyond the concept; numbered D205 until #662 found the id taken by #431): the sort menu appends Recently used, Most used and Name Z–A after Oldest first. These are the old Dashboard's sorts, kept before its removal because the community asked for them. A prompt never run sorts last in both use orders. - **D203** (Auto-tagging, #431, beyond the concept): "Saved instructions" replaces the diff --git a/docs/application-redesign.md b/docs/application-redesign.md index a47c3997..61b30327 100644 --- a/docs/application-redesign.md +++ b/docs/application-redesign.md @@ -12,7 +12,7 @@ code. This plan proposes implementation order and acceptance gates. - The native Prompt Library merged in [#210](https://github.com/ComfyAssets/ComfyUI_PromptManager/pull/210) for [#208](https://github.com/ComfyAssets/ComfyUI_PromptManager/issues/208): one positive parent, saved negative variants, full selected text and a shared filtered image gallery. It does not invent chronological runs from counters or scan dates. - [Durable history storage](prompt-history-storage.md) records job attempts and outcomes from [#212](https://github.com/ComfyAssets/ComfyUI_PromptManager/pull/212), frozen prompt contexts from [#213](https://github.com/ComfyAssets/ComfyUI_PromptManager/pull/213), and observed run-owned output locators from [#214](https://github.com/ComfyAssets/ComfyUI_PromptManager/pull/214). Those locators do not verify file bytes or establish gallery-image associations. That association contract and the chronological execution timeline remain pending under [#209](https://github.com/ComfyAssets/ComfyUI_PromptManager/issues/209). - [#215](https://github.com/ComfyAssets/ComfyUI_PromptManager/issues/215) brings the shell, Images and natural-height Prompt Library presentation into the approved geometry and themes while retaining their existing operations. [#216](https://github.com/ComfyAssets/ComfyUI_PromptManager/issues/216) adds the shared current-file inspector with exact generation facts, scoped provenance, raw/download evidence and loaded-collection viewer controls, including a slideshow that pauses at native video. This delivery does not establish whole-application parity, change the default entry point or constitute a release. Recorded chronological run/context browsing continues under [#209](https://github.com/ComfyAssets/ComfyUI_PromptManager/issues/209); image tagging/review, System consolidation and remaining organization capabilities continue under #196. -- Local Inspect (#249, PRs L1–L3) replaces the `#/inspect` handoff with the concept's native "Inspect a file" page: one local image or video previews inline and opens the shared viewer and full inspector on a record read entirely in the browser, with nothing uploaded, imported or stored. The legacy metadata page (`web/metadata.html`, served at `/prompt_manager/gallery.html`) stays reachable from Overview; its capabilities map to the shared inspector, including its one-click COPY ALL summary, which is the shared inspector's "Copy settings summary" (D117, LI-4). PR L3 ([#286](https://github.com/ComfyAssets/ComfyUI_PromptManager/pull/286)) shipped that button and local roles equal to the server's resolver (`web/js/workspace/local-resolver.mjs`, TESTING.md "Local roles (#249 PR L3, decision LI-1)"). Recorded deviations D60–D66 and D117 are in [TESTING.md](../TESTING.md). +- Local Inspect (#249, PRs L1–L3) replaces the `#/inspect` handoff with the concept's native "Inspect a file" page: one local image or video previews inline and opens the shared viewer and full inspector on a record read entirely in the browser, with nothing uploaded, imported or stored. The legacy metadata page (`web/metadata.html`, served at `/prompt_manager/gallery.html`) stays reachable by its address and from the legacy admin page; the workspace no longer links it (#621); its capabilities map to the shared inspector, including its one-click COPY ALL summary, which is the shared inspector's "Copy settings summary" (D117, LI-4). PR L3 ([#286](https://github.com/ComfyAssets/ComfyUI_PromptManager/pull/286)) shipped that button and local roles equal to the server's resolver (`web/js/workspace/local-resolver.mjs`, TESTING.md "Local roles (#249 PR L3, decision LI-1)"). Recorded deviations D60–D66 and D117 are in [TESTING.md](../TESTING.md). - Collections ([#331](https://github.com/ComfyAssets/ComfyUI_PromptManager/issues/331), three PRs) adds named, hand-picked groups of images, stored in the library database by file location as favorites are: a COLLECTIONS sidebar group whose rows open Images filtered to one collection (`#/collection/`) with rename and delete, Add to collection and Remove from collection in the Images selection bar, a Collections… checklist in the shared inspector for the side panel and the viewer, and saved views that keep a collection. Membership survives restarts, source reordering and System › Maintenance duplicate cleanup; no file is copied, moved or changed. ## Scope and compatibility @@ -69,14 +69,16 @@ regression coverage with mockup-only tests. ## GitHub and release gates -Extend existing required workflows: the Python 3.10–3.13 matrix on Linux, -Windows and macOS; 85% Python coverage; formatting; frontend units and per-file -coverage floors; vendor checks; browser workflows; real ComfyUI compatibility. +Extend existing required workflows: the Python suite on Linux (3.12 on a pull +request, 3.12–3.14 in the merge queue; Windows 3.12–3.14 runs in `portability.yml` +and does not gate a merge; macOS is not tested in CI, #571); 85% Python coverage; +formatting; frontend units and per-file coverage floors; vendor checks; browser +workflows; real ComfyUI compatibility. Python 3.12 is the floor. Publish traces, screenshots, logs and coverage artifacts on failures. See [TESTING.md](../TESTING.md) for commands and fixture isolation requirements. -Every PR must map acceptance criteria to tests, report relevant checks and include -screenshots for visual changes. All required checks must pass before merging. +Every PR must map acceptance criteria to tests, report relevant checks and describe +visual changes in words; never attach screenshots or other images to a PR. All required checks must pass before merging. Use maintainer live review at meaningful visual and host-integration milestones; capture discovered regressions in automated tests. Notify the maintainer when Python changes require a ComfyUI restart. diff --git a/tests/browser/library-concept.spec.mjs b/tests/browser/library-concept.spec.mjs index 941f603c..8a2dc88e 100644 --- a/tests/browser/library-concept.spec.mjs +++ b/tests/browser/library-concept.spec.mjs @@ -21,7 +21,7 @@ export function mapLibraryConcept(reference) { // Save view is the concept's own (saved views, #249 D16 retired). const toolbar={...library.toolbar}; toolbar.items=toolbar.items.map(item=>{ - // D14: the Library appends its Oldest first after the concept's sorts; D153 (#447) drops "Highest rated"; D205 + // D14: the Library appends its Oldest first after the concept's sorts; D153 (#447) drops "Highest rated"; D206 // (#620) appends the old Dashboard's three sorts. if(item.id==='sort')return {...item,options:[...item.options.filter(option=>option!=='Highest rated'),'Oldest first','Recently used','Most used','Name Z–A']}; // D36: the category list is the Library's real list, sorted alphabetically; the concept lists prompt order.