docs: correct the donut shape control and document the center total - #11520
docs: correct the donut shape control and document the center total#11520igorlukanin wants to merge 1 commit into
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Claude finished @igorlukanin's task in 1m 16s —— View job Review: docs accuracy fix — looks good, one trim suggestedVerdict: approve with nits. 0 high, 1 medium, 3 low. The correction itself is right and the page reads better than before. One inline comment posted. Full review — todos, findings, and notesTodos
What's good
FindingsMedium — Low — Low — Low — dropped Verification caveatThe factual claims — that the control is a Shape selector, that Show total exists and is donut-only, that the total inherits the measure's number format, and that the setting persists across shape switches — cannot be verified from this repo. The other review dimensions in the standing instructions (security, performance, error handling, test coverage) don't apply — this is a 7-line prose change to a single |
| Turn on **Show total** in the Style tab to render the measure's grand total in the donut's hole. The total uses the measure's own number format, so changing the format of the measure changes the total with it. | ||
|
|
||
| {/* Screenshot: Style tab with the Inner radius control highlighted. Place inline, 50% width, right-aligned. (hidden — replace this comment with <Frame><img src="..." /></Frame> when image is ready) */} | ||
| The option appears only for a donut, since a pie has no hollow center to fill. Switching back to a pie hides the total and remembers the setting, so returning to a donut restores it. |
There was a problem hiding this comment.
The first clause earns its place — it answers "why can't I find this control?" for someone looking at a pie. The second one documents transient UI state (a toggle remembering its position), which is the kind of detail docs-mintlify/CLAUDE.md calls out as padding ("write the shortest version that fully answers 'how do I use this?' and stop"), and it's the sentence most likely to silently go stale if the widget config handling ever changes.
| The option appears only for a donut, since a pie has no hollow center to fill. Switching back to a pie hides the total and remembers the setting, so returning to a donut restores it. | |
| The option appears only for a donut, since a pie has no hollow center to fill. |
The pie & donut page describes an Inner radius slider that no longer exists — the control is now a Pie / Donut shape selector in the Style tab, and the hole is a fixed fraction of the chart rather than a pixel value a user drags.
It also suggested overlaying a KPI tile on a dashboard to get a summary value in the hole. The donut now renders the measure's grand total itself, behind a Show total switch, so that workaround is no longer the answer.
Updates both sections to what the product actually does. No new pages; the screenshot placeholders are carried over and re-worded to match.