Skip to content

refactor(site/src/pages/AISettingsPage): share organization selection between fork skill-tier pages - #209

Merged
ibetitsmike merged 2 commits into
mainfrom
mike/plugin-packs-8a-org-selection
Nov 11, 2026
Merged

ibetitsmike merged 2 commits into
mainfrom
mike/plugin-packs-8a-org-selection

Conversation

@ibetitsmike

Copy link
Copy Markdown
Owner

Xum opened this PR on behalf of @ibetitsmike.

Part of #4 (W6, PRD 6.7). Prepares the plugin packs admin page (next PR in the stack) by moving the organization selection of the fork's organization agent definitions page into useRequestedSkillsOrganization (SkillsPage/forkRequestedSkillsOrganization.ts).

The hook reads the org search parameter, picks the default readable organization when it is absent, and resolves a named organization the user cannot read to undefined instead of falling back, so a write never lands in an organization the URL did not name. It also returns the setter the organization picker calls. Behavior of the agent definitions page is unchanged.

Validation: checks ran in a Node container on this stack (no CI yet: GitHub Actions is in an outage). tsc -p . and vitest run --project=unit on the agent definitions page test passed; after a formatting-only fix, biome check --error-on-warnings on the changed files passed at this head.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T21:00:41.672574Z d48aa49 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: d48aa49faa

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike
ibetitsmike merged commit 6bbce42 into main Nov 11, 2026
9 checks passed
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Merged by the pstack parity lead. CI passed (9/9) on head d892cb6, which only merges main into d48aa49, and the file diff is the same. Main moved on by #207 alone, which adds one Go test file and touches nothing in site/. The Codex receipt on d48aa49 is clean, and 0 threads are unresolved. frontend-deep-review found 0 blocking issues. Its one should-fix asked to change the upstream SkillsPage.tsx, and it was dismissed under the fork rule that upstream files take only minimal hook lines. This is a refactor that keeps page behavior the same, so the final W6 UI UAT covers it. Part of #4 / #12.

@ibetitsmike
ibetitsmike deleted the mike/plugin-packs-8a-org-selection branch November 11, 2026 21:28
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.

1 participant