Skip to content

Cherry-pick #48794: Fix custom packages download button#48799

Merged
cdcme merged 1 commit into
rc-minor-fleet-v4.89.0from
cdcme/fix-download-button-cp
Jul 6, 2026
Merged

Cherry-pick #48794: Fix custom packages download button#48799
cdcme merged 1 commit into
rc-minor-fleet-v4.89.0from
cdcme/fix-download-button-cp

Conversation

@cdcme

@cdcme cdcme commented Jul 6, 2026

Copy link
Copy Markdown
Member

Cherry-pick of #48794 into the RC branch.

**Related issue:** Resolves #48418

Fixes the missing download button for custom software packages on the
software details page by gating the button on whether the package has a
downloadable installer file, rather than on the package's source URL
(which is empty for directly-uploaded custom packages).

  # Checklist for submitter

  ## Testing

  - [x] Added/updated automated tests
  - [x] QA'd all new/changed functionality manually

<img width="1400" height="1000" alt="FIXED-custom-package-receipts"
src="https://github.com/user-attachments/assets/7be76a27-3f2f-463e-8cdd-481e6058be53"
/>
<img width="1400" height="1000" alt="FIXED-fma-010editor"
src="https://github.com/user-attachments/assets/5ba0aaa9-c15c-4e4a-bd5a-342e100d164e"
/>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Updated library item download visibility to rely on an explicit
download permission, so the download button now appears only when
downloading is allowed.
* Aligned software page rows and stories with the new download behavior
across active library items.
* Refined related test coverage and examples to match the updated
download-button logic.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@cdcme cdcme requested a review from a team as a code owner July 6, 2026 19:32
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (rc-minor-fleet-v4.89.0@4daa7ce). Learn more about missing BASE report.

Additional details and impacted files
@@                    Coverage Diff                    @@
##             rc-minor-fleet-v4.89.0   #48799   +/-   ##
=========================================================
  Coverage                          ?   67.48%           
=========================================================
  Files                             ?     3677           
  Lines                             ?   233561           
  Branches                          ?    12266           
=========================================================
  Hits                              ?   157621           
  Misses                            ?    61797           
  Partials                          ?    14143           
Flag Coverage Δ
frontend 58.95% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cdcme cdcme merged commit e5d83ca into rc-minor-fleet-v4.89.0 Jul 6, 2026
16 of 17 checks passed
@cdcme cdcme deleted the cdcme/fix-download-button-cp branch July 6, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants