-
Notifications
You must be signed in to change notification settings - Fork 6
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
DSD-1603: component changelogs #1436
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I flagged everyone on this PR so we're all on the same page going forward. As we update components (or add them anew), we will add and update a changelog for each individual component. Refer to the story pages that I've updated in this PR. @aarnold101 and @7emansell – Once this is merged into |
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.
Some updates but really like how it looks. As we add more updates in the changelog, the .mdx
files will grow long and unmaintainable. I'm thinking we can have an additional file called something like [component]-changelog.ts
that exports its own changelogData
array for the ComponentChangelogTable
component.
So for DatePicker, it would be DatePicker-changelog.ts
. What do you think?
* affects: "Accessibility" | "Documentation" | "Functionality" | "Styles"; | ||
* notes: array (will render as a bulleted list, add one array element for each list element) | ||
*/ | ||
export const changelogData = [ |
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.
You can define the type to ChangelogData
since that's already declared and could be used here to give better guidance for the type
and affects
values.
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 update looks good. The only minor comment is to type the changelogData
arrays in each data file so it's easier for devs to know what each property expects.
@EdwinGuzman I think the changes in my last update were significant enough to necessitate one more review. |
borderColor: borderColor, | ||
fontSize: "desktop.caption", | ||
// pb: "xs", | ||
// pt: "xs", |
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.
Okay to remove.
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 to me
…PL/nypl-design-system into DSD-1603/component-changelogs
Fixes JIRA ticket DSD-1603
This PR does the following:
ComponentChangelogTable
component.DatePicker
,FeedbackBox
,Hero
, andSlider
components.How has this been tested?
Accessibility concerns or updates
Checklist:
Front End Review: