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

DRY workflows and ColorBar snap tick labels to nice values #22

Merged
merged 8 commits into from
Apr 3, 2023

Conversation

janosh
Copy link
Owner

@janosh janosh commented Apr 2, 2023

Migrate to reusable workflows in https://github.com/janosh/workflows.

6c6338f DRY workflows
92d4f31 update deps
2bcc499 add test/unit/BohrAtom.test.ts
30ffa40 add props snap_ticks, ramp_points, nice_range to ColorBar
f3ecd7e fix ColorBar.test.ts and remove PR to main trigger from gh-pages.yml
3863a6c refactor pretty_num() to use d3.format() with SI units for abs(num) > 1 and floating or exponential for abs(num) < 1
5ad957c fix type of ElementTile.svelte precision prop

@janosh janosh temporarily deployed to github-pages April 2, 2023 14:44 — with GitHub Actions Inactive
@janosh janosh temporarily deployed to github-pages April 2, 2023 14:45 — with GitHub Actions Inactive
@janosh janosh temporarily deployed to github-pages April 2, 2023 14:46 — with GitHub Actions Inactive
remove prop precision, seems to be well handled by d3.scaleLinear.nice()
@janosh janosh temporarily deployed to github-pages April 3, 2023 04:18 — with GitHub Actions Inactive
@janosh janosh changed the title DRY workflows DRY workflows and ColorBar snap tick labels to nice values Apr 3, 2023
@janosh janosh merged commit a4edc93 into main Apr 3, 2023
3 checks passed
@janosh janosh deleted the dry-workflows branch April 3, 2023 19:02
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

1 participant