Skip to content

[API]: rename Scale enum to Density#2523

Closed
ivy-interactive-claude-code[bot] wants to merge 1 commit intomainfrom
claude/issue-2507-20260309-0909
Closed

[API]: rename Scale enum to Density#2523
ivy-interactive-claude-code[bot] wants to merge 1 commit intomainfrom
claude/issue-2507-20260309-0909

Conversation

@ivy-interactive-claude-code
Copy link
Copy Markdown
Contributor

Summary

Closes #2507

  • Rename Scale.cs to Density.cs and update enum type from Scale to Density
  • Update .Scale() extension method to .Density() across all widgets
  • Update all widget properties from Scale to Density
  • Update FormBuilder, FormView, TextBuilder, TableBuilder, DetailsBuilder
  • Update Sheet, Dialog, AsyncSelectInput, Field widgets
  • Update all sample apps with new naming
  • Update markdown documentation (WrapLayout.md, AGENTS.md)
  • Add refactor prompt at src/.releases/Refactors/1.2.18/Scale-to-Density.md for connection authors

The convenience methods .Small(), .Medium(), and .Large() remain unchanged.

Test plan

  • Build succeeds with no errors or warnings
  • All tests pass (461 tests)
  • Manual verification of sample apps

Generated with Claude Code

- Rename Scale.cs to Density.cs
- Update Scale enum to Density enum
- Update .Scale() extension method to .Density()
- Update all widget properties from Scale to Density
- Update FormBuilder, FormView, TextBuilder, TableBuilder, DetailsBuilder
- Update Sheet, Dialog, AsyncSelectInput, Field widgets
- Update all sample apps and documentation
- Add refactor prompt for connection authors

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rorychatt rorychatt self-assigned this Mar 9, 2026
@rorychatt rorychatt added on HOLD API review required Needs its API reviewed. labels Mar 9, 2026
@rorychatt rorychatt closed this Mar 10, 2026
@rorychatt rorychatt deleted the claude/issue-2507-20260309-0909 branch April 11, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API review required Needs its API reviewed. on HOLD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rename Ivy.Scale to Ivy.Density

1 participant