-
Notifications
You must be signed in to change notification settings - Fork 106
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: add Skills Builder Header component, refactor to use ModalDialog #682
Conversation
c53c3f0
to
f88c4ab
Compare
Codecov ReportBase: 65.42% // Head: 65.58% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #682 +/- ##
==========================================
+ Coverage 65.42% 65.58% +0.16%
==========================================
Files 54 56 +2
Lines 830 834 +4
Branches 158 158
==========================================
+ Hits 543 547 +4
Misses 277 277
Partials 10 10
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View 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.
Looks great! I just had a few requests
src/skills-builder/skills-builder-header/SkillsBuilderHeader.jsx
Outdated
Show resolved
Hide resolved
src/skills-builder/skills-builder-header/skillsBuilderHeader.scss
Outdated
Show resolved
Hide resolved
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! Thanks for making the changes!
[APER-2258] This PR adds the SkillsBuilderHeader component to the profile MFE. There was also some additional refactoring work required to display the header in the modal. The FullscreenModal component is not flexible enough to allow custom header designs to be displayed (only text). We have to pivot to using the `ModalDialog` family of components instead.
f5623e7
to
dbf716e
Compare
}, | ||
skillsBuilderHeaderSubheading: { | ||
id: 'skills.builder.header.subheading', | ||
defaultMessage: 'Let edX be your guide', |
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.
Hi - this pull request (specifically this line) introduced a bug:
Could you please address by refactoring the edX-specific language out of strings? Thank you.
[APER-2258]
This PR adds the SkillsBuilderHeader component to the profile MFE.
There was also some additional refactoring work required to display the header in the modal. The
FullscreenModal
component is not flexible enough to allow custom header designs to be displayed (only text). We have to pivot to using theModalDialog
family of components instead.