Skip to content
Myr

Pin the hero's three links and the self-reported agent credit on the tour, where two merged branches met

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by oscabriel · committed by oscabriel · parent c3dd8ec · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • tests:+2 added−2 removed

2 files+2 added−2 removed

modified:apps/web/test/landing.test.tsx+1 added-1 removed
248 unmodified lines
249 const hero = main.slice(0, main.indexOf('data-figure="music-box"'));250251 expect(hrefs).toContain("/install");252 expect(hrefs).toContain("/explore");253 expect(hrefsOf(hero)).toStrictEqual(["/asks", "/tour"]);253 expect(hrefsOf(hero)).toStrictEqual(["/asks", "/import", "/tour"]);254 expect(textIn(hero)).toContain("Take the tour");255 })256 );257
293 unmodified lines
modified:apps/web/test/tour.test.tsx+1 added-1 removed
160 unmodified lines
161 allInOrder(text("credit"), [162 `Asked-by: ${EXAMPLE.asker}`,163 `Signed-off-by: ${EXAMPLE.claimant}`,164 "Agents used, disclosed and not credit",165 "Assisted-by: claude-code:haiku (claimed)",165 "Assisted-by: claude-code:haiku (self-reported)",166 ])167 ).toBeTruthy();168 expect(textIn(markup)).toContain(EXAMPLE_NOTE);169 })
60 unmodified lines