File size: 18,087 Bytes
dd5428d
 
 
 
 
c14c78f
 
 
 
 
dd5428d
c14c78f
dd5428d
c14c78f
 
dd5428d
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
 
c14c78f
dd5428d
 
c14c78f
 
dd5428d
 
c14c78f
 
dd5428d
 
c14c78f
 
dd5428d
 
c14c78f
 
dd5428d
 
c14c78f
 
dd5428d
 
 
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
 
c14c78f
dd5428d
c14c78f
dd5428d
 
 
c14c78f
 
dd5428d
 
 
c14c78f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
{
 "task_id": "c11",
 "layer": "composite",
 "seed_type": "brownfield",
 "operators": [
  "make responsive",
  "repair",
  "add section",
  "wire up data",
  "restyle"
 ],
 "difficulty": "challenging",
 "levers": [
  "data scale × combined state",
  "state coupling"
 ],
 "domain": "tool dashboard",
 "repair": true,
 "inject_type": "Conditional boundary error",
 "seed_meta": {
  "repo_src": null,
  "exclude_slug": "react_zh_001500",
  "repo_shot": true
 },
 "title": "Zeus Jones Website: Project Archive Tool Dashboard + Responsive and Dual-Theme Rework",
 "milestones": [
  {
   "operator": "add section",
   "request": "Our site currently only has a single case-study carousel and three cards, and the sales team gets asked \"how much work have you actually done\" by clients every day. I want to insert a panel that can page through our project archive, between the \"A few of our friends\" client list and the final \"Should we work together?\" block. Each project entry should show: client name, the type of work, which year, how many weeks it took, the budget (in tens of thousands of dollars), and its current status. At the top of the panel give me a summary line stating how many projects are in the list right now and the total budget of those projects in tens of thousands of dollars — note this must be computed live from the current list, don't hardcode the numbers. Default order is by year, newest to oldest, and within the same year the larger budget first. Style-wise keep it consistent with the site's existing dark tones — don't start over with a big white block; but this is our most persuasive content, so it has to grab attention as soon as someone scrolls here.\n\nThe list I exported from Feishu is a bit messy; transcribe it as-is, don't drop anything or change any numbers:\nBrand strategy has twelve in total — 3M (2019, 12 weeks, 880k, delivered), Allina (2020, 8 weeks, 540k, delivered), Aveda (2021, 16 weeks, 1.2M, in progress), Chipotle (2018, 10 weeks, 660k, delivered), General Mills (2022, 14 weeks, 950k, in progress), Hilton (2019, 9 weeks, 470k, on hold), Kohler (2023, 18 weeks, 1.32M, in progress), Medtronic (2020, 11 weeks, 730k, delivered), Nike (2024, 20 weeks, 1.6M, in progress), Target (2018, 7 weeks, 390k, delivered), UnitedHealthcare (2022, 13 weeks, 860k, delivered), Nestlé (2021, 6 weeks, 310k, on hold).\nProduct design, ten: Plantable (2019, 15 weeks, 1.02M, delivered), Askov Finlayson (2021, 5 weeks, 280k, on hold), Code42 (2020, 12 weeks, 780k, delivered), Facebook (2018, 22 weeks, 1.75M, delivered), Fidelity (2023, 10 weeks, 640k, in progress), Marvin Windows (2022, 8 weeks, 450k, delivered), Minnesota Twins (2019, 9 weeks, 520k, delivered), Blaze Pizza (2024, 4 weeks, 220k, in progress), Athena Jones (2023, 17 weeks, 1.18M, in progress), Nostos (2020, 6 weeks, 330k, on hold).\nContent production, nine: Minnesota United FC (2018, 6 weeks, 300k, delivered), Sliver Studio (2021, 3 weeks, 150k, delivered), Aveda Retail (2022, 7 weeks, 410k, delivered), Target Circle (2019, 5 weeks, 260k, delivered), Hilton Grand (2023, 11 weeks, 700k, in progress), 3M Futures (2024, 9 weeks, 580k, in progress), Chipotle Real (2020, 4 weeks, 210k, on hold), Kohler Bold (2018, 8 weeks, 440k, delivered), Nike Grind (2022, 12 weeks, 810k, delivered).\nUser research, seven: Allina Health Lab (2021, 6 weeks, 340k, delivered), Medtronic Care (2023, 10 weeks, 620k, in progress), Fidelity Wealth (2019, 5 weeks, 250k, delivered), General Mills Kitchen (2020, 7 weeks, 380k, delivered), Facebook Inclusive (2022, 9 weeks, 550k, on hold), Marvin Light (2024, 3 weeks, 180k, in progress), Plantable Clinic (2018, 4 weeks, 200k, delivered).\nCampaigns, also seven: Askov North (2022, 5 weeks, 290k, delivered), Nestlé Bloom (2019, 6 weeks, 360k, delivered), Minnesota Twins Opening (2023, 4 weeks, 240k, in progress), Code42 Secure (2021, 8 weeks, 490k, delivered), Blaze Fire (2018, 3 weeks, 170k, on hold), UnitedHealthcare Move (2024, 7 weeks, 430k, in progress), Athena Rise (2020, 10 weeks, 680k, delivered)."
  },
  {
   "operator": "wire up data",
   "request": "Laying out forty-odd entries in the archive panel at once is too long, and clients can't find the ones they care about. Add genuinely usable filtering: switch by type with one click (there should be an \"All\"), switch by status too (delivered / in progress / on hold, also with \"All\"), plus a client-name search box — don't be picky about case. Provide at least three sorts: default year newest-to-oldest, budget high-to-low, duration shortest-to-longest. Don't let the list run on endlessly — 8 per page, with pager controls below the list. A few details don't forget: as soon as you change a filter, change the search box, or change the sort, the page number must go back to page 1, otherwise clients page deep and then search and see a blank page; the summary line at the top must follow the currently filtered results, recomputing both the count and the total budget; when nothing matches there must be a clear empty-state message, not just a stretch of black; also give a one-click reset that restores filters, search and sort to exactly as they were on first entering the page."
  },
  {
   "operator": "repair",
   "request": "Another old bug to fix while you're at it: in the \"What we're working on\" carousel above, I keep clicking Next on the right, but the sixth piece of copy (the one about new rituals for sport) never shows up — after the fifth it jumps back to the first, and the counter in the top right has never shown 6. It's embarrassing when clients spot-check content and it never surfaces. While fixing it, don't lose the current fade-out/fade-in switching feel, and don't touch the white capsule button next to it."
  },
  {
   "operator": "make responsive",
   "request": "The boss opened our site on his phone and the page has to be dragged sideways to see it all — the header nav runs right off the screen, and the new archive panel is crammed into a mess on small screens. Clean the whole site up at phone width (assume 375 wide): no horizontal scrollbar, the header logo and nav laid out within one screen, the first-screen headline scaled down so it can be read in full, the archive panel's projects in a single column one per row, and the filter and sort controls either wrapping or horizontally scrollable — but each one must be reachable and its text must not be cut off. On desktop (above 1280) the original layout must not change at all — the two-end layout with logo left and nav right, the first-screen headline size, and the horizontal card row must all stay as they are (the theme toggle that the next requirement adds to the header is the exception — it's allowed to appear in the header)."
  },
  {
   "operator": "restyle",
   "request": "Watching this dark site on a big screen in the showroom during the day is dreary, and the media team wants a light version too. Add a theme toggle in the header with two positions: the current dark theme is the default, the other is light — light background, dark text, with the archive panel's cards switching to a light background with faint separators, comfortable to read. Keep the overall style restrained, not garish; but the filter selected state and current page number need some accent color anyway — pick one yourself, but the site may have only this one accent color, don't use green here and orange there. When switching back to dark, the original look of the hero gradient, the grain texture, the footer and the white-background black-text capsule button must stay exactly as they were. One more important thing: switching the theme is only a reskin — what I've filtered in the archive panel, which page I'm on, and which slide the carousel is on must all be preserved after the switch, don't reset them for me."
  }
 ],
 "checklist": [
  {
   "id": "panel.placement",
   "m": 1,
   "dimension": "coverage",
   "w": 1.0,
   "description": "The new project archive panel sits after the \"A few of our friends\" client list section and before the \"Should we work together?\" CTA; with no filtering applied the list has 6 pages in total, with exactly 8 project entries rendered on page 1."
  },
  {
   "id": "panel.total",
   "m": 1,
   "dimension": "functional",
   "w": 1.5,
   "description": "With no filtering, the panel's top summary line shows a project count of 45 and a total budget of 2612 (in tens of thousands of dollars), both numbers exactly matching."
  },
  {
   "id": "panel.sort.default",
   "m": 1,
   "dimension": "functional",
   "w": 1.5,
   "description": "Under the default order (year newest to oldest, larger budget first within the same year) the first three are, in order, Nike (2024, 1.6M), 3M Futures (2024, 580k), UnitedHealthcare Move (2024, 430k)."
  },
  {
   "id": "panel.fields",
   "m": 1,
   "dimension": "visual",
   "w": 1.0,
   "description": "Take the Kohler entry at random: the client name, type \"Brand strategy\", year 2023, duration 18 weeks, budget 1.32M and status \"In progress\" — all six fields are visible within the same entry with values matching the list."
  },
  {
   "id": "panel.skin.match",
   "m": 1,
   "dimension": "visual",
   "w": 1.0,
   "description": "The panel follows the site's dark tones (background in the same family as #1a1a1a, body text white or light gray), with no large white blocks; the existing colors and copy of the adjacent friends section and CTA section are unchanged."
  },
  {
   "id": "filter.industry",
   "m": 2,
   "dimension": "functional",
   "w": 1.5,
   "description": "After clicking type \"Product design\", the summary shows 10 projects, 7.17M total, and the list spans 2 pages with exactly 2 entries on page 2."
  },
  {
   "id": "filter.chain",
   "m": 2,
   "dimension": "interaction",
   "w": 1.5,
   "description": "Full chain: select \"Product design\", go to page 2, then select status \"In progress\"; the page number automatically returns to page 1, the result is exactly 3 entries in the order Blaze Pizza, Athena Jones, Fidelity, the summary shows 3 projects, 2.04M total, and no page 2 exists."
  },
  {
   "id": "page.default",
   "m": 2,
   "dimension": "functional",
   "w": 1.0,
   "description": "With no filtering there are 8 per page, 6 pages in total, 5 on page 6; the last entry on page 1 (the 8th) is Hilton Grand (2023, 700k); the pager controls are below the list (not above it or to the side)."
  },
  {
   "id": "sort.switch",
   "m": 2,
   "dimension": "functional",
   "w": 1.0,
   "description": "With no filter, switching to \"Budget high-to-low\" makes the first entry Facebook (1.75M); switching to \"Duration shortest-to-longest\" makes the first three on page 1 all 3 weeks; each sort switch returns the page to page 1."
  },
  {
   "id": "search.resetpage",
   "m": 2,
   "dimension": "interaction",
   "w": 1.5,
   "description": "With no filter, first go to page 2, then type lowercase min in the search box: the page number automatically returns to 1, the list is exactly 3 entries all with client names containing Minnesota, and the summary shows 3 projects."
  },
  {
   "id": "search.empty",
   "m": 2,
   "dimension": "interaction",
   "w": 1.0,
   "description": "After changing the search term to zzz, a clear empty-state message appears, the summary becomes 0 projects and 0 total, and no clickable page numbers remain."
  },
  {
   "id": "reset.idem",
   "m": 2,
   "dimension": "interaction",
   "w": 1.0,
   "description": "Clicking the one-click reset in the empty state clears the search box, returns type and status to \"All\" and the sort to default, and restores the list to 6 pages with the first entry on page 1 being Nike; clicking reset twice more in a row leaves the result completely unchanged."
  },
  {
   "id": "fix.cycle",
   "m": 3,
   "dimension": "functional",
   "w": 1.5,
   "description": "Clicking Next repeatedly (waiting each time for the transition to finish) brings up the counter \"6 of 6\" and shows the sixth copy Creating new rituals for how the next generation experiences sport.; one more click returns to \"1 of 6\"."
  },
  {
   "id": "fix.noskip",
   "m": 3,
   "dimension": "functional",
   "w": 1.0,
   "description": "Starting from \"1 of 6\", clicking Next 5 times in a row gives counters strictly 2, 3, 4, 5, 6 of 6 — the fifth is followed by the sixth rather than jumping back to the first — and each of the 6 pieces of copy appears exactly once with no repeats."
  },
  {
   "id": "fix.regress.fade",
   "m": 3,
   "dimension": "visual",
   "w": 1.0,
   "description": "Regression: after clicking Next the copy still fades out and then in (about a 0.3s transition) rather than switching instantly, and the white-background black-text \"How'd you do that?\" capsule button keeps the same position and style as before the fix."
  },
  {
   "id": "fix.regress.rapid",
   "m": 3,
   "dimension": "interaction",
   "w": 1.0,
   "description": "Regression: rapidly clicking Next three times while the transition hasn't finished advances the counter by only one (e.g. 3 of 6 becomes 4 of 6), with no double jumps, no \"7 of 6\" and no blank copy."
  },
  {
   "id": "fix.isolation",
   "m": 3,
   "dimension": "functional",
   "w": 1.5,
   "description": "Cross-section: first filter the archive panel to \"In progress\" and go to page 2 (5 entries on that page, summary 13 projects 9.86M), then click the carousel's Next a few times: the panel is still on page 2 with the entry count and summary numbers completely unchanged."
  },
  {
   "id": "rwd.noscroll",
   "m": 4,
   "dimension": "visual",
   "w": 1.5,
   "description": "At a 375×812 viewport the page has no horizontal scroll (scrollable width does not exceed the viewport width), and the header logo and all three nav items are visible within the screen without overlapping each other."
  },
  {
   "id": "rwd.panel",
   "m": 4,
   "dimension": "visual",
   "w": 1.0,
   "description": "At 375 wide the archive panel entries are arranged in a single column (no two projects in the same row), all filter and sort controls are clickable/reachable (wrapping or horizontal scrolling both fine), and field text is not clipped or overlapping."
  },
  {
   "id": "rwd.hero",
   "m": 4,
   "dimension": "visual",
   "w": 1.0,
   "description": "At 375 wide the whole first-screen headline is fully readable without exceeding the right edge of the viewport, and its font size is clearly smaller than the desktop 78px."
  },
  {
   "id": "rwd.state",
   "m": 4,
   "dimension": "functional",
   "w": 1.5,
   "description": "Cross-requirement: at 375 wide, performing \"type Content production + status delivered\" gives 6 entries and a summary of 6 projects, 2.37M — exactly the same entry count and totals as the same operation at 1280 wide."
  },
  {
   "id": "rwd.desktop",
   "m": 4,
   "dimension": "visual",
   "w": 1.0,
   "description": "At 1280 wide and above the first-screen headline is still at the 78px-class large size, the header keeps the two-end layout with logo left and nav right, and the card row is still horizontal — all as before the rework (the header is allowed one extra theme toggle from requirement 5; otherwise nothing may deform due to mobile adaptation or reskinning)."
  },
  {
   "id": "theme.toggle",
   "m": 5,
   "dimension": "interaction",
   "w": 1.5,
   "description": "A theme toggle exists in the header and the initial load is dark; clicking it switches the whole page to light background with dark text (page background clearly lighter, body text darker) with the archive panel cards on a light background with faint separators; clicking again fully returns to dark."
  },
  {
   "id": "theme.preserve.dark",
   "m": 5,
   "dimension": "visual",
   "w": 1.5,
   "description": "After switching to light and back to dark, the hero's colored gradient and grain texture, the footer colors, and the white-background black-text capsule button match the initial state, with no residual light background or text color shift."
  },
  {
   "id": "theme.state.keep",
   "m": 5,
   "dimension": "functional",
   "w": 1.5,
   "description": "Cross-requirement: first filter type \"Brand strategy\" + sort \"Budget high-to-low\" and go to page 2 (4 entries on that page), and set the carousel to \"5 of 6\", then switch the theme; after switching the panel is still on page 2, the filter and sort are unchanged, the first entry on that page is still Allina (540k), and the carousel still shows \"5 of 6\"."
  },
  {
   "id": "theme.accent.single",
   "m": 5,
   "dimension": "visual",
   "w": 1.0,
   "description": "The whole site uses only one accent color: the highlight color for the filter selected state and the current page number is the same value, and it keeps the same hue under both the dark and light themes, with no second colored accent introduced elsewhere on the page."
  },
  {
   "id": "theme.contrast",
   "m": 5,
   "dimension": "visual",
   "w": 1.0,
   "description": "Under the light theme the archive panel body text, filter control text and empty-state message are all dark text and clearly readable, with no case of light text on a light background being unreadable."
  }
 ],
 "inject": {
  "type": "Conditional boundary error",
  "saboteur_prompt": "In the next function of src/components/WorkCarousel.jsx, plant an off-by-one conditional boundary defect: change the index advancing logic so it wraps once it reaches the second-to-last item, e.g. changing setIndex((i) => (i + 1) % SLIDES.length) to setIndex((i) => (i + 1 >= SLIDES.length - 1 ? 0 : i + 1)), so that the 6th item (index 5) can never be shown and the counter tops out at 5 of 6. Requirements: do not change the SLIDES array contents or count, do not change FADE_MS or the fade transition logic, do not change the leaving rapid-click guard, do not change the button or any CSS, produce no console errors or warnings, leave no comments or suspicious variable names — the change should look like a normal boundary check."
 },
 "qc_static": [],
 "review_status": "needs_human"
}