Repository navigation
[3546 by Claude Opus 5.5] Plugins page: settings form generated from the manifest, permission approval and managed-item badges - #3571
Conversation
…generated from the manifest, upgrades show what changed with an Approve action, and managed items are badged and read-only in Skills & MCP servers. Typecheck and zero-warning lint pass, the full UI suite passes (352 files, 3236 tests), and `e2e/plugins.pw.ts` passes (3 tests). The browser tests run against a mocked plugin API that keeps state between steps, not a real server. No backend code changed.
Configure step
- `PluginSettingsForm.tsx` and `PluginSettingFields.tsx` build one field per setting:
- text → text box
- choice list → select with Not set
- number → number box, with its range shown
- true/false → checkbox
- list → text area, one entry per line
- repository map → rows of repository and value, with this instance's repositories suggested
- The form starts from the saved settings. Save settings sends every setting at once, and an emptied field removes that setting. The client added `setPluginSettings` for the existing `PUT …/settings` route.
- Values are checked before sending with the API's own validation function from `@propr/shared`, so the messages are worded the same.
- The API returns one combined error string. The page splits it by setting name and shows each part under its field; anything that names no field appears above the button.
- Required settings are marked Required to enable. Configure counts as Done only once they all have values, and the Enable checkbox stays blocked with the API's reason, e.g. "Required setting Verbosity (verbosity) is missing".
Needs approval (`PluginApproval.tsx`)
- It shows the new permissions and, for each package server whose package, exact version or secret variables changed, the change compared with the last acknowledgement: "Version changes from 1.0.0 to 1.1.0", "Secret variables added: …", or that the server is new.
- Approve stays disabled until the acknowledgement checkbox is ticked. Approving clears the badge.
Managed items in Skills & MCP servers
- Rows show a From plugin: Example pack badge linking to the plugin page. The plugin's display name comes from the plugin list, and the plugin id is shown if that list can't be read.
- Managed rows have no Remove button, and their Edit button reads Edit limits. For servers it opens `ManagedServerForm`, which shows the definition read-only (endpoint and authentication, or registry, package, exact version, command, arguments, variables and secret variable names). Only the limits and automatic apply can be changed there; the enabled checkbox stays in the list.
- A managed skill's form now carries the same read-only note.
Activity: a placeholder section shown once the plugin is installed, saying there is no activity yet.
Changes outside the brief
- I replaced the example plugin's settings in the shared test fixture with the real manifest's six settings.
- `PluginInstallStep.tsx` was split into small modules (`PluginAcknowledgements.tsx`, `pluginApprovalUi.ts`) to stay within the lint rules.
- Besides `plugins.md`, I updated `web-ui.md` and the managed-items note in `agent-extensions.md` to match.
Limitations
- The browser test shows a client-side field error, not an API refusal: the page runs the same checks as the API first, so a bad value never reaches it. The API-error path is covered by component tests.
- The repository-map field only suggests this instance's repositories; you can still type any `owner/name`.
Previews of the form with a field error, the saved settings, Needs approval, the managed-item form and the phone view are attached; they use mocked API data.
Acceptance criteria
- AC1: met — `PluginSettingsForm.tsx`, `PluginSettingFields.tsx` and `pluginSettingsUi.ts` cover all five types; `PluginSettingsForm.test.tsx` tests rendering, an unchanged save returning the same values, edits and API errors by field; `PluginSettingsAndApproval.test.tsx` covers an API refusal on the page; `e2e/plugins.pw.ts` saves every type and checks them after a reload
- AC2: met — `PluginSettingsAndApproval.test.tsx` ("blocks the enabled checkbox while a required setting is missing") and `e2e/plugins.pw.ts` (empties Verbosity, Enable is blocked with the reason)
- AC3: met — `PluginApproval.tsx`, `pluginApprovalUi.ts`; `PluginSettingsAndApproval.test.tsx` and the e2e "shows what an upgrade asks for and approving it clears Needs approval"
- AC4: met — `ExtensionManagedItem.tsx` and `ExtensionItemRow.tsx`; `ExtensionManagedItem.test.tsx` (badge link, no Remove, read-only definition, save changes only limits and automatic apply) and the e2e managed-items steps
- AC5: met — `PluginSettingsForm.test.tsx`, `PluginSettingsAndApproval.test.tsx`, `ExtensionManagedItem.test.tsx`; `e2e/plugins.pw.ts` passes (3/3)
- AC6: met — `docs/docs/features/plugins.md` (new Settings form, Needs approval and Managed items in Skills & MCP servers sections, updated walkthrough and Activity)
|
/ultrafix goal=8 max=10 |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 10) First action:
|
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR implements the generated settings form, upgrade approval details, and managed-item controls with useful component and browser coverage. It needs a localized correction before merge: settings serialization can silently change valid saved values. ✅ Shared validation — The form uses ✅ Managed server controls — This review used static analysis of the supplied diff and context. No commands were run. Current checks show no failures and five pending checks. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F1: 🔴 Preserve valid settings on unchanged saves
SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Update the introductory status noteThe opening “Work in progress” note in S2: 🟢 Reuse required-setting detection
ScoreThe implementation is well scoped and has useful coverage, but its central round-trip requirement fails for valid settings values. Correct the serialization behavior and add focused regressions before merging. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit ca37e50
Summary of ChangesI fixed F1: saving the settings form no longer changes or removes settings you didn't touch. That includes list entries with spaces, empty entries or line breaks, and saved empty lists or maps. Typecheck and zero-warning lint pass, the full UI suite passes (352 files, 3240 tests), and What changed
Regression tests
I updated I checked the other code that reads saved settings for the same assumption. The page's missing-required-setting check already counts an empty list as present, which matches the API, so nothing else needed fixing. I attached two previews from the mocked browser test: the saved list entries, and a saved empty list next to an unset map. Review digestRisk-tiered paths
Validation evidence
Diff size: 7 files changed, +160/−44 lines Visual previewLossless list and map fieldsConfigure step after saving: each list entry has its own box, so ' bug ' keeps its spaces and 'first\nsecond' keeps its line break; lists and repository maps have a Clear action that removes the setting Saved empty list vs unset mapThe example plugin's default empty Labels list is shown as 'Empty list.' and is kept on save; the unset repository map shows 'Not set.' 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…emoves settings you didn't touch. That includes list entries with spaces, empty entries or line breaks, and saved empty lists or maps. Typecheck and zero-warning lint pass, the full UI suite passes (352 files, 3240 tests), and `e2e/plugins.pw.ts` passes 3 of 3. The browser test still runs against the mocked plugin API.
I fixed F1: saving the settings form no longer changes or removes settings you didn't touch. That includes list entries with spaces, empty entries or line breaks, and saved empty lists or maps. Typecheck and zero-warning lint pass, the full UI suite passes (352 files, 3240 tests), and `e2e/plugins.pw.ts` passes 3 of 3. The browser test still runs against the mocked plugin API.
**What changed**
- **Untouched settings are sent back exactly as saved.** In `pluginSettingsUi.ts`, each field is compared with its starting state. If it hasn't changed, the save sends the saved value byte for byte, or `null` if the setting was never set. The pre-save validation checks that same value. One side effect: an unset setting the user didn't touch now stays unset. Before, an unticked checkbox was saved as `false`.
- **Lists use one box per entry instead of a text area split by lines.** Each entry is saved exactly as typed, so spaces, empty entries and line breaks survive. The field has **Add entry** and **Remove** buttons.
- **An empty list or map is now different from a removed setting.** Each list and map field remembers whether the setting has a value. Removing the last entry saves `[]` or `{}`, and a new **Clear** button removes the setting. The field shows "Not set.", "Empty list." or "No repositories yet." accordingly.
- **Required empty collections save normally.** A required list or map that is saved as empty no longer blocks an unchanged save while the plugin is enabled. This matches the API's own required-setting check.
**Regression tests**
- In `PluginSettingsForm.test.tsx`:
- An unchanged save of `[" bug ", "", "first\nsecond"]` and `channels: {}` sends exactly those values.
- Editing another setting keeps `labels: []`.
- Removing the last entry saves `[]`, and Clear saves `null`.
- Unset settings stay unset on an unchanged save.
- A required empty list on an enabled plugin passes the pre-save check.
- In `e2e/plugins.pw.ts`:
- The first save keeps the example plugin's default `labels: []`.
- Entries `' bug '` and `'first\nsecond'` save exactly and come back the same after a reload.
- I updated the existing list interactions in both test files and in `PluginSettingsAndApproval.test.tsx` for the new per-entry boxes.
I updated `docs/docs/features/plugins.md` to describe the new list field and how saving treats unchanged, empty and cleared settings.
I checked the other code that reads saved settings for the same assumption. The page's missing-required-setting check already counts an empty list as present, which matches the API, so nothing else needed fixing.
I attached two previews from the mocked browser test: the saved list entries, and a saved empty list next to an unset map.
PR: #3571
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR adds manifest-generated settings, upgrade approval details, and read-only managed-item forms. It needs a localized correction before merge: the boolean editor cannot distinguish an unset setting from an explicit ✅ Shared validation — Settings validation reuses ✅ Managed definitions preserved — ✅ Approval details — Package changes are compared against recorded acknowledgements, and approval remains disabled until required acknowledgements are selected. The supplied current-head status reports 15 passed checks, no failures, and one pending check. This review uses static analysis only; no commands were run. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F2: 🔴 Preserve explicit false for unset booleans
SuggestionsThese are optional follow-ups and are not sent to S3: 🟢 Align documentation with the finished formThe introductory work-in-progress note in S4: 🟢 Reuse required-setting detection
ScoreThe implementation is focused and has useful component and browser coverage, but the boolean presence bug leaves a valid settings configuration inaccessible through the expected interaction. The correction is localized. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 60e54ef
Summary of ChangesI fixed F2: you can now save a true/false setting as an explicit What changed
New tests in
Also updated
I attached a preview of the settings form with the field showing a saved No. It uses mocked data. I found no other part of the form with the same problem. Lists and repository maps already track whether they are set, and an empty text, choice or number field means unset by design. Review digestRisk-tiered paths
Validation evidence
Diff size: 6 files changed, +53/−31 lines Visual previewTrue/false setting with Not set, Yes and NoConfigure step of the generated settings form: Include draft pull requests is now a Not set / Yes / No list showing a saved explicit No (false); mocked plugin API data 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…licit `false`, separately from leaving it unset, and you can clear one that is already saved. The Plugins tests (5 files, 44 tests), typecheck, zero-warning lint and `e2e/plugins.pw.ts` (3 of 3, still against the mocked plugin API) all pass. I did not rerun the full UI suite. I fixed F2: you can now save a true/false setting as an explicit `false`, separately from leaving it unset, and you can clear one that is already saved. The Plugins tests (5 files, 44 tests), typecheck, zero-warning lint and `e2e/plugins.pw.ts` (3 of 3, still against the mocked plugin API) all pass. I did not rerun the full UI suite. **What changed** - **The field:** a true/false setting is now a list with **Not set**, **Yes** and **No** instead of a checkbox (`PluginSettingFields.tsx`). A checkbox can only show two states, so an unset setting and a saved `false` looked the same. - **The saved values** (`pluginSettingsUi.ts`): - A missing value starts as **Not set**, so choosing **No** now counts as a change and saves `false`. - Choosing **Not set** removes the setting. - A setting you don't touch still saves exactly what it had: unset stays unset, and a saved `false` stays `false`. - **The rules that block Enable** didn't need changes: a saved `false` already counts as a value for a required setting, so it unblocks Enable. **New tests** in `PluginSettingsForm.test.tsx`: - A required true/false setting with no saved value, set to **No** and saved, sends `false`. - A saved `false` comes back unchanged when you save without touching it, and setting it back to **Not set** removes it. - The existing tests now pick values from the list instead of clicking the checkbox, and check that it offers Not set, Yes and No. **Also updated** - `e2e/plugins.pw.ts` picks from the list instead of using the checkbox. - The settings-form table in `docs/docs/features/plugins.md` and the Configure line in `docs/docs/features/web-ui.md` now describe the new field. I attached a preview of the settings form with the field showing a saved **No**. It uses mocked data. I found no other part of the form with the same problem. Lists and repository maps already track whether they are set, and an empty text, choice or number field means unset by design. PR: #3571 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR substantially delivers the settings form, approval details, and managed-item editing restrictions. It needs a localized correctness fix before merge. ✅ Preserves collection values — Drafts distinguish unset collections from empty collections and preserve list whitespace, empty entries, and line breaks. ✅ Restricts managed server edits — ✅ Explains approval changes — Package changes are compared against recorded acknowledgements, and approval remains blocked until required acknowledgements are checked. This review is based on static inspection of the supplied code; no commands were run. Current checks report 15 passed, none failed, and one pending. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F3: 🔴 Invalid numeric input can remove settings
SuggestionsThese are optional follow-ups and are not sent to S5: 🟢 Align the remaining documentation
S6: 🟢 Reuse required-setting detection
ScoreThe implementation has substantial coverage and follows the intended scope, but invalid numeric input can silently delete a saved setting. That localized regression should be fixed before merge. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 6966cc2
Summary of ChangesI fixed F3: if a number box holds text that isn't a number (like The fix ( Same mistake elsewhere: this is the only number box among the changed files. The Skills & MCP servers forms have none, so nothing else needed changing. Tests:
I attached one preview: the Maximum items box showing I found no other problems while doing this. Review digestRisk-tiered paths
Validation evidence
Diff size: 3 files changed, +52/−4 lines Visual previewNumber field holding text that is not a numberConfigure step after typing 1e into Maximum items (saved value 10) and clicking Save settings: the field shows "maxItems must be a number" and nothing is sent, so the saved value stays. Mocked plugin API. 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
…(like `-` or `1e`), **Save settings** now shows "maxItems must be a number" under the field and sends nothing, so the saved value stays. Emptying the box on purpose still removes the setting. I fixed F3: if a number box holds text that isn't a number (like `-` or `1e`), **Save settings** now shows "maxItems must be a number" under the field and sends nothing, so the saved value stays. Emptying the box on purpose still removes the setting. **The fix** (`PluginSettingsForm.tsx`): when you save, the form checks each number box's `validity.badInput` and treats any that are set as field errors, using the API's wording. The check has to run at save time: typing `-` into an already empty box leaves its value empty, so React never reports a change. A fix in the change handler would have missed that case and still removed the setting. **Same mistake elsewhere:** this is the only number box among the changed files. The Skills & MCP servers forms have none, so nothing else needed changing. **Tests:** - **Component test** (`PluginSettingsForm.test.tsx`): with `badInput` set on the Maximum items box, saving shows the error and doesn't call save. Clearing `badInput` then saves `maxItems: null`. - **Browser test** (`e2e/plugins.pw.ts`, real Chromium): it types `1e` over the saved `10`, then `-` into an emptied box. Both show the error, no settings request is sent, and the saved settings still hold `maxItems: 10`. - **Checks that the tests catch the bug:** with the fix taken out, both new tests fail. With it back, all 45 Plugins component tests and all 3 browser tests pass, and typecheck and zero-warning lint pass on the changed files. I did not rerun the full UI suite. The browser test still runs against the mocked plugin API. I attached one preview: the Maximum items box showing `1e` with the error under it. I found no other problems while doing this. PR: #3571 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR implements manifest-generated settings, upgrade approval details, and read-only managed definitions with substantial focused coverage. It needs a localized fix before merge because a refreshed settings schema can crash the detail page. ✅ Value preservation — Unchanged settings retain their saved values, including explicit ✅ Managed definitions — The new server form preserves the definition and submits only changes to limits and automatic apply. ✅ Validation coverage — Component and browser tests cover required settings, field errors, approval acknowledgements, and malformed numeric input. This review used static inspection only; no commands were run. The supplied current-head checks report no failures and one pending check. Merge blockersEvery finding below was introduced by this PR and must be resolved before merging. F4: 🔴 Refresh drafts when the settings schema changes
SuggestionsThese are optional follow-ups and are not sent to S7: 🟢 Reconcile the documentation wordingThe opening work-in-progress note in ScoreThe implementation has strong focused coverage and no reported failing checks, but schema refresh handling leaves a reachable rendering failure requiring correction. Score: 6/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
✅ Applied the requested follow-up changes in commit 895f98a
Summary of ChangesI fixed F4. The settings form now starts fresh whenever the settings schema changes, so if a refreshed manifest adds a list or repository-map setting, it shows up as Not set. instead of crashing the page. Cause. In Fix. The form's key now includes the manifest's settings schema as well as the saved settings, so a changed schema starts the form again from the saved values. The same change also covers a setting whose type changes, and the check that runs before Save settings, which read the same missing state. I updated the form's doc comment to match. One side effect: if the schema changes during a refresh, anything typed but not yet saved in the form is discarded. Saving already resets the form the same way, and the approval checkboxes already reset when a refresh changes them. The finding allowed this approach; the alternative was to keep edits for unchanged settings, which is more code. Regression tests. I added Other places checked.
Checks run.
There are no previews: this fixes a crash and doesn't change the form's design. Review digestRisk-tiered paths
Validation evidence
Diff size: 3 files changed, +28/−4 lines 🤖 Implementation Details
💡 ProPR Slash Commands
🤖 Generated by ProPR |
… settings schema changes, so if a refreshed manifest adds a list or repository-map setting, it shows up as **Not set.** instead of crashing the page. I fixed F4. The settings form now starts fresh whenever the settings schema changes, so if a refreshed manifest adds a list or repository-map setting, it shows up as **Not set.** instead of crashing the page. **Cause.** In `PluginConfigureStep.tsx`, the form was keyed only on the saved settings. After the OAuth sign-in refresh, an upgraded manifest could add a setting while the saved values stayed the same. React kept the old form, which had no field state for the new setting, so the list or repository-map field crashed while drawing. I confirmed this with the new tests before fixing it: both failed at `RepositoryMapField`. **Fix.** The form's key now includes the manifest's settings schema as well as the saved settings, so a changed schema starts the form again from the saved values. The same change also covers a setting whose type changes, and the check that runs before **Save settings**, which read the same missing state. I updated the form's doc comment to match. One side effect: if the schema changes during a refresh, anything typed but not yet saved in the form is discarded. Saving already resets the form the same way, and the approval checkboxes already reset when a refresh changes them. The finding allowed this approach; the alternative was to keep edits for unchanged settings, which is more code. **Regression tests.** I added `PluginDetail.test.tsx`, "shows a list / a repository map setting that a refresh after sign-in adds to the schema while the saved settings stay the same". It opens a connected plugin, edits Greeting, clicks Reconnect, and then refreshes with a manifest that adds a list or a repository-map setting. It checks that the new field shows **Not set.** with its Add button, and that the form restarted from the saved values. **Other places checked.** - **Limit to repositories** doesn't use the settings schema. - The install and approval acknowledgements already reset when a refresh changes them, and existing tests cover that. **Checks run.** - Plugins and Settings › extensions component tests: 9 files, 75 tests, all pass. - Typecheck and zero-warning lint on `src/pages/PluginsPage`: both clean. - `e2e/plugins.pw.ts`: 3 of 3 pass, still against the mocked plugin API. - I did not rerun the full UI suite. There are no previews: this fixes a crash and doesn't change the form's design. PR: #3571 Comment by: @propr-ultrafix (ID: 0) Model: Claude Opus 5.5
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR implements manifest-driven settings, clearer upgrade approval, and read-only managed-item definitions with focused component and browser coverage. It is merge-ready within the reviewed scope, conditional on the pending validation check completing successfully. ✅ Settings preservation — Unchanged values retain their saved representation, including explicit ✅ Approval binding — Acknowledgement selections remain bound to the server, package, version, and secret-variable names. ✅ Managed definitions — The new server form preserves the original definition while exposing only repository limits, agent limits, and automatic apply. This was a static review of the supplied diff and context; no commands or tests were run. Current checks report no failures and one pending validation. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S8: 🟢 Align the remaining documentationThe introductory work-in-progress note in S9: 🟢 Preserve upgrades in browser fixturesIn ScoreThe implementation covers the requested behavior with substantial targeted tests, and the supplied code reveals no verified merge blocker. Final merge readiness remains conditional on the pending check. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
ℹ️ GitHub auto-merge is turned off for this repository, so ProPR merges this PR itself once it is ready (checks passed or no CI configured, and the review goal met). To let GitHub merge it the moment required checks pass, enable Settings → General → Pull Requests → Allow auto-merge. |




AI Implementation Summary
Closes #3546
Branch:
3546/claude-opus-5-5-plugins-page-settings-for-20261114-1326-sttCommits: ✅ Changes committed (5b8f1ba)
AI Processing Completed
Execution Details:
Summary:
The Plugins page is finished: settings are now edited through a form generated from the manifest, upgrades show what changed with an Approve action, and managed items are badged and read-only in Skills & MCP servers. Typecheck and zero-warning lint pass, the full UI suite passes (352 files, 3236 tests), and
e2e/plugins.pw.tspasses (3 tests). The browser tests run against a mocked plugin API that keeps state between steps, not a real server. No backend code changed.Configure step
PluginSettingsForm.tsxandPluginSettingFields.tsxbuild one field per setting:setPluginSettingsfor the existingPUT …/settingsroute.@propr/shared, so the messages are worded the same.Needs approval (
PluginApproval.tsx)Managed items in Skills & MCP servers
ManagedServerForm, which shows the definition read-only (endpoint and authentication, or registry, package, exact version, command, arguments, variables and secret variable names). Only the limits and automatic apply can be changed there; the enabled checkbox stays in the list.Activity: a placeholder section shown once the plugin is installed, saying there is no activity yet.
Changes outside the brief
PluginInstallStep.tsxwas split into small modules (PluginAcknowledgements.tsx,pluginApprovalUi.ts) to stay within the lint rules.plugins.md, I updatedweb-ui.mdand the managed-items note inagent-extensions.mdto match.Limitations
owner/name.Previews of the form with a field error, the saved settings, Needs approval, the managed-item form and the phone view are attached; they use mocked API data.
Acceptance criteria
PluginSettingsForm.tsx,PluginSettingFields.tsxandpluginSettingsUi.tscover all five types;PluginSettingsForm.test.tsxtests rendering, an unchanged save returning the same values, edits and API errors by field;PluginSettingsAndApproval.test.tsxcovers an API refusal on the page;e2e/plugins.pw.tssaves every type and checks them after a reloadPluginSettingsAndApproval.test.tsx("blocks the enabled checkbox while a required setting is missing") ande2e/plugins.pw.ts(empties Verbosity, Enable is blocked with the reason)PluginApproval.tsx,pluginApprovalUi.ts;PluginSettingsAndApproval.test.tsxand the e2e "shows what an upgrade asks for and approving it clears Needs approval"ExtensionManagedItem.tsxandExtensionItemRow.tsx;ExtensionManagedItem.test.tsx(badge link, no Remove, read-only definition, save changes only limits and automatic apply) and the e2e managed-items stepsPluginSettingsForm.test.tsx,PluginSettingsAndApproval.test.tsx,ExtensionManagedItem.test.tsx;e2e/plugins.pw.tspasses (3/3)docs/docs/features/plugins.md(new Settings form, Needs approval and Managed items in Skills & MCP servers sections, updated walkthrough and Activity)Review digest
Acceptance criteria (6 of 6 met, as stated by the agent)
The generated form covers every settings type in the schema subset and round-trips values; invalid input shows the field error from the API.—`PluginSettingsForm.tsx`, `PluginSettingFields.tsx` and `pluginSettingsUi.ts` cover all five types; `PluginSettingsForm.test.tsx` tests rendering, an unchanged save returning the same values, edits and API errors by field; `PluginSettingsAndApproval.test.tsx` covers an API refusal on the page; `e2e…The enabled checkbox is blocked with a clear reason while a required setting is missing.—`PluginSettingsAndApproval.test.tsx` ("blocks the enabled checkbox while a required setting is missing") and `e2e/plugins.pw.ts` (empties Verbosity, Enable is blocked with the reason)Needs approval shows the newly requested permissions or the changed package details and an Approve action; approving clears the badge.—`PluginApproval.tsx`, `pluginApprovalUi.ts`; `PluginSettingsAndApproval.test.tsx` and the e2e "shows what an upgrade asks for and approving it clears Needs approval"Managed items show the badge and cannot be edited except for enabled, limits and automatic apply.—`ExtensionManagedItem.tsx` and `ExtensionItemRow.tsx`; `ExtensionManagedItem.test.tsx` (badge link, no Remove, read-only definition, save changes only limits and automatic apply) and the e2e managed-items stepsComponent tests for the generated form and error states; the Playwright spec passes.—`PluginSettingsForm.test.tsx`, `PluginSettingsAndApproval.test.tsx`, `ExtensionManagedItem.test.tsx`; `e2e/plugins.pw.ts` passes (3/3)Docs updated in `docs/docs/features/plugins.md`.—`docs/docs/features/plugins.md` (new Settings form, Needs approval and Managed items in Skills & MCP servers sections, updated walkthrough and Activity)Risk-tiered paths
propr-ui/src/api/pluginsApi.ts(+3/−0)propr-ui/src/pages/PluginsPage/PluginAcknowledgements.tsx(added, +42/−0)propr-ui/src/pages/PluginsPage/PluginActivity.tsx(added, +14/−0)propr-ui/src/pages/PluginsPage/PluginApproval.tsx(added, +50/−0)propr-ui/src/pages/PluginsPage/PluginConfigureStep.tsx(+42/−13)propr-ui/src/pages/PluginsPage/PluginDetail.tsx(+4/−2)propr-ui/src/pages/PluginsPage/PluginInstallStep.tsx(+6/−71)propr-ui/src/pages/PluginsPage/PluginSettingFields.tsx(added, +138/−0)propr-ui/src/pages/PluginsPage/PluginSettingsForm.tsx(added, +62/−0)propr-ui/src/pages/PluginsPage/pluginApprovalUi.ts(added, +31/−0)propr-ui/src/pages/PluginsPage/pluginFixtures.testUtils.tsx(+18/−2)propr-ui/src/pages/PluginsPage/pluginSettingsUi.ts(added, +98/−0)propr-ui/src/pages/PluginsPage/usePluginDetail.ts(+8/−5)propr-ui/src/pages/SettingsPage/extensions/ExtensionItemRow.tsx(+8/−5)propr-ui/src/pages/SettingsPage/extensions/ExtensionManagedItem.tsx(added, +106/−0)propr-ui/src/pages/SettingsPage/extensions/ExtensionServersList.tsx(+7/−2)propr-ui/src/pages/SettingsPage/extensions/ExtensionSkillForm.tsx(+5/−1)propr-ui/src/pages/SettingsPage/extensions/ExtensionSkillsList.tsx(+3/−2)propr-ui/src/pages/SettingsPage/extensions/useExtensionLibrary.ts(+3/−0)propr-ui/src/pages/SettingsPage/extensions/usePluginNames.ts(added, +21/−0)docs/docs/features/agent-extensions.md(+2/−2)docs/docs/features/plugins.md(+64/−5)docs/docs/features/web-ui.md(+3/−2)propr-ui/e2e/plugins.pw.ts(+188/−25)propr-ui/src/pages/PluginsPage/PluginSettingsAndApproval.test.tsx(added, +102/−0)propr-ui/src/pages/PluginsPage/PluginSettingsForm.test.tsx(added, +122/−0)propr-ui/src/pages/SettingsPage/extensions/ExtensionManagedItem.test.tsx(added, +96/−0)Validation evidence
Diff size: 27 files changed, +1,246/−137 lines
Detailed Logs:
8af71307-ee24-4931-a467-5af0ce1909ddLog files stored at:
/usr/src/app/logs/executions/issue-3546-2026-11-14T13-47-42-867Z-conversation.json/usr/src/app/logs/executions/issue-3546-2026-11-14T13-47-42-867Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #3546.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!
Visual preview
Plugin detail on a phone
The detail page at 390px width with the new Configure form
Full-size original
Configure step after saving settings
The saved settings, including a repository-map row, and the repository limit, with the plugin enabled
Full-size original
Managed item in Skills & MCP servers
A plugin-managed package server's Edit limits form: From plugin: Example pack badge, read-only definition, and only limits and automatic apply editable
Full-size original
Needs approval
An upgrade's new permission and the changed package server version and secret variables, with the acknowledgement checkbox and Approve
Full-size original
Generated settings form with a field error
Configure step: the form generated from the example manifest (text, select, number, checkbox, list, repository map) with the out-of-range Maximum items error shown under the field and Verbosity marked Required to enable
Full-size original