Webdev-Bench / tasks /c29 /task.json
Roy-DOU's picture
Translate all 40 tasks to English
c14c78f verified
Raw History Blame Contribute Delete
15.2 kB
{
"task_id": "c29",
"layer": "composite",
"seed_type": "brownfield",
"operators": [
"make responsive",
"restyle",
"repair",
"remove section"
],
"difficulty": "regular",
"levers": [
"state coupling"
],
"domain": "content & news",
"repair": true,
"inject_type": "selector drift",
"seed_meta": {
"repo_src": null,
"exclude_slug": "react_en_000807",
"repo_shot": true
},
"title": "Dispatch homepage revamp: remove section, night-reading skin, fix broken scrolling, and three-tier responsive layout",
"milestones": [
{
"operator": "remove section",
"request": "The most urgent first: that whole light-colored \"The Button / digital proof of authenticity\" section is being taken down this week — legal hasn't approved it. Remove the whole section from the homepage — the entire light-background block, the small line DIGITAL PROOF OF AUTHENTICITY above it, the big heading 'Introducing The Button: our digital superhero', the Read the story link below, and the six circular relief patterns floating all over — leave none of it. After removing it, don't leave a white seam in the middle of the page or a big blank screen; the Lost Recording short film section should flow straight into the footer. The back-to-top arrow in the top right of the footer must still work as before."
},
{
"operator": "restyle",
"request": "Next, restyle the whole site with the night-reading skin of our news brand \"Dispatch\". Stop using that dead black as the base color — go with ink blue #0B1520 uniformly (page body background, the dark canvas of the fragrance + subscription block, and the footer are all this color); the all-caps small labels at the top of each section and the subtitle on the first screen — these explanatory small texts — use the cool gray #9AA7B4 uniformly; all clickable text links (Discover the design, Discover the fragrances, Explore the Film, the subscription one), the background of the first-screen Enter button, the footer back-to-top arrow, and the selected state of the subscription identity — all use our amber #C8922F. Stylistically we're an editorial house, keep it restrained — the big heading on the first screen stays white, don't turn the screen gold; don't tint the section headings either. The rule is: only clickable and selected things use amber, one rule across the site. Also update the brand attribution: the two moooi wordmarks — in the first-screen header and the top bar of the menu overlay — both become lowercase dispatch (keep that wide letter-spacing feel), and the footer copyright line becomes ©2025 Dispatch; leave the other English copy alone this round. Also the country selector in the footer: change the button label to Select your region, and make the list match our current distribution regions. Ops sent me this string (scrambled order, sort it out yourself): Netherlands, Belgium, Luxembourg, Germany, France, Italy, Spain, Portugal, Switzerland, Austria, Denmark, Sweden, Norway, Finland, Iceland, Ireland, United Kingdom, Poland, Czechia, Hungary, Greece, Türkiye, Israel, United Arab Emirates, South Africa, India, Thailand, Vietnam, Singapore, Malaysia, Indonesia, Philippines, China, Japan, South Korea, Australia, New Zealand, Canada, United States, Brazil, Chile, Argentina — don't miss a single one; opening it shows the full list, selecting someone shows them on the button and collapses the list."
},
{
"operator": "repair",
"request": "Readers complain about an old problem: clicking the Enter button in the middle of the first screen does nothing, and Discover the design in the Boogie section on the second screen doesn't work either; Enter used to smoothly scroll to the Boogie screen, and Discover the design used to pin the Boogie screen to the very top of the viewport. Find it and fix it, and don't break other buttons while you're at it (menu badge, Sound toggle, footer region selector, back to top all must keep working). Also check that the subscription path is complete: choose an identity → enter email → click subscribe shows a thank-you message → editing the email again returns to a submittable state, and the already-selected identity must not be reset in the middle."
},
{
"operator": "make responsive",
"request": "Finally, fix mobile. Right now it's terrible on phones: the first-screen text is crammed together and overlapping, and you can drag a horizontal scrollbar out of the sides. Please tune the homepage at all three tiers — phone 375, tablet 768, desktop 1440: on the first screen the small label, big heading, subtitle, Enter, Sound, and Menu badge should stack top to bottom without overlapping and all stay within the first screen; the menu overlay, subscription form, footer navigation, and region list must all be fully usable on mobile, not overflow the screen, and be tappable. Don't mess up the desktop version's look; the previously decided skin and the just-fixed scrolling must work equally well on small screens."
}
],
"checklist": [
{
"id": "remove.copy.gone",
"m": 1,
"dimension": "coverage",
"w": 1.5,
"description": "Searching the whole page at any scroll position, the texts 'Introducing The Button', 'Digital proof of authenticity' (including case variants) and 'Read the story' do not exist; and there is no \"full-screen light block\" anywhere — defined as a visible block whose background RGB has all three channels ≥230 and whose own visible height is ≥80% of the viewport height."
},
{
"id": "remove.discs.gone",
"m": 1,
"dimension": "visual",
"w": 1.0,
"description": "No circular relief decorative image is rendered any more (all six original disc-a~disc-f images are gone, and the page's total image count decreases by 6 accordingly)."
},
{
"id": "remove.seam",
"m": 1,
"dimension": "functional",
"w": 1.5,
"description": "The vertical gap between the bottom edge of the Lost Recording short film block and the top edge of the footer is no more than 8px, with no other visible block or blank screen between them."
},
{
"id": "remove.backtotop",
"m": 1,
"dimension": "interaction",
"w": 1.0,
"description": "After scrolling to the bottom of the page and clicking the up arrow in the footer, the page returns to the top (vertical scroll back to 0±5px) and the first-screen heading 'A LIFE EXTRAORDINARY' reappears in the viewport."
},
{
"id": "skin.bg.navy",
"m": 2,
"dimension": "visual",
"w": 1.5,
"description": "The page body background (body / the container holding the first screen), the dark canvas containing 'Stay in the loop', and the footer all sample as #0B1520 (±3 per channel) at the three points, no longer the original #010101/near-black."
},
{
"id": "skin.accent.links",
"m": 2,
"dimension": "visual",
"w": 1.5,
"description": "The text and underline colors of the Discover the design, Discover the fragrances, Explore the Film, and subscribe-submit text links are all #C8922F (±3); meanwhile the first-screen big heading 'A LIFE EXTRAORDINARY' is still white (near #FFFFFF) and has not been tinted amber."
},
{
"id": "skin.accent.controls",
"m": 2,
"dimension": "visual",
"w": 1.0,
"description": "The background of the first-screen Enter button is #C8922F (±3), and the stroke/fill of the footer back-to-top arrow is also #C8922F (±3)."
},
{
"id": "skin.wordmark",
"m": 2,
"dimension": "coverage",
"w": 1.0,
"description": "All three brand attribution spots have been replaced: the wordmarks in the first-screen header and the menu overlay top bar both display lowercase 'dispatch' with clearly wide letter-spacing (tracking no less than 0.3× the font size), and the footer copyright line displays '©2025 Dispatch'; moooi/Moooi no longer appears in these three places. Other English copy on the page (such as the subscribe button copy) is not constrained by this item."
},
{
"id": "skin.region.count",
"m": 2,
"dimension": "functional",
"w": 1.5,
"description": "The footer region button's initial label is 'Select your region'; opening it shows exactly 42 items, including Türkiye, United Arab Emirates, Argentina, and Czechia."
},
{
"id": "skin.region.select",
"m": 2,
"dimension": "interaction",
"w": 1.0,
"description": "At 1440 wide, clicking Argentina in the expanded region list collapses the list and changes the button text to Argentina; opening the list again still shows 42 items, and after selecting Japan the button text becomes Japan."
},
{
"id": "skin.restraint",
"m": 2,
"dimension": "visual",
"w": 1.0,
"description": "Explanatory small text is cool gray #9AA7B4 (±3): the first-screen 'Moooi presents' label, the fragrance section's 'Brand-new' label, the short film section's 'A series of short films' label and the first-screen subtitle 'A unique journey through the unexpected.' all satisfy this at four sample points; and these four plus the Boogie and fragrance section headings are all non-amber, i.e. amber appears only on clickable elements and selected states, consistently across the four sections."
},
{
"id": "fix.enter.scroll",
"m": 3,
"dimension": "functional",
"w": 1.5,
"description": "At 1440 wide, with the page at the top, clicking Enter causes the page to scroll down (vertical scroll > 500px), and after scrolling stops the heading 'Boogie to the rhythm of Space' is fully in the viewport."
},
{
"id": "fix.anchor.link",
"m": 3,
"dimension": "functional",
"w": 1.0,
"description": "First scroll the page to the fragrance section ('A scent journey' heading visible) as the starting point, then click 'Discover the design' in the Boogie section: the page should scroll up and pin the Boogie section to the very top of the screen (the block's top edge within 10px of the viewport top, its heading in the viewport); if the viewport position after the click is unchanged from the moment of clicking, it fails."
},
{
"id": "fix.regress.menu",
"m": 3,
"dimension": "interaction",
"w": 1.0,
"description": "After the fix, clicking the Menu badge still opens the full-screen menu overlay showing the six links Products, Brand-new, Stories, Spaces, Showrooms, Contact; clicking Close closes the overlay, and the page's vertical scroll position is the same as before opening the menu (difference no more than 5px)."
},
{
"id": "fix.regress.footer",
"m": 3,
"dimension": "functional",
"w": 1.0,
"description": "After the fix the footer region selector can still expand 42 items and complete a selection (after selecting Canada the button shows Canada); clicking the first-screen Sound button toggles back and forth between 'Sound on' and 'Sound off'; the Enter button background is still #C8922F (±3)."
},
{
"id": "fix.chain.newsletter",
"m": 3,
"dimension": "interaction",
"w": 1.5,
"description": "The full chain works: click Press → Press is highlighted with the highlight color #C8922F (±3) and Consumer loses its highlight at the same time → type reader@dispatch.io into the email box and submit, the submit button copy becomes the thank-you copy → type one more character into the email box, the button copy reverts to the initial subscribe copy, and Press is still the selected identity (not reset to Consumer)."
},
{
"id": "rwd.no.hscroll",
"m": 4,
"dimension": "visual",
"w": 1.5,
"description": "At a 375-wide viewport the page produces no horizontal scrolling (document scroll width no more than viewport width +1px), including with the footer region list expanded; and the five footer navigation items (region button, Press Area, Shipping & Return Policy, FAQ, Newsletter) are all fully visible, untruncated, with both left and right edges inside the viewport."
},
{
"id": "rwd.region.mobile",
"m": 4,
"dimension": "interaction",
"w": 1.0,
"description": "At 375 wide, clicking the footer region button expands the list and the items are fully visible (not clipped by the viewport's left/right edges); clicking Canada collapses the list and the button text becomes Canada; then clicking the footer FAQ link produces no page error and no horizontal displacement."
},
{
"id": "rwd.hero.stack",
"m": 4,
"dimension": "visual",
"w": 1.5,
"description": "At 375 wide the six elements on the first screen — small label, big heading, subtitle, Enter button, Sound button, Menu badge — are arranged top to bottom, with no overlapping bounding boxes between any two, and all within the first-screen block's vertical range (not spilling into the next block)."
},
{
"id": "rwd.enter.mobile",
"m": 4,
"dimension": "interaction",
"w": 1.5,
"description": "At 375 wide, clicking Enter still scrolls to the Boogie section (the heading 'Boogie to the rhythm of Space' enters the viewport); after clicking Menu to open the overlay, each of the six links' text on its line is fully visible, neither truncated nor overflowing the screen, and clicking any one of them closes the overlay."
},
{
"id": "rwd.state.coupling",
"m": 4,
"dimension": "functional",
"w": 1.0,
"description": "At 375 wide the subscription section's three identity options and email input are all fully visible and within the viewport width, and after clicking Press the highlight color is still #C8922F (±3); meanwhile at all three widths 375, 768, and 1440 the 'Introducing The Button' copy cannot be found and no full-screen light block with background RGB all channels ≥230 exists."
},
{
"id": "rwd.desktop.intact",
"m": 4,
"dimension": "visual",
"w": 1.0,
"description": "At 1440 wide the desktop layout stays as-is: the first-screen big heading is large centered serif uppercase text (visibly larger than at 375), the Boogie section is still a full-screen background image with centered copy, and the footer navigation links are still arranged vertically, not polluted by mobile styles."
},
{
"id": "rwd.tablet",
"m": 4,
"dimension": "functional",
"w": 1.0,
"description": "At 768 wide there is likewise no horizontal scrolling, and clicking Enter scrolls the page so that the Boogie section heading enters the viewport."
}
],
"inject": {
"type": "selector drift",
"saboteur_prompt": "In src/components/FeatureDome.jsx, change the id on that section from \"brand-new\" to \"feature-dome\" (change only this one attribute value). Do not modify document.getElementById('brand-new') in scrollToNext in src/components/Hero.jsx, and do not modify the text-link's href=\"#brand-new\" inside FeatureDome. The result: clicking the Enter button on the first screen and clicking 'Discover the design' both no longer scroll to that section, with no console errors (getElementById returns null and is swallowed by optional chaining; the anchor has no matching target). Do not add any comments or TODOs, do not change styles, copy, other components, or any unrelated functionality; don't leave explanatory strings in the commit."
},
"qc_static": [],
"review_status": "needs_human"
}