| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Codecov Report
@@ Coverage Diff @@
## master #1967 +/- ##
=========================================
- Coverage 82.33% 81.9% -0.43%
=========================================
Files 628 628
Lines 6980 7053 +73
Branches 136 201 +65
=========================================
+ Hits 5747 5777 +30
- Misses 1161 1167 +6
- Partials 72 109 +37
Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
PatternFly-React preview: https://1967-pr-patternfly-react-patternfly.surge.sh |
Sorry, something went wrong.
| footer = null, | ||
| header = null, | ||
| ...props | ||
| }) => ( |
There was a problem hiding this comment.
Change to }: LoginProps) => (
Sorry, something went wrong.
| Login.propTypes = propTypes; | ||
| Login.defaultProps = defaultProps; | ||
|
|
||
| export default Login; |
There was a problem hiding this comment.
Remove all default exports.
Sorry, something went wrong.
| className = '', | ||
| children = null, | ||
| ...props | ||
| }) => ( |
There was a problem hiding this comment.
Change to }: LoginFooterProps) => (
Sorry, something went wrong.
| href = '#', | ||
| target = '_blank', | ||
| ...props | ||
| }) => { |
There was a problem hiding this comment.
Change to }: LoginFooterItemProps) => {
Sorry, something went wrong.
| onChangeRememberMe = () => undefined, | ||
| rememberMeAriaLabel = '', | ||
| ...props | ||
| }) => { |
There was a problem hiding this comment.
Change to }: LoginFormProps) => ( and ditch the return.
Sorry, something went wrong.
| children = null, | ||
| className = '', | ||
| ...props | ||
| }) => ( |
There was a problem hiding this comment.
Change to }: LoginMainFooterBandItemProps) => (
Sorry, something went wrong.
| target = '', | ||
| className = '', | ||
| ...props | ||
| }) => ( |
There was a problem hiding this comment.
Change to }: LoginMainFooterLinksItemProps) => (
Sorry, something went wrong.
| title = '', | ||
| subtitle = '', | ||
| ...props | ||
| }) => ( |
There was a problem hiding this comment.
Change to }: LoginMainHeaderProps) => (
Sorry, something went wrong.
| forgotCredentials = null, | ||
| socialMediaLoginContent = null, | ||
| ...props | ||
| }) => { |
There was a problem hiding this comment.
Change to }: LoginPageProps) => {
Sorry, something went wrong.
| .then(userNameInput => expect(userNameInput.text()).to.equal('')); | ||
| cy.get('input[name="pf-login-password-id"]') | ||
| .then(passwordInput => expect(passwordInput.text()).to.equal('')); | ||
| cy.get('#pf-login-remember-me-id') |
There was a problem hiding this comment.
Great tests again. Thanks.
Sorry, something went wrong.
| @@ -7,6 +7,6 @@ import LinkPreview from '@content/../LinkPreview'; | |||
| import RawSimpleLoginPage from '!!raw-loader!./examples/SimpleLoginPage'; | |||
There was a problem hiding this comment.
Do you need: typescript: true to show the TS badge?
Sorry, something went wrong.
There was a problem hiding this comment.
Yep!
Sorry, something went wrong.
There was a problem hiding this comment.
Can you please link the related issue here
Sorry, something went wrong.
| filter: PropTypes.string | ||
| }) | ||
| ]), | ||
| backgroundImgSrc?: string | BackgroundImageSrcMap; |
There was a problem hiding this comment.
I am not sure this will work for documentation due to the string in the union. We should update this to use the string values for BackgroundImageSrcMap.
Sorry, something went wrong.
There was a problem hiding this comment.
@tlabaj My assumption, based on the code in BackgroundImage, is that there are potentially other strings that might be valid as wel (otherwise, why have the string | ?). I can change the BackgroundImageSrcMap part to list the options, but with any string being valid it will still show as union in the docs, correct?
Sorry, something went wrong.
There was a problem hiding this comment.
Ye, that is my understanding as well.
Sorry, something went wrong.
There was a problem hiding this comment.
so is it worth listing the values here? If it's going to say union anyhow, might as well use the enum here (I assume we would be using the enums everywhere if the docs worked correctly).
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
|
@jeff-phillips-18 Looks good but there's a few conflicts now. |
Sorry, something went wrong.
|
Rebased |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What:
fixes #1995