Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: improve automatic compact notation detection#278

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gka merged 6 commits intomainfromfix/auto-tick-format
Nov 27, 2025

Conversation

@gka
Copy link
Contributor

@gkagka commentedNov 27, 2025

This pull request refactors how compact notation is determined for axis tick labels in both theAxisX.svelte andAxisY.svelte components. The logic for deciding when to use compact notation (e.g., "1K" for 1,000) is now extracted into a derived store for clarity and consistency, and the code for formatting tick labels is updated to use this new logic.

Axis tick label formatting improvements:

  • Extracted the logic for determining whether to use compact notation into a new$derived store calleduseCompactNotation in bothAxisX.svelte andAxisY.svelte, improving code readability and maintainability.[1][2]
  • Updated the tick label formatting function to use the newuseCompactNotation store instead of recalculating the logic inline, ensuring consistent behavior and reducing code duplication.[1][2]

@github-actions
Copy link

📦 Preview package for this PR is published!

Version:0.7.1-pr-278.0

Install it with:

npm install svelteplot@pr-278# or install the specific versionnpm install svelteplot@0.7.1-pr-278.0
github-actions[bot] reacted with thumbs up emojigithub-actions[bot] reacted with rocket emoji

@github-actions
Copy link

📦 Preview package for this PR is published!

Version:0.7.1-pr-278.1

Install it with:

npm install svelteplot@pr-278# or install the specific versionnpm install svelteplot@0.7.1-pr-278.1
github-actions[bot] reacted with thumbs up emojigithub-actions[bot] reacted with rocket emoji

@netlify
Copy link

netlifybot commentedNov 27, 2025
edited
Loading

Deploy Preview forsvelteplot ready!

NameLink
🔨 Latest commit0a76e68
🔍 Latest deploy loghttps://app.netlify.com/projects/svelteplot/deploys/6928dcd94f2c2d00081e35fe
😎 Deploy Previewhttps://deploy-preview-278--svelteplot.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 yourNetlify project configuration.

@github-actions
Copy link

📦 Preview package for this PR is published!

Version:0.7.1-pr-278.2

Install it with:

npm install svelteplot@pr-278# or install the specific versionnpm install svelteplot@0.7.1-pr-278.2
github-actions[bot] reacted with thumbs up emojigithub-actions[bot] reacted with rocket emoji

@github-actions
Copy link

📦 Preview package for this PR is published!

Version:0.7.1-pr-278.3

Install it with:

npm install svelteplot@pr-278# or install the specific versionnpm install svelteplot@0.7.1-pr-278.3
github-actions[bot] reacted with thumbs up emojigithub-actions[bot] reacted with rocket emoji

@github-actions
Copy link

📦 Preview package for this PR is published!

Version:0.7.1-pr-278.4

Install it with:

npm install svelteplot@pr-278# or install the specific versionnpm install svelteplot@0.7.1-pr-278.4
github-actions[bot] reacted with thumbs up emojigithub-actions[bot] reacted with rocket emoji

@gkagka merged commit8386138 intomainNov 27, 2025
4 checks passed
@gkagka deleted the fix/auto-tick-format branchNovember 27, 2025 23:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@gka

[8]ページ先頭

©2009-2025 Movatter.jp