New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change "Disabled" to "Quotas Disabled" in Web-UI #2810
Comments
If this should only be done on the Shares Screen, then the change would have to be done here: rockstor-core/src/rockstor/storageadmin/static/storageadmin/js/templates/share/shares_table.jst Lines 24 to 59 in 4d690ef
changing the text from I tested the change, and that seems to do it: For consistency, once could also change the wording from If you wanted to influence this also in the Pool page, it will be slightly more involved. Probably here: rockstor-core/src/rockstor/storageadmin/static/storageadmin/js/views/pools.js Lines 135 to 160 in 4d60a2c
change the And here in Line 299: rockstor-core/src/rockstor/storageadmin/static/storageadmin/js/views/pools.js Lines 294 to 300 in 4d60a2c
Do affect the drop-down, the text values also have to be changed over here: rockstor-core/src/rockstor/storageadmin/static/storageadmin/js/views/pool_details_layout_view.js Line 201 in 4d60a2c
But on the pool page it might not matter all that much, since there is a dedicated column for quotas, so that should be self-explanatory. |
@Hooverdan96 Thanks for looking into this one. Much appreciated.
That was my thinking also. I just created the issue quickly as was focused elsewhere and wasn't sure if we did it like this or used a model value. So yes this would do it nicely I think.
Agreeed.
I think it is less critical there: as quotas has it's very own column: so is far less subject to miss-interpretation.
Exactly. Since you've basically fix this issue (Shares side), do you fancy presenting a PR. It's a safe/simple change after-all. And we could then get this into the next testing release: and consequently our pending Stable. |
PR submitted. |
Change Quota Status Display Wording #2810
Closing as: |
We have the following header & example content in shares overview:
Pool (Active mount options / Status) Quotas
Which is meant to indicate the 3 infomational items: Pool (name), mount options/status, Quota status.
However when the RED Disabled appears in the 'Quotas' position:
Pool (Active mount options / Status) Quotas
it can too easily lead to an inaccurate/misleading inference that the Share itself is disabled.
It is proposed that we instead specify that it is the Quotas that are disabled by the explicit use of Quotas Disabled in this warning message text.
The text was updated successfully, but these errors were encountered: