Skip to content

fix(employers): link the organization page to its Developers tab (#1440) - #1446

Merged
thinkclay merged 1 commit into
mainfrom
claude/org-developers-quicklink
Nov 26, 2026
Merged

thinkclay merged 1 commit into
mainfrom
claude/org-developers-quicklink

Conversation

@thinkclay

Copy link
Copy Markdown
Contributor

Follow-up to #1440 (#1444), part of epic #1442.

Problem

In Worker mode the organization's tab strip is hidden: workerNav drops the Employers sub-items. The org page's Quick links (Teams, Logs) are the only way around that, and they didn't include Developers. On dev, API keys and webhooks could only be reached through the old /office/api-keys redirect.

Change

apps/scaffald/app/(protected)/employers/org/[slug]/index.tsx adds a Developers quick link to RouteBuilder.orgDevelopers(slug), after Teams and Logs. There's no role check: every member may open the page (as with the org's Developers tab in buildOrgSubItems), and the page itself hides create and revoke from non-admins.

Verification

  • Local web (dev server on this branch, local Supabase), signed in as seed user [email protected], temporarily added to Unicorn as a plain member, in Worker mode. The org page shows Teams · Logs · Developers. Clicking it opens /employers/org/unicorn/developers/api-keys, which lists the org's 2 active keys read-only with no "Create API Key" button. The temporary membership was removed afterwards.
  • pnpm check passes.
  • pnpm radium:check reports the same 3 violations as on main, all in files this PR doesn't touch.
  • pnpm prepush passes, including 281/281 gated api tests. They ran against this branch's own api on a spare port, because the shared local edge runtime is mounted from an older worktree (sweep5) and fails 12 newer tests for that reason alone.

🤖 Generated with Claude Code

In Worker mode the organization's tab strip is hidden, so the org page's
quick links (Teams, Logs) were the only way around it, and Developers was
missing: API keys and webhooks were reachable only through the old
/office/api-keys redirect. Every member may open it; only admins see
create and revoke.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@thinkclay
thinkclay merged commit d9fc219 into main Nov 26, 2026
16 checks passed
@thinkclay
thinkclay deleted the claude/org-developers-quicklink branch November 26, 2026 00:01
thinkclay added a commit that referenced this pull request Nov 26, 2026
Office/Admin/Developers split (epic #1442: #1443, #1444, #1445, #1446)
and worker invites with reminders (#1430, #1438; migrations 400, 401).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant