-
Notifications
You must be signed in to change notification settings - Fork 24
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
✨(frontend) replace grommet Heading #2410
Conversation
fc321e2
to
480ca92
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.
I still have to make it run, but LGTM for now 👍
@@ -44,21 +44,21 @@ const TextBannerBox = styled(Box)` | |||
`; | |||
|
|||
interface LayoutProps { | |||
isFullLayout: boolean; | |||
$isFullLayout: boolean; |
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.
FMI, why adding a $
here ?
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.
the jquery nostalgia
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.
All the props are propagating to the component Heading
then the DOM, but we don't want isFullLayout
to propagate because it is used only with the styled
component HeadingBanner
, so to block the propagation you can add a dollar in front of your variable (https://styled-components.com/docs/basics#passed-props).
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.
Oh OK, thanks !
UploadsView is not used anywhere in the app, so it can be deleted.
In order to do the transition to the cunningham design system, we replace the grommet Heading component with our own Heading component that uses the cunningham design system.
480ca92
to
ebc7e43
Compare
Added - Send an email when a live stream is ready to be converted to VOD - Send an email when a live stream is converted to VOD - Send an email when a live stream is about to be deleted Changed - Replace grommet Heading (#2410) - Upgrade to python 3.11 - Upgrade channels and channels-redis to version 4 Fixed - force bbb user_id uniqueness in join url
Added - Send an email when a live stream is ready to be converted to VOD - Send an email when a live stream is converted to VOD - Send an email when a live stream is about to be deleted Changed - Replace grommet Heading (#2410) - Upgrade to python 3.11 - Upgrade channels and channels-redis to version 4 Fixed - force bbb user_id uniqueness in join url
Purpose
Replace grommet Heading with a mix of Cunningham and our own wrapper.
Proposal
Heading
wrapperHeading
in the codespaceReview
Extra check here: https://github.com/openfun/marsha/pull/2410/files#diff-338a7653e6c76d240c205006ef794dd9aa28e209ebd7d202042946df64d597e6