fix(graphCardHelpers): sw-235 generateChartId threshold #1001
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's included
Notes
minimal visual differences for legend tooltips on RHEL and OpenShift Container Platform
resolves a future issue where duplicate metric IDs can be used for both Tally and Capacity by adding the
isCapacity/isThreshold
IDwe have an awkward situation where the deprecated graph component used by RHEL, and OpenShift (Container, Metric/On-Demand, Dedicated) product displays makes use of a common graph legend component that's being updated towards using a generated ID. That generated ID takes into account...
... but creates a copy regression scenario for the aforementioned product displays. The products still display strings, just not the ones tailored for them specifically, the context fallback strings, because the deprecated graph component doesn't pass the required IDs to generate the unique legend ID used by the copy tooling.
We could try to fix the deprecated component, but it is deprecated for a reason, and we are following this PR up with a subsequent PR that moves RHEL, OpenShift et all, and Satellite over to the new graph. Which means that effort would immediately be unused.
We'll make sure to note the related PR, and merge sequentially @mirekdlugosz
- subsequent PR refactor(config): sw-690 rhel, satellite, openshift metric graph #1002
How to test
Coverage and basic unit test check
$ yarn
$ yarn test
Local run check
$ yarn
$ yarn start
Example
...
Updates issue/story
sw-235
related sw-690
partially fixes sw-689
expands #1000