diff --git a/docs/CURRENT/CATALOGS/WBS_PROGRESS_TRACKER.csv b/docs/CURRENT/CATALOGS/WBS_PROGRESS_TRACKER.csv index 91308206..d056d23a 100644 --- a/docs/CURRENT/CATALOGS/WBS_PROGRESS_TRACKER.csv +++ b/docs/CURRENT/CATALOGS/WBS_PROGRESS_TRACKER.csv @@ -51,3 +51,4 @@ V13-FE-003,S0,Cross,UiAdapter Port 정의,COMPLETED,2026-08-09,"docs/CURRENT/V13 V13-FE-004,S0,Cross,PrimeVue/AG Grid Adapter 구현,COMPLETED,2026-08-09,"docs/CURRENT/V13-FE-004_ADAPTER_IMPLEMENTATION_RECONCILIATION.md; frontend/src/shared/ui/adapter/primevue; frontend/src/shared/ui/adapter/tests/uiAdapter.contract.spec.ts",FE Architect/QA,"Dependency V13-FE-003 is COMPLETED. PrimeVue/AG Grid remain confined behind adapter v4. Actual targeted Vitest evidence: 2 files / 4 tests passed, exit 0, 2026-08-09. This is contract/accessibility-attribute evidence only; no visual/AT/runtime claim is made." V13-FE-005,S0,Cross,Ks* vendor-neutral components,COMPLETED,2026-08-09,"docs/CURRENT/V13-FE-005_KBX_FORM_COMPONENT_ADOPTION.md; frontend/src/shared/ui/components/KsFormGrid.vue; frontend/src/shared/ui/components/KsFormSection.vue; frontend/src/shared/ui/components/KsFormSpan.vue; frontend/src/shared/ui/components/KsValidationSummary.vue; frontend/src/shared/ui/components/tests/KsFormLayouts.spec.ts",FE Architect/QA,"Dependency V13-FE-004 is COMPLETED. Reimplemented only KBX presentation-only form components against existing K-ArtSell tokens; no KBX package, contracts, provider dependency, routing, permissions, or business policy imported. Actual evidence: targeted Vitest 2 files / 6 tests passed and pnpm typecheck exit 0 on 2026-08-09. Visual/AT/performance baseline remains outside this Slice." V13-FE-006,S0,Cross,AppShell/Page layouts,COMPLETED,2026-08-09,"docs/CURRENT/V13-FE-006_LAYOUT_CONTRACT_RECONCILIATION.md; frontend/src/shared/ui/layouts/tests/layout.contract.spec.ts; frontend/src/shared/ui/layouts/AppShellLayout.vue; frontend/src/shared/ui/layouts/PageLayout.vue",UX/FE/QA/Security,"Dependency V13-FE-005 is COMPLETED. Preserved the existing slot-based layout rather than importing KBX's coupled workspace shell. Actual DOM contract evidence: 1 file / 2 tests passed, exit 0, 2026-08-09; verifies skip navigation, structural landmarks, default automation OFF boundary, and evidence/aside/footer separation. No visual/AT/E2E claim is made." +V13-FE-011,S6,Cross,T01 검색목록 화면 템플릿,IN_PROGRESS,TBD,"docs/CURRENT/V13-FE-011_T01_SEARCH_LIST_LAYOUT_SLICE_NOTE.md; frontend/src/shared/ui/screen-types/v2/SearchListCrudPage.vue; frontend/src/shared/ui/screen-types/tests/SearchListCrudPage.spec.ts; evidence/V13-FE-011/t01-search-list-layout_20260809.log",UX/FE,"2026-08-09: Scope limited to adapter-neutral T01 composition: list body plus optional detail region through CrudWorkspaceLayout. Actual execution evidence: targeted Vitest 1 file / 2 tests passed; pnpm typecheck passed. Dependency V13-FE-006 is completed. MVP-A Gate passage, visual/assistive-technology approval, and Playwright evidence are not claimed." diff --git a/docs/CURRENT/V13-FE-011_T01_SEARCH_LIST_LAYOUT_SLICE_NOTE.md b/docs/CURRENT/V13-FE-011_T01_SEARCH_LIST_LAYOUT_SLICE_NOTE.md new file mode 100644 index 00000000..69ae55a5 --- /dev/null +++ b/docs/CURRENT/V13-FE-011_T01_SEARCH_LIST_LAYOUT_SLICE_NOTE.md @@ -0,0 +1,31 @@ +# V13-FE-011 — T01 Search/List layout composition + +| Item | Value | +| --- | --- | +| Requirement / API / DB / Job / UI / Test | REQ-FE-T01 / Cross / Cross / Cross / UI-T01 / T-FE-T01-01 | +| Dependency | V13-FE-006 — completed in `WBS_PROGRESS_TRACKER.csv` | +| Gate | MVP-A — implementation evidence only; Gate passage is not claimed | +| Artifact | `SearchListCrudPage.vue`; component contract test | + +## Source / Assumption / Unknown / Decision Required + +- **Source:** `DEC-046` approves T01~T10 standard screen types. `FE_COMPONENT.csv` defines T01 as a list screen composed from shared layouts. `UiStandardPage.vue` is the current T01 consumer. +- **Assumption:** T01 needs one responsive workspace boundary for its list body and optional detail region; `CrudWorkspaceLayout` already provides that adapter-neutral responsibility. +- **Unknown:** MVP-A Gate passage and visual/assistive-technology approval evidence are not present in the tracker. +- **Decision Required:** UX/QA approval is required before marking this WBS item completed at MVP-A. + +## Scope + +- Compose the existing T01 screen type with `CrudWorkspaceLayout`. +- Preserve named slots and `StandardScreenBoundary` state handling. +- Add a focused DOM contract test for the main/detail layout relationship. + +## Out of scope + +- Feature-page migration, new provider capabilities, API/data changes, visual approval, and Playwright evidence. + +## Actual execution evidence + +- `pnpm test -- --run src/shared/ui/screen-types/tests/SearchListCrudPage.spec.ts` — 1 file / 2 tests passed, exit 0. +- `pnpm typecheck` — `vue-tsc --noEmit`, exit 0. +- Preserved output: `evidence/V13-FE-011/t01-search-list-layout_20260809.log`. diff --git a/evidence/V13-FE-011/t01-search-list-layout_20260809.log b/evidence/V13-FE-011/t01-search-list-layout_20260809.log new file mode 100644 index 00000000..4993f3d0 --- /dev/null +++ b/evidence/V13-FE-011/t01-search-list-layout_20260809.log @@ -0,0 +1,20 @@ +WBS_ID: V13-FE-011 +Date: 2026-08-09 (Asia/Seoul) + +Command: +pnpm test -- --run src/shared/ui/screen-types/tests/SearchListCrudPage.spec.ts + +Result: +Test Files 1 passed (1) +Tests 2 passed (2) +Exit code 0 + +Command: +pnpm typecheck + +Result: +vue-tsc --noEmit +Exit code 0 + +Scope note: +This is component-layout contract and TypeScript evidence only. It does not claim MVP-A, visual, assistive-technology, performance, or Playwright acceptance. diff --git a/frontend/src/shared/ui/screen-types/tests/SearchListCrudPage.spec.ts b/frontend/src/shared/ui/screen-types/tests/SearchListCrudPage.spec.ts new file mode 100644 index 00000000..452b413a --- /dev/null +++ b/frontend/src/shared/ui/screen-types/tests/SearchListCrudPage.spec.ts @@ -0,0 +1,33 @@ +import { mount } from '@vue/test-utils' +import { describe, expect, it } from 'vitest' +import SearchListCrudPage from '../v2/SearchListCrudPage.vue' + +describe('SearchListCrudPage', () => { + it('keeps the T01 list body and optional detail in the shared responsive workspace', () => { + const wrapper = mount(SearchListCrudPage, { + props: { + title: '고객 목록', + state: 'READY', + evidence: { asOf: '2026-08-09T00:00:00Z', version: 'v1' } + }, + slots: { + default: '
목록
', + detail: '
상세
' + } + }) + + expect(wrapper.get('.ks-crud-workspace__body').classes()).toContain('has-aside') + expect(wrapper.get('main [data-test="list"]').text()).toBe('목록') + expect(wrapper.get('aside [data-test="detail"]').text()).toBe('상세') + }) + + it('does not render an empty detail region when the T01 caller has no selection', () => { + const wrapper = mount(SearchListCrudPage, { + props: { title: '고객 목록', state: 'READY' }, + slots: { default: '
목록
' } + }) + + expect(wrapper.find('.ks-crud-workspace__body').classes()).not.toContain('has-aside') + expect(wrapper.find('.ks-crud-workspace aside').exists()).toBe(false) + }) +}) diff --git a/frontend/src/shared/ui/screen-types/v2/SearchListCrudPage.vue b/frontend/src/shared/ui/screen-types/v2/SearchListCrudPage.vue index fe43c5f5..48b71bca 100644 --- a/frontend/src/shared/ui/screen-types/v2/SearchListCrudPage.vue +++ b/frontend/src/shared/ui/screen-types/v2/SearchListCrudPage.vue @@ -1,2 +1,24 @@ - - + + +