{ "task_id": "c28", "layer": "composite", "seed_type": "brownfield", "operators": [ "make interactive", "repair", "remove section", "wire up data" ], "difficulty": "regular", "levers": [ "non-local changes" ], "domain": "booking service", "repair": true, "inject_type": "style override", "seed_meta": { "repo_src": null, "exclude_slug": "react_zh_000080", "repo_shot": true }, "title": "tria studio booking overhaul (wire up data + three-step booking + tiered heading repair + remove the scrolling marquee)", "milestones": [ { "operator": "wire up data", "request": "This year we're opening the calendars of our three shooting studios and the online studio directly to clients for booking — first add a \"Book a session / BOOK A SESSION\" block after the case study list and before the footer. Schedule it for October 2025 (October 6 is a Monday); ops gave me a messy list, sort it out yourself: Alpha studio in Athens, Oct 6 to Oct 10, Monday to Friday, three sessions a day at 10:00, 14:00, 19:00; Beta studio in Thessaloniki only opens on five days — Oct 7, 9, 13, 15, 17 — with two sessions a day at 11:00 and 16:00; the online livestream studio Gamma has one session at 20:00 on weekday evenings between Oct 6 and Oct 17, i.e. 10/6, 10/7, 10/8, 10/9, 10/10, 10/13, 10/14, 10/15, 10/16, 10/17; Delta studio in Mykonos only does weekends, Oct 11, 12, 18, 19, two sessions a day at 09:30 and 15:00. Seat counts: Alpha 12 per session, Beta 8, Gamma 30, Delta 6. Prices: Alpha and Beta €120 per person, Gamma €45, Delta €150. Only these sessions are booked so far: Alpha Oct 6 10:00 is fully booked; Alpha Oct 8 14:00 has 11 booked; Beta Oct 9 16:00 fully booked; Gamma Oct 13 20:00 fully booked; Delta Oct 11 09:30 fully booked; everything else has sold none. Each row should show date, time, studio name (with city), unit price and seats left; fully booked ones must be obvious at a glance and can't be ordered. At the top of the section give me three numbers: total sessions, bookable sessions, and total remaining seats — the numbers must match the list below. Also add a new entry in the top nav that jumps straight to this section; don't change where the two old entries Agency and Works go. This block should be prominent enough to find at a glance, but don't mess up the site's tone: colors may only use the ones already on the site, no new colors." }, { "operator": "make interactive", "request": "The list is too long; clients need to pick. Give me filtering by studio (five options: All / Alpha / Beta / Gamma / Delta), an \"Only show ones with seats left\" toggle, and sorting that can switch between \"by time\" and \"price low to high\"; 12 rows per page with pagination for the rest, and any filter or sort change returns to page 1. Make booking a three-step flow: first click the book button on a session, then choose the number of people (at most 4, and no more than the seats left in that session), then land on the confirmation page and see the total before ordering. Pricing: 3 people or more get 10% off, and any odd cents in the result are simply dropped, leaving whole euros. After confirmation the session's remaining seats must actually decrease, and the summary numbers at the top must stay consistent. Step two must allow going back to pick another session, and going back resets the people count to 1. Also don't let a double-click on confirm deduct seats twice." }, { "operator": "repair", "request": "Another bug report: the case study headings were originally in a staggered stair-step layout (the \"A WAY / TO LABEL / SCENTS\" kind of indent, one level after another). It looks right when the page first opens, but after you scroll and they fade in, the lines along with the eyebrow above them all jump flush to the left — the stair step is gone, on all three case studies. Please fix it, keep the fade-in effect itself, and don't change anything else while you're at it." }, { "operator": "remove section", "request": "We don't want that black horizontal scrolling marquee at the bottom (the one saying DARE TO GO HYPER?, CONTACT US and that big purple cursor) — take the whole strip out. After deleting it the page shouldn't collapse, and don't leave a black edge or a big blank area; the top nav Contact must still work, but its destination changes to the booking section. Keep the blue footer block and the circular badge in the lower right as they are. After deleting, go through it yourself — the booking numbers, filters, and heading layout must not get broken." } ], "checklist": [ { "id": "data.rows.43", "m": 1, "dimension": "coverage", "w": 1.5, "description": "The booking section sits after the last case study (Onoma Hotel) and before the footer; the section heading contains \"Book a session\" and \"BOOK A SESSION\"; under the default filter the full data set is 43 slots (Alpha 15, Beta 10, Gamma 10, Delta 8), the first page shows exactly 12 rows, and pagination reaches all 43." }, { "id": "data.stats.exact", "m": 1, "dimension": "functional", "w": 1.5, "description": "The three stats at the top of the section are exactly: 43 total sessions, 39 bookable sessions, 541 remaining seats; all three are visible at the same time and consistent with the list data." }, { "id": "data.soldout.4", "m": 1, "dimension": "functional", "w": 1.0, "description": "Exactly 4 rows are marked fully booked (Alpha Oct 6 10:00, Beta Oct 9 16:00, Gamma Oct 13 20:00, Delta Oct 11 09:30), and these 4 have no clickable booking entry; Alpha Oct 8 14:00 shows 1 seat left and is still bookable." }, { "id": "data.fields.price", "m": 1, "dimension": "coverage", "w": 1.0, "description": "Each slot shows date, time, studio name (with city/online marker), unit price and seats left at the same time; unit prices are correct per studio: Alpha and Beta €120, Gamma €45, Delta €150." }, { "id": "data.style.palette", "m": 1, "dimension": "visual", "w": 1.0, "description": "The booking section uses only colors that already appear in the site's seed styles (black #0a0a0a, white #fff, blue #2622ff, pale yellow #f2eda2, the existing purple tones in the footer/hero), with no new hues absent from the seed (e.g. green, orange, red); within the section the book button, the fully-booked marker, and the filter selected state share one accent color, with no mixing of two different accents." }, { "id": "data.nav.entry", "m": 1, "dimension": "interaction", "w": 1.0, "description": "A new entry pointing to the booking section is added to the top nav; clicking it scrolls the page to that section and brings the \"Book a session / BOOK A SESSION\" heading into the viewport; meanwhile the Agency entry still scrolls to the footer intro area and the Works entry still scrolls to the case study area, with neither target changed." }, { "id": "filter.combo.counts", "m": 2, "dimension": "functional", "w": 1.5, "description": "All five studio filters are present with exact counts: All 43, Alpha 15, Beta 10, Gamma 10, Delta 8; combined with \"Only show ones with seats left\" they become 39, 14, 9, 9, 7 respectively." }, { "id": "filter.paging.reset", "m": 2, "dimension": "interaction", "w": 1.5, "description": "12 rows per page: by default 4 pages with 12/12/12/7; with \"Only show ones with seats left\" the last page has 3; while on page 3, switching any filter or sort immediately returns the list to page 1 and the first row is the first of the new result set." }, { "id": "sort.price.first", "m": 2, "dimension": "functional", "w": 1.0, "description": "Switching to \"Price low to high\" makes the first row on the first page the 45-euro online Gamma session; switching back to \"by time\" makes the first row the Oct 6 10:00 Alpha session; ties at the same price are still ordered by time." }, { "id": "book.chain.total", "m": 2, "dimension": "interaction", "w": 1.5, "description": "The three-step booking chain works end to end: click a session's book button → choose people → the confirmation page shows the total. A Gamma session with 3 people shows a total of 121 (45×3 with 10% off and odd cents dropped), a Delta session with 3 people shows 405, an Alpha session with 4 people shows 432, and 2 people or fewer get no discount (e.g. Alpha with 2 people is 240)." }, { "id": "book.limit.remain", "m": 2, "dimension": "functional", "w": 1.0, "description": "The step-two people cap is enforced both ways: an ordinary session with 4+ seats left (e.g. any Alpha session that isn't full) allows at most 4 people and can't go to 5; Alpha Oct 8 14:00 with 1 seat left allows at most 1 person and can't go to 2; after going back from step two to step one and choosing another session, the people count restarts at 1 rather than keeping the previous value." }, { "id": "book.stats.sync", "m": 2, "dimension": "functional", "w": 1.5, "description": "After booking 3 people for an unfilled Gamma session: that session's remaining seats decrease accordingly, the top total remaining seats goes from 541 to 538, total sessions is still 43, and bookable sessions still 39; clicking confirm twice in quick succession deducts only once (remaining seats must not become 535); sessions hidden by the filter do not appear in the booking flow." }, { "id": "fix.indent.zoniou", "m": 3, "dimension": "visual", "w": 1.5, "description": "After scrolling so the first case study finishes fading in, the headings are still in the stair-step layout: the left start of the \"TO LABEL\" line is clearly to the right of \"A WAY\" and \"SCENTS\" (about 5% of the viewport width, roughly 100px at 1920 wide), and the eyebrow \"Zoniou Perfumes\" is left-aligned with \"A WAY\" and \"SCENTS\" (no extra indent)." }, { "id": "fix.indent.others", "m": 3, "dimension": "visual", "w": 1.0, "description": "After fading in, the second case study's \"SOMETHING TO\" and \"GENERATION Z\" are still shifted right by about 5.9% of the viewport width (roughly 113px at 1920 wide) relative to \"TUNE IN\", and the eyebrow \"Shook Radio\" is left-aligned with \"TUNE IN\"; the third case study's eyebrow \"Onoma Hotel\" and \"A STORY OF AN\" / \"HOTEL\" are still shifted right by about 5% (roughly 96px) relative to \"INSTAGRAMMABLE\"." }, { "id": "fix.reveal.kept", "m": 3, "dimension": "interaction", "w": 1.0, "description": "The fade-in behavior itself is retained after the fix: a case study area that has never entered the viewport still transitions from transparent/offset-down to opaque when scrolled into place, rather than being static and visible from the start." }, { "id": "fix.regress.works", "m": 3, "dimension": "visual", "w": 1.0, "description": "The fix does not damage neighboring layout: the positions and size relationships of the three case study images are unchanged (first case image on the left, second full-width, third on the right), the three ↳ arrows are still in their original positions (the second case's arrow to the right of the heading, the third's at the lower left of the image), and clicking an arrow still gives a zoom-pulse feedback." }, { "id": "fix.regress.booking", "m": 3, "dimension": "functional", "w": 1.0, "description": "The fix does not damage the booking section: after the fix the stats are still 43 / 39 / 541 (assuming no orders placed), Gamma + in-stock-only is still 9 rows, and the three-step booking chain still completes." }, { "id": "del.marquee.gone", "m": 4, "dimension": "coverage", "w": 1.5, "description": "The black scrolling marquee's text \"DARE TO GO HYPER?\" and \"CONTACT US\" and the big purple cursor graphic no longer appear anywhere on the page, and there is no residual black empty strip or blank gap taller than one screen." }, { "id": "del.footer.intact", "m": 4, "dimension": "visual", "w": 1.0, "description": "The footer stays as-is: blue background, white text, the three lines of agency intro copy, the Facebook and Instagram links, © Tria 2021 and Privacy policy all present, and the round tria→hyper→Branding badge in the lower right unchanged in position." }, { "id": "del.nav.contact", "m": 4, "dimension": "interaction", "w": 1.5, "description": "Clicking Contact in the top nav scrolls to the booking section (that section's heading enters the viewport) — neither no reaction, nor jumping back to the top of the page or to the footer." }, { "id": "del.regress.stats", "m": 4, "dimension": "functional", "w": 1.0, "description": "After removing the marquee the booking section is intact: the stats are still 43 / 39 / 541, Delta + in-stock-only is still 7 rows, and a three-step booking can still be completed with the total remaining seats decreasing correctly." }, { "id": "del.regress.indent", "m": 4, "dimension": "visual", "w": 1.0, "description": "After removing the marquee, scrolling through the case study area again still shows the stair-step indentation of the three case study headings and eyebrows (they did not regress to all-left alignment)." } ], "inject": { "type": "style override", "saboteur_prompt": "After the works (case studies) style block in src/styles.css, insert a higher-priority override rule that only takes effect after the scroll fade-in completes, making the already-shown case study headings lose their stair-step indentation. Concretely: after the `.work-title .line` rule add a rule of the form `.reveal.is-visible .eyebrow, .reveal.is-visible .work-title .line { padding-left: 0; }` (the selector and writing style should match the rest of the file, with no comments and no !important so it isn't too conspicuous). Do not modify Works.jsx, useReveal.js, or any inline --indent value; do not touch the styles of header, hero, marquee, footer; must not produce console errors or layout errors. The effect should be: on first page load, while the elements haven't entered the viewport yet, the indentation is still there, but once the fade-in class is added, the three case studies' eyebrows and title lines all collapse to left alignment." }, "qc_static": [], "review_status": "needs_human" }