-
Notifications
You must be signed in to change notification settings - Fork 30
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
Inline EditorialButton and EditorialLinkButton into DCR #12520
Conversation
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
5074740
to
bb27ca0
Compare
Size Change: +73 B (+0.01%) Total Size: 898 kB ℹ️ View Unchanged
|
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 good! A few questions/suggestions.
dotcom-rendering/src/components/EditorialButton/EditorialButton.stories.tsx
Outdated
Show resolved
Hide resolved
dotcom-rendering/src/components/EditorialButton/EditorialButton.stories.tsx
Outdated
Show resolved
Hide resolved
dotcom-rendering/src/components/EditorialButton/EditorialButton.tsx
Outdated
Show resolved
Hide resolved
dotcom-rendering/src/components/EditorialButton/EditorialLinkButton.stories.tsx
Outdated
Show resolved
Hide resolved
dotcom-rendering/src/components/EditorialButton/EditorialLinkButton.stories.tsx
Outdated
Show resolved
Hide resolved
dotcom-rendering/src/components/EditorialButton/EditorialLinkButton.tsx
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.
Probably one for a follow-up, but most of this file can probably be integrated into DCAR's palette
?
1458a82
to
d4970f0
Compare
What does this change?
Why?
These components are part of
@guardian/source-development-kitchen
, but have only been used in one place in 2 years.As editorial components, it only makes sense to use these buttons in an editorial context, for which DCR is becoming the single source of rendering truth.
I'm making this change in the context of the extraction of format-related types from the shared
@guardian/libs
package into DCR. See also #12461