Skip to content

fix: clear grouped 3D z-axis name under option merge#192

Merged
fahimfaisaal merged 4 commits into
goptics:mainfrom
ahfoysal:fix-grouped-3d-z-axis-label
Jul 9, 2026
Merged

fix: clear grouped 3D z-axis name under option merge#192
fahimfaisaal merged 4 commits into
goptics:mainfrom
ahfoysal:fix-grouped-3d-z-axis-label

Conversation

@ahfoysal

@ahfoysal ahfoysal commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #188.

Grouped 3D charts already show the z grouping in the legend, so this removes the misleading z-axis name from grouped bar, line, and scatter charts. Value-mode charts still label the z axis with the metric.

Checked:

  • pnpm vitest run src/composables/charts/useGrouped3DZAxisLabel.test.ts src/composables/charts/useScatter3DChartOptions.test.ts
  • pnpm typecheck
  • pnpm exec prettier --check on the touched files

@fahimfaisaal

fahimfaisaal commented Jul 6, 2026

Copy link
Copy Markdown
Member

Hi @ahfoysal, Thanks for the PR.

The UI embed checks are failing. Please build the UI using task build:ui and push the vizb-ui-gen.go file.

Also sharing a short video or a screenshot of the UI changes would be great.

@ahfoysal

ahfoysal commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

I pushed the requested UI embed update and split the extra theme work out so this PR stays focused on issue 188.

@ahfoysal
ahfoysal force-pushed the fix-grouped-3d-z-axis-label branch from b961fa2 to f95398e Compare July 6, 2026 06:34
@ahfoysal

ahfoysal commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Quick update: I split the earlier follow-up commit for issue 178 into a separate branch/PR so 192 remains focused on issue 188 only. Theme support is now tracked in PR #195.

@fahimfaisaal

Copy link
Copy Markdown
Member

@ahfoysal before contributing to this repo, you have to have follow prerequisite.

Like having go installed. Please read the Contributing.md file.

to install go just use https://webinstall.dev/go/

@ahfoysal

ahfoysal commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Thanks, I reran this with Go installed.

go test ./... passes locally now.

@fahimfaisaal

Copy link
Copy Markdown
Member

@ahfoysal now run the task build:ui command to regenerate the vizb-ui-gen.go file.

Commit the file and push

@ahfoysal

ahfoysal commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Done. I ran task build:ui, committed the regenerated pkg/template/vizb-ui.gen.go, and pushed it to this branch.

The command completed successfully locally.

@fahimfaisaal

Copy link
Copy Markdown
Member

Nice, but now we have conflicts on the gen file.

Please merge with latest main branch and regenerate the ui using task build:ui command

Omitting the name left sticky labels when Chart3D merges options.
Set name to empty string for bar/line/scatter grouped mode, keep
value-mode metric labels, and document grouped z vs metric height.
@fahimfaisaal fahimfaisaal changed the title Fix grouped 3D z-axis label fix: clear grouped 3D z-axis name under option merge Jul 9, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fahimfaisaal
fahimfaisaal merged commit 8d1592c into goptics:main Jul 9, 2026
13 checks passed
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.

[bug]: Omit misleading Z-axis label in grouped 3D charts

3 participants