-
Notifications
You must be signed in to change notification settings - Fork 18
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(rhelView, openshiftView): issues/305 add sub heading #348
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Test confirmations, expanding them in a predictable way
- Restoring "isRequired"
- Confirming if "Pendo" can generate the link for us
- Confirming Travis accepts the "anchor" tag
- Confirm with design that the paragraph doesn't need more padding. There may be an element/wrapper missing. Double check PF4 docs and the Frontend Components repo for Platform
src/components/pageLayout/__tests__/__snapshots__/pageLayout.test.js.snap
Outdated
Show resolved
Hide resolved
To help push this PR along bright and early... Recommend you take centralization as the key. Use your concept of "[storing urls]" and wanting to remove the pageHeader as the basis. We store our strings in a centralized location, yes?!
If you continue to have issues with the Button component/link according to what Travis is logging, we'll setup some time to confirm you're actively seeing the Travis log. And we'll confirm you know how to emulate what's happening in CI/Travis. The error we saw gave an exact solution to the issue. Again, there are no plans to alter the linter. It has been behaving as intended for the past few years across multiple projects, it may feel stifling but it's there to remove our opinions, and provide consistent output while giving us the ability to focus on actual issues, like architecting a reusable set of components that can potentially expand across a few dozen products. There will be times when it needs to be relaxed, but we have yet to come across an active "[it's broken]" scenario. |
595c645
to
1547442
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 1 minor change,
t
prop inpageHeader.js
- 1 future note that'll probably cause way more snapshot updates, lets avoid this round
e191880
to
70f01d2
Compare
Codecov Report
@@ Coverage Diff @@
## ci #348 +/- ##
=======================================
Coverage 92.41% 92.41%
=======================================
Files 61 61
Lines 1476 1476
Branches 349 349
=======================================
Hits 1364 1364
Misses 98 98
Partials 14 14
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
What's included
Notes
PageHeader was refactored to accept an explicit title prop and/or a block of content to include below the title. Other views using this component should all have been updated if needed.
How to test
Coverage and basic unit test check
$ yarn
$ yarn test
Local run check
$ yarn
$ yarn start
/openshift-sw
and confirm subheading text is correct and associated link works/rhel-sw/all
and confirm subheading text is correct and associated link worksExample
Updates issue/story
https://github.com/RedHatInsights/curiosity-frontend/issues/305
related to #302