You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2026/09/06 14:56:14 UTC
(causeway) 03/19: docs(openspec): archive title-free preview change
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch htmx
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 5881c50181ce451049ccc13c609964d4d43f014b
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Fri Sep 4 20:43:47 2026 +0100
docs(openspec): archive title-free preview change
---
.../.openspec.yaml | 0
.../design.md | 0
.../proposal.md | 0
.../generic-htmx-web-component-viewer/spec.md | 0
.../specs/generic-vue-web-component-viewer/spec.md | 0
.../tasks.md | 0
.../generic-htmx-web-component-viewer/spec.md | 23 ++++++++++++++++++++++
.../specs/generic-vue-web-component-viewer/spec.md | 23 ++++++++++++++++++++++
8 files changed, 46 insertions(+)
diff --git a/openspec/changes/remove-preview-fragment-titles/.openspec.yaml b/openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/.openspec.yaml
similarity index 100%
rename from openspec/changes/remove-preview-fragment-titles/.openspec.yaml
rename to openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/.openspec.yaml
diff --git a/openspec/changes/remove-preview-fragment-titles/design.md b/openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/design.md
similarity index 100%
rename from openspec/changes/remove-preview-fragment-titles/design.md
rename to openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/design.md
diff --git a/openspec/changes/remove-preview-fragment-titles/proposal.md b/openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/proposal.md
similarity index 100%
rename from openspec/changes/remove-preview-fragment-titles/proposal.md
rename to openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/proposal.md
diff --git a/openspec/changes/remove-preview-fragment-titles/specs/generic-htmx-web-component-viewer/spec.md b/openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/specs/generic-htmx-web-component-viewer/spec.md
similarity index 100%
rename from openspec/changes/remove-preview-fragment-titles/specs/generic-htmx-web-component-viewer/spec.md
rename to openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/specs/generic-htmx-web-component-viewer/spec.md
diff --git a/openspec/changes/remove-preview-fragment-titles/specs/generic-vue-web-component-viewer/spec.md b/openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/specs/generic-vue-web-component-viewer/spec.md
similarity index 100%
rename from openspec/changes/remove-preview-fragment-titles/specs/generic-vue-web-component-viewer/spec.md
rename to openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/specs/generic-vue-web-component-viewer/spec.md
diff --git a/openspec/changes/remove-preview-fragment-titles/tasks.md b/openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/tasks.md
similarity index 100%
rename from openspec/changes/remove-preview-fragment-titles/tasks.md
rename to openspec/changes/archive/2026-09-04-remove-preview-fragment-titles/tasks.md
diff --git a/openspec/specs/generic-htmx-web-component-viewer/spec.md b/openspec/specs/generic-htmx-web-component-viewer/spec.md
index 9ca9fda2376..268fe961a85 100644
--- a/openspec/specs/generic-htmx-web-component-viewer/spec.md
+++ b/openspec/specs/generic-htmx-web-component-viewer/spec.md
@@ -1647,3 +1647,26 @@ The agreement SHALL be presented in the PetOwner secondary column with its redun
- **WHEN** browser automation selects percentage, page-height, page-fit, and page-width zoom choices in the HTMX-hosted agreement reader
- **THEN** the shared foundation selector reports each choice and preserves the current page
- **AND** restoring page width requires no HTMX-specific behavior and causes no host-page movement or horizontal overflow
+
+### Requirement: Concise Petclinic preview composition
+
+The HTMX Petclinic application SHALL keep each collection row's authoritative title and canonical object link in the row and SHALL omit a repeated `<cw-object-header>` from the expanded preview body.
+Title-free preview composition MUST preserve the selected detail members, actions, nested collections, context hydration, accessible preview label, and lifecycle behavior.
+
+#### Scenario: Runtime-type default preview expands
+
+- **WHEN** an Owner, Pet, or Visit row expands an authored runtime-type preview resource
+- **THEN** the live preview contains no `<cw-object-header>` and does not repeat the row title
+- **AND** its declared detailed properties, actions, or nested collections remain available
+
+#### Scenario: Inline Pet preview expands
+
+- **WHEN** the PetOwner page expands its inline Pet preview
+- **THEN** the live preview begins with useful Pet details rather than a repeated object header
+- **AND** editable notes, the preview action, and nested visits remain available under the selected row context
+
+#### Scenario: Maintainer inspects preview resources and examples
+
+- **WHEN** a maintainer inspects Petclinic preview resources, inline declarations, or the foundation usage example
+- **THEN** preview bodies demonstrate title-free composition
+- **AND** page-level object headers remain present where they identify the current route object
diff --git a/openspec/specs/generic-vue-web-component-viewer/spec.md b/openspec/specs/generic-vue-web-component-viewer/spec.md
index e984b20887b..0cfc3f81f1a 100644
--- a/openspec/specs/generic-vue-web-component-viewer/spec.md
+++ b/openspec/specs/generic-vue-web-component-viewer/spec.md
@@ -558,3 +558,26 @@ Vue wrapper markup MUST NOT duplicate or override foundation PDF navigation or r
- **WHEN** browser automation selects percentage, page-height, page-fit, and page-width zoom choices in the Vue-hosted agreement reader
- **THEN** Vue delegates each choice to the same foundation selector and preserves the current page
- **AND** behavior, host-page stability, and responsive overflow remain equivalent to HTMX
+
+### Requirement: Concise Vue Petclinic preview parity
+
+The Vue Petclinic application SHALL match the HTMX reference by retaining each collection row's authoritative title and canonical object link while omitting a repeated `<cw-object-header>` from expanded preview content.
+Its title-free inline previews MUST preserve the same useful details, actions, nested collections, hydrated context, accessible labels, and lifecycle semantics as the HTMX composition.
+
+#### Scenario: Vue Home preview expands
+
+- **WHEN** an Owner or Visit row preview expands on the Vue Home page
+- **THEN** the live preview contains no `<cw-object-header>` and does not repeat the row title
+- **AND** the selected Owner or Visit details remain available
+
+#### Scenario: Vue PetOwner preview expands
+
+- **WHEN** a Pet or Visit row preview expands on the Vue PetOwner page
+- **THEN** the live preview contains no repeated object header
+- **AND** its selected properties, actions, or nested collection remain available under the authoritative row context
+
+#### Scenario: Vue route page renders
+
+- **WHEN** an exact Vue object route renders outside a collection preview
+- **THEN** its page-level `<cw-object-header>` remains present
+- **AND** removing preview titles does not weaken route identity or application navigation