Skip to content

feat(site): install, update and delete plugin packs - #211

Merged
ibetitsmike merged 46 commits into
mainfrom
mike/plugin-packs-9-manage-ui
Nov 12, 2026
Merged

ibetitsmike merged 46 commits into
mainfrom
mike/plugin-packs-9-manage-ui

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Xum opened this PR on behalf of @ibetitsmike.

Part of #4 (W6, PRD 6.7, admin UI). Stacked on #210.

Adds the write actions to the plugin packs page:

  • Install plugin pack dialog (name, Git URL, optional path, ref), shown with the organization skill create permission. Errors from the server, such as a host that is not on the allowlist, stay in the dialog.
  • A row menu with Update to the latest commit of <ref> (update permission) and Delete (delete permission, with a confirmation that names the effect on projects and chats).

All three mutations invalidate the organization's pack list. When a response is lost, the page reconciles against the request so it neither repeats an install nor shows a stale row, and a newer cached row is never replaced by an older response. The diff is about 820 production lines and 710 test and story lines, over the 500-line target. I kept it as one slice because the lost-response reconcile and the row menu share the same queries.

Validation: at this head, a Node container on the stack ran biome check --error-on-warnings on the changed files, tsc -p ., vitest run --project=unit on the changed tests, oxlint --deny-warnings and pnpm run lint:compiler, and all passed. The frontend-deep-review findings rated blocking or should-fix are addressed.

@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-12T01:44:49.793589Z 0dff353 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 chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f499cd06bb

ℹ️ 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".

Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

…mpty list on refetch error

Cover Retry with a Vitest test and add a story with the organization picker.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9c74a442e7

ℹ️ 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".

Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
…manage-ui

# Conflicts:
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksPage.test.tsx
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksPage.tsx
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksTableView.stories.tsx
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksTableView.tsx
…sponses

Invalidate the pack list when either mutation settles and wait for the
refetch after a lost response, so the page can confirm the outcome. Add
an open row menu story, submitted install dialog stories, and document
that pack access mirrors organization skill permissions.
@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b17553042a

ℹ️ 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".

Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Write created and updated packs into the cached list, ignore same-name
packs that existed before a lost install, move the delete confirmation
into a component with stories, and document the mutation builders.
@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b55fb62d5f

ℹ️ 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".

Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

…dmin-ui

# Conflicts:
#	site/src/pages/AISettingsPage/SkillsPage/forkRequestedSkillsOrganization.ts

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 56d1e36cce

ℹ️ 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".

Remove the closed-menu Updating story, which renders the same as Populated, and turn the invalidateList explanation into JSDoc.
@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

Base automatically changed from mike/plugin-packs-8-admin-ui to main November 12, 2026 00:22
…anage-ui

# Conflicts:
#	site/src/api/forkPluginPacks.ts
#	site/src/api/queries/forkPluginPacks.ts
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksPage.test.tsx
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksPage.tsx
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksTableView.stories.tsx
#	site/src/pages/AISettingsPage/ForkPluginPacksPage/ForkPluginPacksTableView.tsx

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1495025645

ℹ️ 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".

Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a2dae24382

ℹ️ 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".

Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
Comment thread site/src/api/queries/forkPluginPacks.ts Resolved
@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum requested this review on behalf of @ibetitsmike.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c781475341

ℹ️ 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

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. What shall we delve into next?

Reviewed commit: 0dff3530e9

ℹ️ 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 dee4ae3 into main Nov 12, 2026
9 checks passed
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Lead merge check on head 0dff3530e9: fork-ci run 43136045337 (pull_request) green, Codex receipt "Didn't find any major issues" on this commit, 0 open threads, frontend-deep-review r7 with every blocking and should-fix item handled, and the page stays behind fork-plugin-packs through #210's gated route.

@ibetitsmike
ibetitsmike deleted the mike/plugin-packs-9-manage-ui branch November 12, 2026 01:53
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