-
Notifications
You must be signed in to change notification settings - Fork 23
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
Voucher dropdown + Miscellaneous fixes #133
base: main
Are you sure you want to change the base?
Conversation
Seems like it broke some tests, not exactly sure what though |
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.
Nice work! Maybe fix some of the stuff I mentioned if you feel like it.
} | ||
onSetPage={(index) => props.pagination.page = index} | ||
onSetPage={(index) => (props.pagination.page = index)} |
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.
Not sure what is going on here. You are setting the prop to index? Should you be setting state?
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.
I'm not exactly sure- maybe it's intended as a Redux update? Was someone working on fixing the pagination? Otherwise I can look into this
<Col xs="10" style={{ paddingLeft: "15px" }}> | ||
Pets allowed | ||
</Col> | ||
<Col xs="10">Pets allowed</Col> |
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.
Did it not need the padding anymore?
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.
I moved the padding "up a level"- the class name px-3
adds the padding to the parent instead of each child having their own padding
@@ -11,11 +11,11 @@ const bootstrapSearch = () => { | |||
xmlns="http://www.w3.org/2000/svg" | |||
> | |||
<path | |||
fill-rule="evenodd" | |||
fillRule="evenodd" |
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.
What is this doing?
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.
Not sure, I think it has to do with SVG formats; just changed it because it was throwing a warning (because React prefers camel-cased params)
Looks like you have to update your snapshots |
Oh ok! How would I do that? |
Sorry I missed this. Did you get it figured out? Slack me tomorrow if not. |
I have the frontend for the voucher done (still need to do redux/api) and also added a variety of tweaks/fixes:
NestedDOM <a>
warningNestedDOM <td> <button>
warningfill-rule
warningscrollable
to make modal scroll correctlySearchTool.js