Files
loki/drizzle/0120_project_title.sql
CatoandClaude 41b23a81f0 feat(projects): a name you can change, and a project page a client can use (#1333)
A project's name is its key (activity, cron jobs and dispatch match on it),
so renaming it hid history. entities.title is now what a person calls it:
the pencil next to the title edits it, and every place a person reads the
name (header, list, invite page and email, shared projects, /my-feedback)
shows projectTitle(). Legacy "<host>-refresh-<request id>" names read as the
site ("Xhiva") until someone names them, and the "Develop a new version of
this existing website: URL" brief reads as "A new version of xhiva.art."

For the person a client site is made for:
- the invite defaults to Client on client work;
- inviting an existing account emails them the link instead of nothing;
- sign-in finds a free handle so onboarding never asks a project invitee
  to set up repositories;
- a client or viewer sees one page: the box to ask in (typed or spoken),
  where their asks are, and whether something is being built. The
  builder's Story/Plan/Activity tabs stay on the builder's page;
- "See where it is" goes to /my-feedback, which names the project;
- Home no longer shows "No builder connected" to someone who only has
  shared projects.

Migration 0120 adds entities.title (nullable, no backfill).


Claude-Session: https://claude.ai/code/session_01HyfPCAeTFi2sjpVY44Y1JJ

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-19 20:26:33 +02:00

1 line
47 B
SQL

ALTER TABLE "entities" ADD COLUMN "title" text;