Skip to content

Fill: Auto Fill Options button after a fill drag (#1403) - #7

Draft
isaac-levine wants to merge 498 commits into
mainfrom
grid-auto-fill-options
Draft

isaac-levine wants to merge 498 commits into
mainfrom
grid-auto-fill-options

Conversation

@isaac-levine

Copy link
Copy Markdown
Owner

Dragging the fill handle only ever produced one result. Issue storytold#1403 asks for the option to pick between filling a series and copying cells after the drag.

The engine already has the modes in edit.autoFill, so this adds the missing UI step. After a fill drag a small button shows at the bottom-right corner of the filled range. Its menu has Copy Cells, Fill Series, Fill Formatting Only and Fill Without Formatting. Choosing one runs edit.undo and then edit.autoFill again with that mode, so the history keeps a single fill entry. The button goes away when the selection moves or any other edit lands. I also changed the engine's values mode so Fill Without Formatting extends the series like a plain drag, instead of copying the first value.

Commands run:

  • cargo fmt --all -- --check: clean
  • cargo clippy -p gridcraft-engine -p gridcraft-ui-egui --all-targets -- -D warnings: clean
  • cargo test -p gridcraft-engine -p gridcraft-ui-egui: all pass, including the new tests/auto_fill_options.rs and fill_without_formatting_extends_the_series
  • cargo xtask layers: OK. cargo xtask wasm: ok

Not verified: I did not look at the button in a running window or a snapshot, so its position, size and the popup styling are untested visually. I did not run cargo xtask ci as a whole, and I did not update the parity docs.

Upstream issue: storytold#1403


Generated by Claude Code

echelon and others added 30 commits October 12, 2026 23:36
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ame test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
echelon and others added 30 commits October 19, 2026 12:19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… where dbus-daemon is missing

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ength

# Conflicts:
#	docs/localization-parity.md
…-left-sheets

# Conflicts:
#	docs/file-format-parity.md
#	docs/localization-parity.md
# Conflicts:
#	docs/file-format-parity.md
#	docs/localization-parity.md
# Conflicts:
#	docs/file-format-parity.md
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…press

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	docs/file-format-parity.md
#	docs/localization-parity.md
…anslations

# Conflicts:
#	crates/ui-egui/src/i18n.rs
#	docs/localization-parity.md
…itor-references

docs: drop references to competing commercial software
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adds .coderabbit.yaml so CodeRabbit no longer reviews or comments on PRs opened by dependabot[bot].

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…kflow

ci: switch to shared nix workflow from craft-common-actions
The button sits at the corner of the filled range and offers Copy Cells,
Fill Series, Fill Formatting Only and Fill Without Formatting. Choosing one
undoes the drag and redoes it in that mode. Fill Without Formatting now
extends the series instead of copying the first value.
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.