diff --git a/guides/dev-guide.ts b/guides/dev-guide.ts index 4cdaf2b99..e6d858860 100644 --- a/guides/dev-guide.ts +++ b/guides/dev-guide.ts @@ -339,6 +339,7 @@ async function runAgentTest(targetDir: string, guideName: string, guidedOnly = f numRuns: 1, skipEval: true, guidedOnly, + suiteConfig, }); // 3. Grade agent output (unguided + guided) diff --git a/guides/user-experience/context-sensitive-sticky-headers/expectations.md b/guides/user-experience/context-sensitive-sticky-headers/expectations.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/guides/user-experience/context-sensitive-sticky-headers/guide.md b/guides/user-experience/context-sensitive-sticky-headers/guide.md deleted file mode 100644 index 0a3fa09e8..000000000 --- a/guides/user-experience/context-sensitive-sticky-headers/guide.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -name: context-sensitive-sticky-headers -description: Build sticky section headers or navbars that visually transform when they're actually "stuck" at the top, collapsing, changing their color scheme, gaining a shadow, or switching to a more compact layout. -web-feature-ids: - - container-scroll-state-queries ---- diff --git a/guides/user-experience/context-sensitive-sticky-headers/demo.html b/guides/user-experience/state-aware-sticky-headers/demo.html similarity index 58% rename from guides/user-experience/context-sensitive-sticky-headers/demo.html rename to guides/user-experience/state-aware-sticky-headers/demo.html index d5a4acb8b..2341c9220 100644 --- a/guides/user-experience/context-sensitive-sticky-headers/demo.html +++ b/guides/user-experience/state-aware-sticky-headers/demo.html @@ -3,7 +3,7 @@ - Context-Sensitive Sticky Headers + State-Aware Sticky Headers + + + + +
+ +
+
Content Block 1
+
Content Block 2
+
Content Block 3
+
Content Block 4
+
Content Block 5
+
+ + + + diff --git a/guides/user-experience/state-aware-sticky-headers/tasks/task.md b/guides/user-experience/state-aware-sticky-headers/tasks/task.md new file mode 100644 index 000000000..71029b1fd --- /dev/null +++ b/guides/user-experience/state-aware-sticky-headers/tasks/task.md @@ -0,0 +1,5 @@ +--- +base_app: daily-grind +--- +- Add new section headers inside the main content area of the page (e.g., within the cards or sections). These headers should stick to the top when scrolling. Use the class `sticky-container` for the container and `sticky-header` for the header. To avoid collisions with the existing site navigation, use a named container. When the headers are stuck at the top, change their background color to blue and add a shadow. Ensure there is enough scrollable content *above* the first sticky header so that it is not stuck on initial page load. The implementation should assume the document/viewport is the scroll root. +- Add sticky headers to the main sections of the page that stick to the top of the viewport as I scroll down. I want them to look compact and distinct when they are stuck, maybe a blue background with a shadow. Please use modern CSS container queries instead of Javascript so it's performant. Ensure there is enough scrollable content *above* the first sticky header so that it is not stuck on initial page load.