Repository navigation
feat(site/src): edit the plugin pack source hosts on the plugin packs page - #229
Conversation
|
@codex review
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b663555c8
ℹ️ 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".
Merged after fork-ci passed on head 3b66355, Codex reviewed that head (3 P2 findings declined with replies, 0 unresolved threads), and the frontend review had no blocking or open should-fix findings. Local validation (vitest 21/21 with 3 negative controls) is green. The page is behind |
Administrators could install a plugin pack only from a host on the organization's source host allowlist. The only way to change that allowlist was the
PUT /api/v2/chats/fork/organizations/{organization}/plugin-pack-sourcesendpoint.This change adds a Sources button to the plugin packs table header. Users who can update packs see it. It opens a dialog with one host per line. The dialog lowercases and de-duplicates the hosts and checks them against the same limits as the server: at most 50 hosts, no scheme, port or path, and 253 characters at most per host. It then saves the full list. The list is a full replacement, so each open drops the cached list and reads it again. This way the form does not overwrite a change that another administrator made in the meantime.
Validation on 3b66355:
biome check,tsc, the affected Vitest file,oxlintandlint:compilerpass in a container.