Skip to content
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

Merge 8.5 changes into GroupBy feature branch #1055

Merged
merged 20 commits into from
Sep 19, 2019

Conversation

smgallo
Copy link
Contributor

@smgallo smgallo commented Sep 19, 2019

Description

Merge 8.5 changes into GroupBy feature branch

Motivation and Context

Tests performed

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

jtpalmer and others added 20 commits September 9, 2019 14:59
update roadmap url and reenable tests
Bug fixes: Add mask and make chart name unique
A dashboard component author should add a 'help' property that contains
the definition of the help window title and contents.

Also update all components to inherit from the appropriate base
class.
Add help window for Dashboard Components
Also change the conditional statement to be more obvious as to its
purpose.
Update profile editor for renamed rest interface.
Update dashboard chart display algorithm
* Add help images for core dashboard components
The metric explorer uses a renderer to convert the internal ids to
the human readable values for many of the combo boxes. The lookup
function was incorrectly using the store.find() call which only
performs a substring match. In the observed case the defined metrics
were:

job_count_bad => 'Number of Inefficient Jobs'
job_count   => 'Number of Jobs'

so when the code looked up the text for the job_count metric
the find() function would match the job_count_bad string
and the wrong text would be displayed.

This bug has been in the system forever. Why have we not noticed
it before. Well the backend code sorts the data
so that the human readable strings appear in alphabetical order. So
for example the resource / resource_type group by ends up sorted in the
following order:

resource => 'Resource'
resource_type => 'Resource Type'

therefore resource appears in the list first and a substring lookup
for resource returns the expected value. So, by luck most of the
cases do not happen. The only one I found is the SUPREMM Requested Wall
Hours Per Job and Requested Wall Hours: Total.

An even more curious reader might ask why updates to the JobEfficiency
realm would impact the job data. Well the code in the metric explorer
ignores the realm when building the list of statistics. So if two
different realms have the same metric then the text description for the
first one wins. In this case JobEfficiency is before Jobs in the
alphabet.
Fix metric explorer metric and dimension display bug.
* Fix Usage UI Regression

- Fixed std-error checkbox being enabled vs. disabled for statistics.
- Fixed chart exception handling to work when the response does not contain
  json. Uses the standard `presentFailure` function instead of a message box.
- Also updated the `presentFailure` function so that the wrapped message is
  displayed on the next line.

Co-Authored-By:Benjamin D. Plessinger <ben@plessinger.us>
Add ability to hide realm from the metric catalog
@smgallo smgallo merged commit fb7269e into ubccr:feature/groupby-refactor Sep 19, 2019
@smgallo smgallo deleted the groupby/merge-85 branch September 19, 2019 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants