You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(apps): add the extension target catalog and native app page navigation - #630
First slice of RentnerProxy/platform#625: the extension target catalog v1 and its first target, app.page. Apps can now choose where their pages appear instead of always getting one framed entry in the apps group.
A declared page appears in the group it names, with an icon from a fixed platform set (36 lucide icons).
It is shown only to users who hold its permission key.
Several pages of one app highlight by route.
Search: Ctrl+K finds declared pages by their title or by the app name.
No implicit page: an app that declares extensions gets no navigation entry or page beyond what it declares. Its route and the catalog's Open link follow its pages, and Open starts at the first page.
Slot-only apps are unchanged: Greeting 1.0.x and Monitoring 1.0.0 still get one entry in the apps group.
Inventory robustness: before this change, one inventory entry the web could not parse, or one unknown slot string, hid every app. Now only that entry, or only that slot, is skipped.
Design notes
Why the OpenAPI document, not the manifest. The manifest's ui member is closed, and signed catalogs embed manifests. A new ui.extensions member would make older platforms reject the entire catalog. x-rentnerproxy-extensions sits next to x-rentnerproxy-ui and x-rentnerproxy-native-ui, which older platforms ignore.
No protocol bump. The document carries its own catalog version. The web reads any 1.x document and reports the lower of the app's version and the platform's version as extensionCatalog.
Unknown targets and unknown optional members are skipped, so a later 1.x catalog degrades gracefully.
Without a readable 1.x document the app keeps its slot behavior.
Core stays thin.
The core bounds the document the same way it bounds the native presentation: an object of at most 8 KiB. That limit keeps 256 maximal apps inside the 8 MiB inventory budget, and the existing budget test now includes it.
Authorization does not depend on this document. Operations keep their x-rentnerproxy-access checks, and page permissions only decide what the shell offers.
pages in their declared groups with icon and highlight
search by page title, and a page that disappears before it opens
the existing app UI, catalog, navigation preference, mobile navigation and proxy host suites (354 tests)
Rust tests in a Kiri container as root, toolchain 1.99.1: app_manager::ui, 27 passed, including the root-only package load and the full inventory budget.
cargo clippy --all-targets --all-features -D warnings and cargo fmt --check.
…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]>
core/Cargo.lock is excluded by !**/*.lock, !**/*.lock
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Trigger review
No actionable comments were generated in the recent review.
Walkthrough
The change adds bounded extension metadata to app packages, resolves catalog pages using route and permission declarations, and exposes those pages in app summaries. The web UI uses them in application navigation, Quick Search, catalog links, and app routes.
Changes: App Extension Pages
Layer / File(s)
Summary
Load and validate extension declarations core/src/app_manager/ui/package.rs, core/tests/private/app_ui_package.rs, web/src/server/AppRuntime/ui/transport.server.ts, web/src/tests/server/AppRuntime/ui.test.ts
Package loading reads native UI and extension objects only when they are objects within their 8 KiB limits. Web transport filters unsupported slots and invalid app entries. Tests cover size limits, metadata retention, and transport filtering.
The App UI contract adds page metadata and catalog configuration. The resolver validates documents and entries, applies page limits and permission filtering, and adds pages to app summaries. Tests and fixtures cover resolution and summary output.
Render declared pages in navigation web/src/layouts/AuthenticatedLayout/Components/ApplicationShell/Components/ApplicationNavigation/*, web/src/features/AppUi/Components/AppExtensionIcon.tsx, web/src/tests/layouts/AuthenticatedLayout/Components/ApplicationShell/application-shell.test.tsx
Navigation groups now render declared app pages with their routes, localized titles, configured icons, and active states. Tests cover page grouping, links, and active-page behavior.
Open and search app pages web/src/features/AppCatalog/*, web/src/features/QuickSearch/Hooks/useQuickSearchLogic.ts, web/src/lib/QuickSearch/Types/quick-search.types.ts, web/src/routes/_authenticated/apps.$installationId.{-$routeId}.tsx, web/src/tests/features/AppCatalog/catalog-install-ui.test.tsx, web/src/tests/features/QuickSearch/quick-search-ui.test.tsx
Catalog links and Quick Search can open declared page routes. Quick Search checks that a page still exists before navigating. The app route handles catalog apps as page-based and retains slot behavior for apps without a catalog.
RentnerProxy/platform#523: Establishes the app UI contract and hosting path that this change extends with declared pages for navigation and search.
RentnerProxy/platform#541: Modifies the same Apps navigation and app route surfaces that this change uses to open declared pages.
Merge Risk: Low · up to d9d58 · assessed changes only
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "feat(apps): add the extension target catalog and native app page navigation" matches the main change: a versioned extension catalog in the OpenAPI document with the first target app.page, a…
Description check
The description follows the template's main sections: Summary, design notes, and a test plan. The Related issue section is covered by the link to #625 in the summary, but it is no…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "feat(apps): add the extension target catalog and native app page navigation" matches the main change: a versioned extension catalog in the OpenAPI document with the first target app.page, and native app pages appearing in navigation. It is specific and follows conventional commit style. It omits search and the bounded-document limits, which is acceptable.
Full details: Description check
Explanation
The description follows the template's main sections: Summary, design notes, and a test plan. The Related issue section is covered by the link to #625 in the summary, but it is not in the template's Related issue section format. The Type of change checklist is missing, as are the Checklist items, Breaking changes, and Screenshots sections. Its test plan does not state whether existing tests pass. The description is mostly complete, so the check passes, but the author should add the missing template sections.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
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]>
* feat(contracts): validate UI extension documents and release 1.6.0
Platforms render x-rentnerproxy-extensions since RentnerProxy/platform#630
and #631 and read the document leniently, skipping invalid entries. The
SDK now describes it strictly so app developers and candidate admission
see mistakes the platform would silently drop.
- UiExtensions, HostTableCellsRequest and HostTableCellsResult join the
protocol documents: catalog 1.0.0 with app.page,
proxyHosts.table.column and proxyHosts.table.rowAction, unique IDs,
per-target limits, labels without edge white space, platform icons
and navigation groups, and one non-empty cell per requested host.
- checkUiExtensions and check_ui_extensions check the document against
the manifest and the OpenAPI document: pages and row actions open
declared routes, permissions exist, and every column operation filters
cells per proxy host on proxy.hosts.read.v1 without a resource guard.
- Candidate admission runs the check when an app declares the member.
- Shared fixtures keep the TypeScript and Rust checks in agreement and
ship with the package.
The member is new, so no admitted document becomes invalid; the
protocol version stays 1.2.0.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
* style: apply automatic formatting
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
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
area: uiWeb interface components, routes, styling, and localization.enhancementNew feature or request
1 participant
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
First slice of RentnerProxy/platform#625: the extension target catalog v1 and its first target,
app.page. Apps can now choose where their pages appear instead of always getting one framed entry in the apps group.Design notes
uimember is closed, and signed catalogs embed manifests. A newui.extensionsmember would make older platforms reject the entire catalog.x-rentnerproxy-extensionssits next tox-rentnerproxy-uiandx-rentnerproxy-native-ui, which older platforms ignore.extensionCatalog.x-rentnerproxy-accesschecks, and page permissions only decide what the shell offers.Test plan
bun --checktypecheck,oxlint, and type-awareoxlinton the changed files.lib/AppUi/extensions.test.ts)app_manager::ui, 27 passed, including the root-only package load and the full inventory budget.cargo clippy --all-targets --all-features -D warningsandcargo fmt --check.🤖 Generated with Claude Code
Summary by CodeRabbit