Skip to content

sysmon: fix the disk stats layout and the disk order - #4128

Merged
purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:sysmon-disk-layout
Nov 4, 2026
Merged

purian23 merged 1 commit into
duxlabs-dev:masterfrom
Conava:sysmon-disk-layout

Conversation

@Conava

@Conava Conava commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Description

Some small fixes for the disks in the system monitor.

The stats list next to the chart in the Disks tab took 40% of the card however wide the window was, which left a lot of space between the names and the values. It now has a maximum width and the chart takes the rest.

Response time only has a value when the disk did something since the last refresh, so on idle disks the row came and went and moved the whole list. It now stays in the list and shows a dash when there is no value, like the disk page in Performance already does. Busy does the same, since it disappeared for sleeping disks.

The disks in Performance now have the same order as in the Disks tab. Before, sda was listed above nvme0n1 in Performance and below it in the Disks tab.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

screenshot_2026-11-04_22-34-27

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

The drive stats list took 40% of the card however wide the window
got, leaving a large gap between names and values. Cap its width so
the chart takes the rest.

dgop only reports a response time for samples with I/O, so the row
came and went on idle disks and moved everything below it. Busy and
Response time now stay listed with a dash when there is no value,
like the Performance disk pane.

The Performance rail sorted disks by device name with shorter
prefixes first, which put sda above nvme0n1 while the Disks tab has
them the other way around. It now follows the drive list.
@github-actions github-actions Bot added fix ui Quickshell UI under quickshell/ labels Nov 4, 2026
@purian23
purian23 merged commit d000a8a into duxlabs-dev:master Nov 4, 2026
3 checks passed
dux-ci Bot pushed a commit that referenced this pull request Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants