-
Notifications
You must be signed in to change notification settings - Fork 0
381 auto height #713
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
381 auto height #713
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
5a522d7
to
7569454
Compare
This is a preview of the changelog of the next release. If this branch is not up-to-date with the current main branch, the changelog may not be accurate. Rebase your branch on the main branch to get the most accurate changelog. Note that this might contain changes that are on main, but not yet released. Changelog: 0.16.0 (2025-02-11)⚠ BREAKING CHANGES
Features |
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 in general 👍
The linter is complaining in a couple of places about missing hook dependencies.
Also the screenshot updates are missing. I'm also not sure whether it's a good idea to remove all the default heights. Do the diagrams still fit into the screen in the snapshot tests?
components/src/web-components/visualization/gs-aggregate.stories.ts
Outdated
Show resolved
Hide resolved
components/src/preact/sequencesByLocation/sequences-by-location-map.tsx
Outdated
Show resolved
Hide resolved
54f5134
to
e698c92
Compare
e698c92
to
c8e8b02
Compare
c8e8b02
to
e8aef37
Compare
...tory-visualization-mutation-comparison--default-should-match-screenshot-1-chromium-linux.png
Outdated
Show resolved
Hide resolved
...ions-Story-visualization-mutations--on-table-tab-should-match-screenshot-1-firefox-linux.png
Outdated
Show resolved
Hide resolved
...-visualization-preva-a82c2-dataset-on-bubble-tab-should-match-screenshot-1-firefox-linux.png
Outdated
Show resolved
Hide resolved
...gate-Download-of-visualization-aggregate--default-should-match-snapshot-1-chromium-linux.txt
Outdated
Show resolved
Hide resolved
022937d
to
a7b4a96
Compare
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.
Nice, looks good!
7159d88
to
496f1ca
Compare
…cally by content height BREAKING CHANGE: If height is not set, use automatic determined height by content instead of default value. Resolves #381
496f1ca
to
3e76a19
Compare
…enomes are empty resolves #713
…enomes are empty resolves #713
resolves #381
Summary
In this PR, the height is changed to an optional property with no default. If the value is not provided, either the full table is displayed, or the diagram with a fixed aspect ratio is shown.
Screenshot
Diagram with no height provided. Defaults to fixed aspect ratio.

Table with no height provided.

PR Checklist