Repository navigation
feat(apps): let apps add proxy host table columns and row actions - #631
Merged
Merged
Conversation
…gation Apps can now declare where they extend the platform in a new OpenAPI member, x-rentnerproxy-extensions, starting with the app.page target. A declared page appears in the navigation group the app names, with an icon from a fixed platform set, only for users who hold its permission key, and in the command search. An app that declares extensions gets no navigation entry or page beyond what it declares. - The core reads the document like the native presentation: a bounded object (8 KiB, which keeps 256 maximal apps inside the inventory budget) passed through for the web to validate. - The web reads any 1.x catalog leniently: unknown targets, invalid entries, repeated IDs, undeclared routes or permission keys and pages beyond the limit are skipped one by one. Without a readable 1.x document an app keeps its slot behavior, so a navigation-slot app still gets one entry in the apps group. - One inventory entry the web cannot read, or a slot it does not render, no longer hides every other app. - The catalog opens an app at its first declared page and offers no Open link for an app that declares extensions without pages. The declarations live in the OpenAPI document rather than the manifest: the manifest's ui member is closed, so older platforms would reject the whole signed catalog for one app that used a new member there. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Catalog 1.0.0 gains two targets for the proxy host table:
- proxyHosts.table.column names an app operation. The platform asks it
once per visible page with { proxyHostIds } for the hosts the app's
grants cover for this user and draws the answer's { cells } itself: a
status badge with a fixed tone and icon, text, a time and a measure
with a unit, formatted for the user's locale. Only operations that
declare a proxy host results filter on cells/proxyHostId can answer,
so every cell passes the existing grant filter and re-check.
- proxyHosts.table.rowAction adds a menu entry for covered hosts that
opens the app route for the host in a platform dialog. A column may
name the action so its cells open it, like the built-in monitoring
cell. Until remote rendering lands, the dialog frames the app's host
view.
One server function answers every app for a page; an app missing from
the answer, a failed request or a failed column shows as unavailable
and never as data. Columns read their cells from a context, so refreshes
do not rebuild the table. Apps that declare only slots, such as
Monitoring 1.0.0, keep their current column.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ts' into rentner/feat/app-host-table-extensions # Conflicts: # web/src/tests/features/AppUi/app-ui-frame.test.tsx # web/src/tests/features/AppUi/native-app-ui.test.tsx # web/src/tests/fixtures/app-runtime-reference/greeting-host.ts # web/src/tests/lib/AppUi/bridge.test.ts # web/src/tests/lib/AppUi/extensions.test.ts
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 6 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
The production dependency audit blocks every locked RustSec finding. RUSTSEC-2026-0620 reports a scalar multiplication bug in the AVX-512 backend of curve25519-dalek 5.0.0, pulled in by ed25519-dalek 3.0.0 and fixed in 5.1.0. The lockfile moves only this package. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…pp-host-table-extensions
…nsions' into rentner/feat/app-host-table-extensions
Member
Author
|
@coderabbitai review |
Contributor
Action not completed
|
…ing column Self-review while CodeRabbit is rate limited: - The host table request names host IDs from the browser. Apps are now asked only about hosts the platform knows, the same way the monitoring handoff column resolves its hosts. - Once the app that owns the monitoring handoff declares extensions, its own column replaces the handoff column instead of appearing next to it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the handoff column The handoff column stays until its answer names the owning app, so the test waited only for its link to be missing, which is also true while it loads. It now waits for exactly one availability column and checks that the handoff column does not return. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rentner/feat/app-host-table-extensions # Conflicts: # web/src/config/app-extensions.config.ts # web/src/lib/AppUi/contract.ts # web/src/lib/AppUi/extensions.ts # web/src/server/AppRuntime/ui/access.server.ts # web/src/tests/features/AppCatalog/catalog-install-ui.test.tsx # web/src/tests/features/AppUi/app-ui-frame.test.tsx # web/src/tests/features/AppUi/native-app-ui.test.tsx # web/src/tests/features/QuickSearch/quick-search-ui.test.tsx # web/src/tests/fixtures/app-runtime-reference/greeting-host.ts # web/src/tests/layouts/AuthenticatedLayout/Components/ApplicationShell/application-shell.test.tsx # web/src/tests/lib/AppUi/bridge.test.ts # web/src/tests/lib/AppUi/extensions.test.ts
This was referenced Nov 29, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Second slice of RentnerProxy/platform#625. Stacked on RentnerProxy/platform#630; merge that first.
Apps can now extend the proxy host table the way built-in monitoring did. The platform draws the column and the menu entry itself.
{ "target": "proxyHosts.table.column", "id": "availability", "title": "Upstream availability", "permission": "monitoring-read", "entry": "get-host-availability", "action": "monitoring" }, { "target": "proxyHosts.table.rowAction", "id": "monitoring", "title": "Monitoring", "permission": "monitoring-read", "entry": "host" }Column
entrynames an app operation.{ proxyHostIds }, limited to the hosts the app's grants cover for this user.{ cells: [{ proxyHostId, status?, text?, time?, measure? }] }. The platform draws the cells with its own components:positive,negative,warning,neutral,paused,stale)ms,s,percent,count)Row action
Security and robustness
cells/proxyHostIdonproxy.hosts.read.v1). Every cell therefore goes through the existing user-delegated path: permission key check, call, then grant filter and re-check in one transaction. Cells for uncovered or unrequested hosts are dropped, as are malformed and duplicated cells.runAppUiOperationis extracted fromexecuteAppUiCall, so frame calls and platform-initiated column reads share one authorization path.Compatibility
appUi.hostTabletexts in all eight locales.Test plan
oxlint, and type-awareoxlinton the changed files.lib/AppUi/extensions.test.ts).server/AppRuntime/ui-host-table.test.ts):proxy-hosts-ui.test.tsx):🤖 Generated with Claude Code