yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #32314
[Bug 1447818] [NEW] Improve bytes, gb, and mb angular filters
Public bug reported:
In the horizon/static/horizon/js/angular/filters/filters.js file,
there's 3 filters that deal with disk-sizings: bytes, gb, and mb.
The bytes filter should likely accept a "target unit" input parameter
and lock all output to that unit instead of auto-determining the unit.
We should also probably complete the whole set of kb, mb, gb, tb, pb.
Also, the existing gb and mb filters are pretty naive and simplistic.
They should likely do more than just check for numbers and append "MB"
or "GB" to the value. Candidate improvements include:
A) Checking for a string that is already of the correct format
B) ???
** Affects: horizon
Importance: Undecided
Assignee: Matthew D. Wood (woodm1979)
Status: New
** Changed in: horizon
Assignee: (unassigned) => Matthew D. Wood (woodm1979)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1447818
Title:
Improve bytes, gb, and mb angular filters
Status in OpenStack Dashboard (Horizon):
New
Bug description:
In the horizon/static/horizon/js/angular/filters/filters.js file,
there's 3 filters that deal with disk-sizings: bytes, gb, and mb.
The bytes filter should likely accept a "target unit" input parameter
and lock all output to that unit instead of auto-determining the unit.
We should also probably complete the whole set of kb, mb, gb, tb, pb.
Also, the existing gb and mb filters are pretty naive and simplistic.
They should likely do more than just check for numbers and append "MB"
or "GB" to the value. Candidate improvements include:
A) Checking for a string that is already of the correct format
B) ???
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1447818/+subscriptions
Follow ups
References