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

Chart QA tasks #115

Merged
merged 1 commit into from Mar 19, 2024
Merged

Chart QA tasks #115

merged 1 commit into from Mar 19, 2024

Conversation

andresgutgon
Copy link
Contributor

@andresgutgon andresgutgon commented Mar 12, 2024

What?

Improve initial charts with after some initial QA

Issue

#143

TODO

  • Fix blank slate height
  • Add sort prop
  • In <ChartLine /> columns can be defined without chartType. By default are line type.
  • Make the charts animate to the new state instead of flicker
  • Truncated X axis in mixed charts
  • Error display as in old latitude
  • Chart should have a title and description prop
  • Return generic error message when a query fails in production environment.
  • Do release changeset
  • Document sort prop and make clear that <LineChart /> is optional to pass chartType now

apps/server/vite.config.ts Outdated Show resolved Hide resolved
geclos

This comment was marked as outdated.

@andresgutgon andresgutgon force-pushed the fix/charts-blinking-loading branch 6 times, most recently from f2d1b06 to 05f9301 Compare March 15, 2024 15:46
@andresgutgon andresgutgon changed the title Charts blinking loading Chart QA tasks Mar 15, 2024
@latitude-dev latitude-dev deleted a comment from changeset-bot bot Mar 15, 2024
@andresgutgon andresgutgon force-pushed the fix/charts-blinking-loading branch 7 times, most recently from b4f0fbd to 9f02668 Compare March 18, 2024 12:19
@latitude-dev latitude-dev deleted a comment from changeset-bot bot Mar 18, 2024
@andresgutgon andresgutgon removed the WIP label Mar 18, 2024
Copy link

changeset-bot bot commented Mar 18, 2024

🦋 Changeset detected

Latest commit: 7649a21

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

This PR includes changesets to release 3 packages
Name Type
@latitude-data/svelte Minor
@latitude-data/client Minor
@latitude-data/server Minor

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
Contributor Author

Choose a reason for hiding this comment

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

Mintlify allow DRY docs.Having charts config duplicated in each chart type was going me crazy. Sorry the ocd but I think this is much better now

@andresgutgon andresgutgon force-pushed the fix/charts-blinking-loading branch 2 times, most recently from d248846 to 6e8c0c0 Compare March 19, 2024 08:26
@andresgutgon andresgutgon mentioned this pull request Mar 19, 2024
9 tasks
apps/server/package.json Outdated Show resolved Hide resolved
if (total === 0) {
return [row[0]].concat(rowData.map(() => 0))
}
if (total === 0) return row.map((val) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: add brackets to this if

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're very right in this one. I think we should for by ESLint the brackets

geclos
geclos previously approved these changes Mar 19, 2024
samulatitude
samulatitude previously approved these changes Mar 19, 2024
- Add sort prop
- Chart should have a title and description prop
- Truncated X axis in mixed charts
- Make the charts animate to the new state instead of flicker
- Error display as in old latitude
@andresgutgon andresgutgon merged commit 80f6456 into main Mar 19, 2024
2 checks passed
@andresgutgon andresgutgon deleted the fix/charts-blinking-loading branch March 19, 2024 11:06
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