Versions modal, multi-row Library, pinned state - #48081
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/38504-auto-update-pin-rollback-fma #48081 +/- ##
==========================================================================
Coverage ? 67.26%
==========================================================================
Files ? 3641
Lines ? 230040
Branches ? 11934
==========================================================================
Hits ? 154747
Misses ? 61418
Partials ? 13875
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
eb3cb81 to
911cbca
Compare
|
@claude review once |
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
| softwareId, | ||
| teamId, | ||
| }); | ||
| renderFlash( |
There was a problem hiding this comment.
We're going to have to update this to the new notify.success @marko-lisica implemented
| refetchSoftwareTitle(); | ||
| onExit(); | ||
| } catch (error) { | ||
| renderFlash("error", "Couldn't update version. Please try again."); |
RachelElysia
left a comment
There was a problem hiding this comment.
no blockers! thanks for all this
e991001
into
feat/38504-auto-update-pin-rollback-fma
Hey @cdcme @RachelElysia, I see that we have a container around radio buttons. That's not in Figma. Can we get rid of that? |
#48293) **Related issue:** Resolves #38504 **Constituent PRs (merged into this feature branch):** - #47682 — Fleet UI: APRF Software title details page Library/Inventory layout - #47808 — Extend update software installer API to support FMA version pinning - #47944 — Fleet UI: APRF library item accordion component - #48081 — Versions modal, multi-row Library, pinned state - #48098 — Add `pinned_version` to `edited_software` activity - #48123 — Auto-update FMA cron - #48144 — Download a newly-published FMA version when pinned to it # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. - [x] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements), JS inline code is prevented especially for url redirects, and untrusted data interpolated into shell scripts/commands is validated against shell metacharacters. - [x] Timeouts are implemented and retries are limited to avoid infinite loops - [x] If paths of existing endpoints are modified without backwards compatibility, checked the frontend/CLI for any necessary changes ## Testing - [x] Added/updated automated tests - [x] Where appropriate, [automated tests simulate multiple hosts and test for host isolation](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/reference/patterns-backend.md#unit-testing) (updates to one hosts's records do not affect another) - [x] QA'd all new/changed functionality manually <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Fleet-maintained app version pinning (Latest, exact, and major) via a new Versions modal. * Introduced premium auto-updates for maintained apps with pin-aware promotion and rollback-safe caching. * Added expandable library version rows and a Policies modal. * **Bug Fixes** * Improved pin handling, cache/manifest hydration, and safer update behavior on per-app failures and deduplication. * **UI/UX** * Refreshed the Software title details experience with new accordion/list patterns, redesigned details widget/tooltips, and updated installer presentation. * **Documentation** * Expanded Storybook component/page coverage and adjusted Storybook canvas padding. * **Tests** * Added/updated unit and integration tests for pinning, auto-update flows, and new modal/UI behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai -->

Related issue: Resolves #47623
Summary
Wires up the Fleet-maintained app version-pinning UI on the software title details page:
pinned_versionto the software-package interface and aversionfield to the installerPATCHrequest.Frontend only; targets the
feat/38504-auto-update-pin-rollback-fmafeature branch (backend, layout, and accordion already merged there).Checklist for submitter
Testing
Screen.Recording.2026-06-23.at.14.45.20.mov