Skip to content

Product page: one layout for every stage - #60

Merged
pullely merged 54 commits into
mainfrom
claude/laughing-feynman-a9bvkq
Dec 2, 2026
Merged

pullely merged 54 commits into
mainfrom
claude/laughing-feynman-a9bvkq

Conversation

@pullely

@pullely pullely commented Dec 2, 2026

Copy link
Copy Markdown
Owner

What

Owner request: freeploy's page looked different from every other listing, and all listings should share one layout.

An idea-stage listing drew a page of its own: the lavender note, a quoted tagline, stage chips and no tabs. Every listing now draws the same page at every stage: the header card (cover, logo, name with its stage badge, pitch, facts, actions, links), then the About / Updates / Crew / Talk tabs and the side column.

Kept for ideas, inside the shared layout:

  • I'd use this, before Follow (the idea's endorsement).
  • Needs a first builder, the dashed slot in the Crew card while the crew is only its maker.

Removed:

  • IdeaPage and its helpers, and pageKindOf.
  • The redirect that folded an idea's tab addresses into one page. An idea's /talk, /crew and /updates are now ordinary tabs.

Tests

  • Web tests: the idea-page tests are replaced by "every stage draws the one layout" tests. Counts that assumed two pages (h1s, TalkCards, FinishListing, maker slots, PersonName, milestone managers) are now one. Suite passes (2137); web typecheck and lint are clean.
  • web-perf: the idea's own snapshot baselines are removed, because the listing baselines now cover its layout. The idea route's budget check expects data-hero-stage, and the Talk lane reads an idea's Talk tab.

Generated by Claude Code

Every action on openproduct available as an MCP tool: listings and
descriptions, images, posts, milestones, launches, seats, crew,
discussions and the contributor's side, behind scoped, revocable agent
credentials (OAuth 2.1 with dynamic registration, or personal tokens).
Each tool calls its website route's own handler, and a parity test keeps
every write route covered.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Agent credentials (opa_ tokens, by hash only) with scopes and an optional
listing restriction, minted two ways: OAuth 2.1 for MCP clients (dynamic
registration, PKCE S256, refresh rotation with reuse detection, RFC 9728
and 8414 discovery) and personal tokens from Settings -> Connected agents.
/mcp/me is the signed-in MCP endpoint and always asks for an agent's own
credential; agent tokens are refused on every other route.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Every replaced refresh hash is kept and any of them revokes the grant
(2306); a replayed code revokes what it produced and only its own client
can redeem it; /oauth/authorize never redirects on a refusal; registration
is bounded per /64 and overall, and prunes what nobody can use; the consent
and Connected agents pages are never framed and say only fixed sentences; a
new token's cookie is cleared once shown; 429 for a rate limit; an empty
state is echoed; the agent cache is bounded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
On the gateway's MCP_HOST (prod: mcp.openproduct.live) /mcp is the
signed-in endpoint and the discovery documents name it; every other host is
unchanged. The website names one MCP address everywhere (mcpEndpoint), and
Settings gains an Agents & MCP section; /me/settings/agents becomes the
Agents & MCP home and leads with how to connect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
infra/mcp-domain: a discovered, prod-only Terraform component on platform
state that attaches mcp.openproduct.live to openproduct-gateway-prod as a
Workers Custom Domain with the brokered deploy token.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
…menu

- Left rail: a signed-in "Account" group with Settings and Agents & MCP.
- Avatar menu: a dedicated "Account" section under the person with
  Settings, Agents & MCP and Weekly digest; the digest row moves out of
  "You", which keeps only what you hold.
- Gear and plug glyphs added to the icon set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
Measured in CI (run 46383775862); the eight routes the two new rail links
pushed over move to the measurement plus 100 bytes, as LR2-LR7 did.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
An established maker publishing a listing nobody had reviewed failed with a
bare 500, from the website and from MCP. TS1 publishes that listing indexed;
migration 1370's CHECK profiles_indexable_requires_review refused exactly
that row, and the handler tests use a faked repository, so it never met the
real table.

Migration 2320 drops the CHECK: the ladder writes `indexable` at publish
(new makers unindexed, restricted cannot publish), and a CHECK cannot read
the maker's level. The publish now runs through the real SQL in
reads-publish.test.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The overview is where a listing is edited now. Each card reads as the
public page does and opens its step's own form in place (the same intent
on the same actions route); a background save closes it, and Cancel or
Escape close it unsaved. With no script every pencil is still a link to
its step, and the step pages stay.

- About: name, tagline, links, pitch and install line (DetailsForm).
- Category and stack: a new card with TopicsForm; the hero's "Add a
  category" and "+ Stack" and the checklist rows open it.
- Media: the media island is the card itself; the hero band shows the hero
  image, and "Change background" hands the next file to it as the hero.
- The strip keeps Listing and People and roles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The strip is Listing then People and roles; Details, Media and Category and
stack keep their pages outside it. /submit's script grew 308 B from the
shared studio chunk; its limit moves to the measurement plus 100 bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
On the single page the media island is the overview's Media card, and it
kept the rows it mounted with, so a refresh after any act left it drawing
the old list (web-perf's refresh lane: 0 of 10 landed). It now adopts the
server's rows whenever they change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The product page was a second editor (a Manage / Visitor switch with its
own forms). The studio's single page is the one editor now:

- The header's switch is one "Studio" link for the crew who write, to the
  listing's studio page. The product page is the visitor's page for
  everybody; useMaker draws the maker's controls only inside MakerStudio.
- The studio hosts what only the product page had: the stage, Needs you,
  New post and the milestones manager (their own components and routes),
  and the details form gains the try link and the links.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
The talk lane's crew finds Needs you on the listing's studio page, where
it lives now. The Studio link adds 56-107 B to the product pages' script;
each limit moves to CI's measurement plus 100 bytes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
…udio

Answering and resolving a thread are not editing the listing, so they
check that the reader writes on the crew rather than the studio's mode,
which is off everywhere outside the studio now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
…an-a9bvkq

# Conflicts:
#	tests/web-perf/src/budgets.mjs
#	tests/web/src/product-maker-view.test.ts
#	web/src/app/studio/[org]/[profile]/product-tools.tsx
#	web/src/app/studio/[org]/[profile]/settings/page.tsx
An idea drew a page of its own (the lavender note, no tabs), so freeploy
looked nothing like spliteco. Every listing now draws the same header card
and the four tabs (About, Updates, Crew, Talk); the stage is what its
badge says. What only an idea asks stays: I'd use this before Follow, and
the dashed Needs a first builder slot in the Crew card.

Removed: IdeaPage, pageKindOf, the idea's tab redirect, and the idea's own
web-perf snapshots (the listing baselines are its layout now).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019PcpNX1yAJqqAEdMTUenGn
@pullely
pullely marked this pull request as ready for review December 2, 2026 11:49
@pullely
pullely merged commit f77d818 into main Dec 2, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants