Skip to content

What does registering a right-panel tab actually cost? #112

Description

@radroid

Question

Adding the panel means editing apps/web/src/components/RightPanelTabs.tsx, which upstream owns and
actively develops. That is a new row on docs/t3x/SEAMS.md, and the ledger tripwire says to
re-isolate before adding rows.

Measure it, do not estimate it:

  • Churn on RightPanelTabs.tsx over the 60 days before the merge-base, using the @<epoch> form
    from the ledger's Regenerating section (the relative-suffix form silently returns 0).
  • How many distinct places must change to register one tab? There are at least two case switches
    (around lines 413 and 482) plus the tab definition list around 175-225.
  • Is there any extension point that avoids the edit, or is the switch the only way in?
  • What would the row's risk figure be — fork lines changed × churn?

Then answer the actual decision: is a tab worth the row, or does the overlay precedent in
apps/web/src/coil/AutoResumeOverlay.tsx (fork-owned, near-zero seam) buy enough? Note the
counter-argument already on record: a map is something you keep open while working, which is a tab,
and dodging one ledger row is a poor reason to build the wrong thing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    wayfinder:researchWayfinder ticket (AFK): read docs/code to surface a fact

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions