Skip to content

fix(analytics): correct bar style attribute binding#1022

Open
lc-soft wants to merge 1 commit intoRightNow-AI:mainfrom
lc-soft:fix/bar-width-style
Open

fix(analytics): correct bar style attribute binding#1022
lc-soft wants to merge 1 commit intoRightNow-AI:mainfrom
lc-soft:fix/bar-width-style

Conversation

@lc-soft
Copy link
Copy Markdown
Contributor

@lc-soft lc-soft commented Apr 9, 2026

Summary

Fixed an issue in the analysis page where :style binding with a string value would overwrite the initial style attribute instead of merging with it. By switching to an object-based binding (e.g., :style="{ width: barWidth(m) }" ), the styles are now correctly applied and merged as expected.

Changes

Before:

screenshot-20260409-191624

After:

screenshot-20260409-191059

Testing

  • cargo clippy --workspace --all-targets -- -D warnings passes
  • cargo test --workspace passes
  • Live integration tested (if applicable)

Security

  • No new unsafe code
  • No secrets or API keys in diff
  • User input validated at boundaries

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.

1 participant