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

fix(inventoryList): issues/468 display measurementType #485

Merged
merged 1 commit into from
Oct 28, 2020

Conversation

cdcabrera
Copy link
Member

What's included

  • fix(inventoryList): issues/468 display measurementType
    • inventoryList, guestsList, expand prop types, content check
    • inventoryListSelectors, lowercase measurementType
    • locale, measurementType strings, VM to guests
    • openshiftView, rhelView, hardware to measurementType
    • rhsmApiTypes, add type, expected measurementType
    • rhsmServices, measurementType mock

Notes

  • Using "measurement type" instead of "hardware type"
  • this is primarily a copy and clean up update, see below example
  • Column sorting is no longer available until the API provides for "measurement type"

How to test

Proxy run check

  1. update the NPM packages with $ yarn
  2. make sure Docker is running, plus on network, then
  3. $ yarn start:proxy
  4. log into an account with the appropriate data
  5. confirm said hypervisors are displaying under the "types" inventory column

Example

Screen Shot 2020-10-28 at 2 11 11 PM

Updates issue/story

updates #468

* inventoryList, guestsList, expand prop types, content check
* inventoryListSelectors, lowercase measurementType
* locale, measurementType strings, VM to guests
* openshiftView, rhelView, hardware to measurementType
* rhsmApiTypes, add type, expected measurementType
* rhsmServices, measurementType mock
@codecov-io
Copy link

Codecov Report

Merging #485 into ci will decrease coverage by 0.15%.
The diff coverage is 88.23%.

Impacted file tree graph

@@            Coverage Diff             @@
##               ci     #485      +/-   ##
==========================================
- Coverage   93.23%   93.08%   -0.16%     
==========================================
  Files          70       70              
  Lines        1863     2270     +407     
  Branches      446      761     +315     
==========================================
+ Hits         1737     2113     +376     
- Misses        108      139      +31     
  Partials       18       18              
Impacted Files Coverage Δ
src/components/guestsList/guestsList.js 98.41% <ø> (+0.58%) ⬆️
src/components/inventoryList/inventoryList.js 90.90% <ø> (-3.69%) ⬇️
src/services/rhsmServices.js 100.00% <ø> (ø)
src/types/rhsmApiTypes.js 100.00% <ø> (ø)
src/components/openshiftView/openshiftView.js 92.75% <87.50%> (-3.00%) ⬇️
src/components/rhelView/rhelView.js 89.13% <87.50%> (-3.18%) ⬇️
src/redux/selectors/inventoryListSelectors.js 97.56% <100.00%> (-2.44%) ⬇️
src/components/router/redirect.js 65.00% <0.00%> (-5.59%) ⬇️
src/components/router/routerHelpers.js 91.42% <0.00%> (-5.45%) ⬇️
... and 43 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 50e4d05...f6475b7. Read the comment docs.

@cdcabrera cdcabrera merged commit 61cc28d into RedHatInsights:ci Oct 28, 2020
cdcabrera added a commit that referenced this pull request Oct 28, 2020
* inventoryList, guestsList, expand prop types, content check
* inventoryListSelectors, lowercase measurementType
* locale, measurementType strings, VM to guests
* openshiftView, rhelView, hardware to measurementType
* rhsmApiTypes, add type, expected measurementType
* rhsmServices, measurementType mock
cdcabrera added a commit that referenced this pull request Oct 29, 2020
* inventoryList, guestsList, expand prop types, content check
* inventoryListSelectors, lowercase measurementType
* locale, measurementType strings, VM to guests
* openshiftView, rhelView, hardware to measurementType
* rhsmApiTypes, add type, expected measurementType
* rhsmServices, measurementType mock
cdcabrera added a commit that referenced this pull request Dec 2, 2020
* inventoryList, guestsList, expand prop types, content check
* inventoryListSelectors, lowercase measurementType
* locale, measurementType strings, VM to guests
* openshiftView, rhelView, hardware to measurementType
* rhsmApiTypes, add type, expected measurementType
* rhsmServices, measurementType mock
cdcabrera added a commit that referenced this pull request Dec 2, 2020
* inventoryList, guestsList, expand prop types, content check
* inventoryListSelectors, lowercase measurementType
* locale, measurementType strings, VM to guests
* openshiftView, rhelView, hardware to measurementType
* rhsmApiTypes, add type, expected measurementType
* rhsmServices, measurementType mock
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.

2 participants