Skip to content
Myr

Lead /<Handle> to the person's page in lowercase, keep the web's words not found, and name the eight once

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

authored by oscabriel · committed by oscabriel · parent b949fcc · Browse files · 6 files+105 added−74 removed
This commit

State

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

Diff stats

6 files+105 added−74 removed

  • tests:+70 added−46 removed
  • other:+35 added−28 removed

6 files+105 added−74 removed

modified:apps/web/src/features/landing/projects.ts+1 added-4 removed
modified:apps/web/src/features/shared/shell/overlays.tsx+1 added-1 removed
158 unmodified lines
159 </div>160 </>161);162163/** The phone's More:Docs, For agents, the project's sections, the keys, the session. */163/** The phone's More: Docs, For agents, the project's sections, the keys, the session. */164const More = () => {165 const project = useCurrentProject();166 const listed = useProjectList();167 const { open } = useShell();
130 unmodified lines
modified:apps/web/src/features/shared/shell/rail.tsx+2 added-5 removed
37 unmodified lines
38import { postureLabel, postureWord } from "../../project/posture-label.ts";39import { AppLink } from "../link.tsx";40import { POSTURE_MARKS } from "../mark-look.ts";41import { ASKS_PATH, docsPath, HOME_PATH } from "../paths.ts";42import { leadingProjects } from "../project-order.ts";42import { leadingProjects, PROJECTS_SHOWN } from "../project-order.ts";43import {44 useCurrentProject,45 useProjectList,46 useShell,
11 unmodified lines
5859/** A row's mark: 16 px at the marks' stroke, muted until the row is current. */60const MARK = "text-muted-foreground size-4 shrink-0";6162/** At most this many projects in the rail; more open the switcher. */63const SHOWN = 8;6462const SITE = [63 { icon: House, label: "Home", to: HOME_PATH },64 { icon: List, label: "Asks", to: ASKS_PATH },65 { icon: CalendarCheck, label: "Today", to: "/today" },
165 unmodified lines
231 const listingOf = (project: string) =>232 listed?.find((listing) => listing.project === project);233234 const others = (listed ?? []).filter(({ project }) => project !== current);238 const room = SHOWN - (current === undefined ? 0 : 1);235 const room = PROJECTS_SHOWN - (current === undefined ? 0 : 1);236 const leading = leadingProjects(others, room);237238 return (239 <div className="flex flex-col gap-1">
179 unmodified lines
modified:apps/web/src/features/shared/project-order.ts+3 added
modified:apps/web/src/routes/$owner/index.tsx+28 added-18 removed
modified:apps/web/test/owner-route.test.ts+70 added-46 removed