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

Less verbose error messages for charts #1534

Merged
merged 4 commits into from Feb 1, 2024
Merged

Less verbose error messages for charts #1534

merged 4 commits into from Feb 1, 2024

Conversation

hughess
Copy link
Member

@hughess hughess commented Jan 28, 2024

Description

Currently if you have errors in a chart on your page, you will see large error messages printed to the terminal.

This PR shortens the error message, adds the chart type, and adds red font formatting to terminal output.

If we need the additional info, it may be worth adding a logLevel flag to components to allow larger messages to be posted.

Before

CleanShot 2024-01-28 at 16 37 28@21x

After

CleanShot 2024-01-28 at 16 45 17@2x

Checklist

  • For UI or styling changes, I have added a screenshot or gif showing before & after
  • I have added a changeset

Copy link

changeset-bot bot commented Jan 28, 2024

🦋 Changeset detected

Latest commit: 85fb8d2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@evidence-dev/core-components Patch
@evidence-dev/evidence Patch
@evidence-dev/components Patch
evidence-test-environment Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Jan 28, 2024

Deploy Preview for evidence-development-workspace ready!

Name Link
🔨 Latest commit 85fb8d2
🔍 Latest deploy log https://app.netlify.com/sites/evidence-development-workspace/deploys/65bba27a7b43270008dbf6f3
😎 Deploy Preview https://deploy-preview-1534--evidence-development-workspace.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

vercel bot commented Jan 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 1, 2024 1:54pm

@hughess hughess merged commit 3300751 into main Feb 1, 2024
15 checks passed
@hughess hughess deleted the minimize-errors branch February 1, 2024 15:00
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.

None yet

3 participants