Repository navigation
Set the default wheel diameter to 0.5 - #245
Merged
Merged
Conversation
DRUM.default (the drum radius factor, the settings panel's one knob) goes 1 -> 0.5 in wheel-model.js, the single source of truth that settings.js, wheel.js and the pytest node harness all read. 0.5 (R = half the wheel-window height, the fuller slot-drum wrap with the horizon at the window edges) is in-range [0.3, 2.0] and on the 0.05 step. Only the default moves: ?drum= URL precedence, the saved-setting precedence, and the clamp bounds are untouched. Comments that called 1 "the default" are reworded to describe factor 1.0 as a specific value; the doc-wheel 0.4 illustration keeps its factor-1.0 span math as a labelled illustration, not a live default reference. Tests updated to pin default 0.5: the DRUM bounds assertion and the three fall-through-to-default cases in test_wheel_model.py. Node-backed wheel-model and doc-wheel harnesses pass (97). Co-Authored-By: Claude Opus 4.8 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
Updates the ideation dashboard wheel “drum radius factor” default from 1.0 to 0.5 (slot-drum wrap with the horizon at the viewport edges), and adjusts affected tests/docs/comments to match.
Changes:
- Changed the single source-of-truth default:
DRUM.default: 1 → 0.5inwheel-model.js. - Updated pytest assertions that pin default fall-through behavior and bounds output.
- Reworded documentation/comments that previously described
1.0as “the default” to instead describe it as the original default / a specific factor value.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/ideation-dashboard/test_wheel_model.py | Updates default-pinning assertions and a comment describing precedence fall-through. |
| tests/ideation-dashboard/test_doc_wheel.py | Rewords docs/test text to treat factor 1.0 as “original default” rather than current default. |
| scripts/ideation_dashboard/web/views/wheel.js | Updates inline comment describing the drum factor default and its meaning. |
| scripts/ideation_dashboard/web/views/wheel-model.js | Changes DRUM.default to 0.5 (source of truth for the default). |
| scripts/ideation_dashboard/web/views/doc-wheel.js | Rewords explanatory comments to avoid implying factor 1.0 is still the default. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
1166
to
+1167
| // settings.js, wheel.js, and the pytest node harness read one source of truth. | ||
| export const DRUM = { min: 0.3, max: 2.0, step: 0.05, default: 1 }; | ||
| export const DRUM = { min: 0.3, max: 2.0, step: 0.05, default: 0.5 }; |
This was referenced Sep 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes the dashboard's default wheel diameter (the drum radius factor) from
1to0.5.What
DRUM.default: 1 → 0.5inscripts/ideation_dashboard/web/views/wheel-model.js— the single source of truth thatsettings.js,wheel.js, and the pytest node harness all read.0.5(R = half the wheel-window height — the fuller slot-drum wrap, horizon at the window edges) is within the[0.3, 2.0]bounds and on the0.05step.?drum=URL precedence, the saved-setting precedence, and the clamp bounds are unchanged. The settings-panel note and reset button already renderDRUM.defaultdynamically, so they follow automatically (now "0.50×").1"the default" are reworded to describe factor 1.0 as a specific value. Thedoc-wheel.js"why 0.4" illustration keeps its factor-1.0 span math as a labelled illustration (not a live default reference), so its argument stays intact.Tests
test_wheel_model.pydefault-pinning assertions updated (DRUM bounds + the three fall-through-to-default cases). Node-backed wheel-model and doc-wheel harnesses pass:No spec pins the default (it's a UI tunable, not a contract), so no OpenSpec change is required.
🤖 Generated with Claude Code