all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH manager 0/2] ui: fix memory usage percentage above 100% and its sorting
@ 2026-09-25  5:32 Michal Fox
  2026-09-25  5:32 ` [PATCH manager 1/2] fix #6874: ui: node selectors: sort memory usage by percentage Michal Fox
  2026-09-25  5:32 ` [PATCH manager 2/2] fix #7224: ui: utils: show memory usage above 100% correctly Michal Fox
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Fox @ 2026-09-25  5:32 UTC (permalink / raw)
  To: pve-devel

the percentage renderer took any value above 1 as bytes, so a VM above
100% showed up as 0.0 % (#7224). as Fabian suggested in the bug, the two
node selectors now calculate the percentage first, which also fixes
sorting by memory in the migration dialog (#6874), and the fallback is
gone.

tested with the built pvemanagerlib.js in a browser and the numbers from
the #7224 report: 103.5 % instead of 0.0 %, and nodes with different
total memory now sort by usage

Michal Fox (2):
  fix #6874: ui: node selectors: sort memory usage by percentage
  fix #7224: ui: utils: show memory usage above 100% correctly

 www/manager6/Utils.js                   | 10 ----------
 www/manager6/form/NodeSelector.js       | 16 ++++++++++++++--
 www/manager6/ha/NodePrioritySelector.js | 14 ++++++++++++--
 3 files changed, 26 insertions(+), 14 deletions(-)

-- 
2.43.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-28  7:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  5:32 [PATCH manager 0/2] ui: fix memory usage percentage above 100% and its sorting Michal Fox
2026-09-25  5:32 ` [PATCH manager 1/2] fix #6874: ui: node selectors: sort memory usage by percentage Michal Fox
2026-09-25  5:32 ` [PATCH manager 2/2] fix #7224: ui: utils: show memory usage above 100% correctly Michal Fox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal