Skip to content
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

Merged
merged 1 commit into from
Feb 6, 2023

Conversation

justinhynes
Copy link
Contributor

@justinhynes justinhynes commented Feb 3, 2023

[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.

image

screencapture-localhost-1995-skills-2023-02-03-14_35_30

@justinhynes justinhynes force-pushed the jhynes/aper-2258 branch 2 times, most recently from c53c3f0 to f88c4ab Compare February 3, 2023 20:19
@justinhynes justinhynes marked this pull request as ready for review February 3, 2023 20:19
@codecov
Copy link

codecov bot commented Feb 3, 2023

Codecov Report

Base: 65.42% // Head: 65.58% // Increases project coverage by +0.16% 🎉

Coverage data is based on head (f5623e7) compared to base (9e34fdd).
Patch coverage: 66.66% of modified lines in pull request are covered.

❗ Current head f5623e7 differs from pull request most recent head dbf716e. Consider uploading reports for the commit dbf716e to get more accurate results

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              
Impacted Files Coverage Δ
...uilder/skills-builder-modal/SkillsBuilderModal.jsx 62.50% <0.00%> (ø)
...lder/skills-builder-header/SkillsBuilderHeader.jsx 100.00% <100.00%> (ø)
...c/skills-builder/skills-builder-header/messages.js 100.00% <100.00%> (ø)

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@MaxFrank13 MaxFrank13 left a 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

Copy link
Member

@MaxFrank13 MaxFrank13 left a 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.
@justinhynes justinhynes merged commit 6a4c8d9 into master Feb 6, 2023
@justinhynes justinhynes deleted the jhynes/aper-2258 branch February 6, 2023 19:45
},
skillsBuilderHeaderSubheading: {
id: 'skills.builder.header.subheading',
defaultMessage: 'Let edX be your guide',
Copy link
Contributor

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:

#686

Could you please address by refactoring the edX-specific language out of strings? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants