leeej84 / -DEPRECATED---PowerScale

Replacement for Citrix SmartScale
GNU General Public License v3.0
16 stars 11 forks source link

Dashboard #18

Closed JimKarlson closed 4 years ago

JimKarlson commented 4 years ago

In the dashboard:

A. History section: there is a section of URLs for listing the historical dashboards from other days. Suggestions:

  1. Update the height of this section in your template file; then when users select longer retention windows the URLs/Dates will all fit in the space properly. We've found that 120px seems to work nicely.
  2. Update the date format to be mm-dd-yyyy. Current format where it can go to m-d-yyyy breaks the sorting of dates and you end up with 8-10-2020 showing up before 8-2-2020 in the listing.

B. Titles in the dashboard - with a number of farms it's not so easy to remember which dashboard you are reviewing; adding elements to the Create Config File.ps1

  1. Ask for the user's preferred name/title for the specific instantiation of PowerScale. Use that name in both the section and the H1 section of the dashboard template. Then the tab has the name and the displayed dashboard has the name on it. </li> </ol> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/leeej84"><img src="https://avatars.githubusercontent.com/u/33576720?v=4" />leeej84</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>Thanks Jim, I'll get these pulled together.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/leeej84"><img src="https://avatars.githubusercontent.com/u/33576720?v=4" />leeej84</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>So, the date string is a strange one. I think this may have more to do with your settings on the machine. </p> <p>Can you run this in a PowerShell screen? (Get-Date 9/9/20).ToShortDateString()</p> <p>Let me see your output?</p> <p>This is what I get - 09/09/2020</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/leeej84"><img src="https://avatars.githubusercontent.com/u/33576720?v=4" />leeej84</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>Hi Jim, In the current branch you will find a test version, please put it in testing and not straight to production though. I have added other things such as a restrictive scale down method where you can specify how many machines get powered off rather than going straight to your target point.</p> <p>There are two new config entries: instanceName dateFormat</p> <p>I put the specific example for you in the comments. Let me know how you get on.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/leeej84"><img src="https://avatars.githubusercontent.com/u/33576720?v=4" />leeej84</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>Dashboards amends applied successfully and shown in testing, closing the issue.</p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>