Skip to content

Improve alignment and logic around Arch linux os version displays#34420

Merged
jacobshandling merged 4 commits into
mainfrom
34214
Oct 17, 2025
Merged

Improve alignment and logic around Arch linux os version displays#34420
jacobshandling merged 4 commits into
mainfrom
34214

Conversation

@jacobshandling
Copy link
Copy Markdown
Contributor

Related issue: Resolves #34214

  • Alignment in host summary fixed for both Firefox(L) and Chrome(R):
Screenshot 2025-10-16 at 6 38 39 PM
  • Fix detection logic in Software > OS Versions table, render tooltip-wrapped "rolling" there when appropriate

  • QA'd all new/changed functionality manually

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 17, 2025

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.23%. Comparing base (004e473) to head (b12074e).
⚠️ Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
...boardPage/cards/OperatingSystems/OSTableConfig.tsx 75.00% 1 Missing ⚠️
...es/hosts/details/cards/HostSummary/HostSummary.tsx 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #34420      +/-   ##
==========================================
- Coverage   64.23%   64.23%   -0.01%     
==========================================
  Files        2061     2061              
  Lines      207462   207455       -7     
  Branches     6935     7027      +92     
==========================================
- Hits       133268   133262       -6     
+ Misses      63744    63743       -1     
  Partials    10450    10450              
Flag Coverage Δ
frontend 53.54% <77.77%> (-0.02%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 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.

Comment on lines -265 to +264
{archLinuxPrefix}&nbsp;
<TooltipWrapperArchLinuxRolling />
</>
);
}
return <DataSet title="Operating system" value={value} />;
const version = summaryData.os_version;
const versionForRender = [
"Arch Linux rolling",
"Arch Linux ARM rolling",
"Manjaro Linux rolling",
"Manjaro Linux ARM rolling",
].includes(version) ? (
// wrap a tooltip aroun the "rolling" suffix
<>
{version.slice(0, -8)}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for the extra &nbsp; here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The style context in which these 2 elements are being rendered has some kind of spacing already, so this was making the gap excessive

@jacobshandling jacobshandling merged commit 4dd9fe8 into main Oct 17, 2025
15 checks passed
@jacobshandling jacobshandling deleted the 34214 branch October 17, 2025 15:26
jacobshandling added a commit that referenced this pull request Oct 17, 2025
…4420)

**Related issue:** Resolves #34214 

- Alignment in host summary fixed for both Firefox(L) and Chrome(R):
<img width="1728" height="221" alt="Screenshot 2025-10-16 at 6 38 39 PM"
src="https://github.com/user-attachments/assets/27d4489d-7a90-41bd-9b7d-53dfc95e4000"
/>

- Fix detection logic in Software > OS Versions table, render
tooltip-wrapped "rolling" there when appropriate

- [x] QA'd all new/changed functionality manually
sgress454 added a commit that referenced this pull request Oct 21, 2025
mna pushed a commit that referenced this pull request Oct 27, 2025
…4420)

**Related issue:** Resolves #34214 

- Alignment in host summary fixed for both Firefox(L) and Chrome(R):
<img width="1728" height="221" alt="Screenshot 2025-10-16 at 6 38 39 PM"
src="https://github.com/user-attachments/assets/27d4489d-7a90-41bd-9b7d-53dfc95e4000"
/>

- Fix detection logic in Software > OS Versions table, render
tooltip-wrapped "rolling" there when appropriate

- [x] QA'd all new/changed functionality manually
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.

Operating system "rolling" is misaligned

2 participants