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

feat(inventoryList,views): issues/10 display inventory list #372

Merged
merged 4 commits into from
Aug 11, 2020

Conversation

cdcabrera
Copy link
Member

@cdcabrera cdcabrera commented Aug 11, 2020

What's included

  • fix(table,tableSkeleton): issues/10 align content prop to pf

    • table, pf fixme annotations, align to pf title/content prop
    • tableSkeleton, switch to generic node, related to pf title align
  • fix(inventoryListSelectors): issues/10 itemCount, deep equals

    • inventoryListSelectors, itemCount, deep equals adjustment
    • rhsmApiTypes, added inventory_id
    • reduxHelpers add setNormalizedResponse
    • rhsmServices mock update
  • feat(inventoryList,views): issues/10 display inventory list

    • inventoryList, initial inventory list display
    • inventoryListHelpers, parse table cells
    • inventoryList perPageDefault for skeleton loader
    • pagination, initial pagination
    • rhelView, openshiftView add inventoryList
    • locale, i18n strings
    • styles, min-heights graphCard, inventoryList
  • fix(graphCard,c3GraphCard): issues/10 align card component

    • c3GraphCard, align to graphCard
    • graphCard, align to inventoryList card

Notes

  • This activates the basic inventory display. The "guests" table display is planned for the next increment.

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. Confirm the inventory is displaying

Example

Screen Shot 2020-08-11 at 5 45 50 PM

Screenshot_2020-08-11 Subscription Watch

Updates issue/story

Updates #10

@cdcabrera cdcabrera force-pushed the issues/10-inventory-paging branch from 93f4e70 to 9d0c7c3 Compare August 11, 2020 18:29
@cdcabrera cdcabrera mentioned this pull request Aug 11, 2020
10 tasks
…nsights#372)

* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
…Insights#372)

* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
…sights#372)

* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
…ights#372)

* c3GraphCard, align to graphCard
* graphCard, align to inventoryList card
@cdcabrera cdcabrera force-pushed the issues/10-inventory-paging branch from 9d0c7c3 to 5a94bda Compare August 11, 2020 20:01
@cdcabrera cdcabrera changed the title WIP feat(inventoryList,views): issues/10 display inventory list feat(inventoryList,views): issues/10 display inventory list Aug 11, 2020
@codecov-commenter
Copy link

Codecov Report

Merging #372 into ci will increase coverage by 0.07%.
The diff coverage is 92.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##               ci     #372      +/-   ##
==========================================
+ Coverage   92.47%   92.54%   +0.07%     
==========================================
  Files          64       67       +3     
  Lines        1528     1637     +109     
  Branches      355      376      +21     
==========================================
+ Hits         1413     1515     +102     
- Misses        100      107       +7     
  Partials       15       15              
Impacted Files Coverage Δ
src/services/rhsmServices.js 100.00% <ø> (ø)
src/types/rhsmApiTypes.js 100.00% <ø> (ø)
src/components/table/table.js 87.75% <69.23%> (-0.35%) ⬇️
src/components/rhelView/rhelView.js 92.30% <85.71%> (-7.70%) ⬇️
src/components/inventoryList/inventoryList.js 88.88% <88.88%> (ø)
src/components/pagination/pagination.js 88.88% <88.88%> (ø)
src/components/openshiftView/openshiftView.js 96.96% <92.85%> (-3.04%) ⬇️
src/components/c3GraphCard/c3GraphCard.js 88.67% <100.00%> (ø)
src/components/graphCard/graphCard.js 83.67% <100.00%> (ø)
...c/components/inventoryList/inventoryListHelpers.js 100.00% <100.00%> (ø)
... and 6 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 aa88ec9...5a94bda. Read the comment docs.

@cdcabrera cdcabrera merged commit 8af2129 into RedHatInsights:ci Aug 11, 2020
cdcabrera added a commit that referenced this pull request Aug 11, 2020
* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
cdcabrera added a commit that referenced this pull request Aug 11, 2020
* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
cdcabrera added a commit that referenced this pull request Aug 11, 2020
* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
@ntkathole
Copy link
Member

Hi @cdcabrera looks like it broke granularity. Graph is not displayed as per correct dates (Today its 12 Aug and screenshot showing 22 July for daily) and also x-axis values displayed are changed.

Screenshot from 2020-08-12 11-39-58

cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 13, 2020
…nsights#372)

* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 13, 2020
…Insights#372)

* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 13, 2020
…sights#372)

* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 13, 2020
…ights#372)

* c3GraphCard, align to graphCard
* graphCard, align to inventoryList card
cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 19, 2020
…nsights#372)

* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 19, 2020
…Insights#372)

* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 19, 2020
…sights#372)

* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
cdcabrera added a commit to cdcabrera/curiosity-frontend that referenced this pull request Aug 19, 2020
…ights#372)

* c3GraphCard, align to graphCard
* graphCard, align to inventoryList card
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* c3GraphCard, align to graphCard
* graphCard, align to inventoryList card
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
cdcabrera added a commit that referenced this pull request Aug 25, 2020
* c3GraphCard, align to graphCard
* graphCard, align to inventoryList card
cdcabrera added a commit that referenced this pull request Sep 16, 2020
* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
cdcabrera added a commit that referenced this pull request Sep 16, 2020
* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
cdcabrera added a commit that referenced this pull request Sep 16, 2020
* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
cdcabrera added a commit that referenced this pull request Sep 16, 2020
* c3GraphCard, align to graphCard
* graphCard, align to inventoryList card
cdcabrera added a commit that referenced this pull request Sep 29, 2020
* table, pf fixme annotations, align to pf title/content prop
* tableSkeleton, switch to generic node, related to pf title align
cdcabrera added a commit that referenced this pull request Sep 29, 2020
* inventoryListSelectors, itemCount, deep equals adjustment
* rhsmApiTypes, added inventory_id
* reduxHelpers add setNormalizedResponse
* rhsmServices mock update
cdcabrera added a commit that referenced this pull request Sep 29, 2020
* styles, min-heights graphCard, inventoryList
* inventoryList, initial inventory list display
* inventoryListHelpers, parse table cells
* inventoryList perPageDefault for skeleton loader
* pagination, initial pagination
* rhelView, openshiftView add inventoryList
* locale, i18n strings
cdcabrera added a commit that referenced this pull request Sep 29, 2020
* c3GraphCard, align to graphCard
* graphCard, align to inventoryList card
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.

3 participants