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

fix: Some errors breaking storybook build #18767

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

cnhhoang850
Copy link
Contributor

What does this PR do?

  • Fix some errors breaking storybook build

Mandatory Tasks (DO NOT REMOVE)

Screenshot 2025-01-20 at 22 55 22 Screenshot 2025-01-20 at 22 55 13
  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

@graphite-app graphite-app bot added the community Created by Linear-GitHub Sync label Jan 20, 2025
@graphite-app graphite-app bot requested a review from a team January 20, 2025 16:19
Copy link

vercel bot commented Jan 20, 2025

@cnhhoang850 is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

@dosubot dosubot bot added the 🐛 bug Something isn't working label Jan 20, 2025
Copy link

graphite-app bot commented Jan 20, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (01/20/25)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add community label" took an action on this PR • (01/20/25)

1 label was added to this PR based on Keith Williams's automation.

Copy link
Contributor Author

@cnhhoang850 cnhhoang850 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No functionality changed in the files changed

@@ -9,8 +9,6 @@ const config: StorybookConfig = {
"../../../packages/ui/components/**/*.docs.mdx",
"../../../packages/features/**/*.stories.@(js|jsx|ts|tsx)",
"../../../packages/features/**/*.docs.mdx",
"../../../packages/atoms/**/*.stories.@(js|jsx|ts|tsx)",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Atoms not placed here anymore

@@ -11,7 +11,8 @@ module.exports = {
* These styles will only be added in storybook, and will NOT
* end up in the final css bundle of apps using the components.
*/
"postcss-pseudo-companion-classes": {
[require.resolve("postcss-pseudo-companion-classes")]: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be resolved as absolute path

@@ -209,7 +209,7 @@ const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({
<div>{t("value")}</div>
</div>
<div>
{...Object.keys(onBookingWriteToEventObjectMap).map((key) => (
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React disallows inline spread, isn't different from without spread

@Udit-takkar Udit-takkar added this to the v5.0 milestone Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working community Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants