-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor: merges TaxonomyCardMenu and TaxonomyDetailMenu #13
refactor: merges TaxonomyCardMenu and TaxonomyDetailMenu #13
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## rpenido/fal-3532-import-taxonomy #13 +/- ##
===================================================================
Coverage ? 88.82%
===================================================================
Files ? 449
Lines ? 6938
Branches ? 1473
===================================================================
Hits ? 6163
Misses ? 750
Partials ? 25 ☔ View full report in Codecov by Sentry. |
import messages from './messages'; | ||
|
||
const TaxonomyMenu = ({ | ||
id, name, iconMenu, disabled, |
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.
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.
Sure @ChrisChV!
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.
Done 0fe4b3c
I moved the logic to run inside the menu (to avoid duplication). Let me know what you think.
ee3cb0f
to
73dbd0d
Compare
73dbd0d
to
0fe4b3c
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.
@rpenido Looks good to me 👍 My concern is that there are going to be conflicts with openedx#684. Won't be long until that PR is merged. So, depending on which PR is merged, one will have to fix the conflicts.
- I tested this: I tested that the menu works.
- I read through the code and considered the security, stability and performance implications of the changes.
- I tested that the UI can be used with a keyboard only (tab order, keyboard controls).
- Includes tests for bugfixes and/or features added.
- Includes documentation
Sure @ChrisChV! As openedx#684 is on CC review, I think it is better to merge to openedx#675. @bradenmacdonald What do you think about merging this refactor to openedx#675? It seems like they didn't start the external review. |
@rpenido Good point. I don't want to slow down the CC review, so it does make sense to merge this to openedx#675 . Just make sure to update that PR with master once openedx#684 merges, so we resolve all the conflicts. |
This PR merges the TaxonomyCardMenu and TaxonomyDetailMenu since both contain the same items.