Persist and auto-guess layer/field selections across map2loop and LoopStructural setup widgets#73
Merged
lachlangrose merged 9 commits intodev-0.1.12from Jan 26, 2026
Conversation
Co-authored-by: lachlangrose <7371904+lachlangrose@users.noreply.github.com>
Co-authored-by: lachlangrose <7371904+lachlangrose@users.noreply.github.com>
Co-authored-by: lachlangrose <7371904+lachlangrose@users.noreply.github.com>
Co-authored-by: lachlangrose <7371904+lachlangrose@users.noreply.github.com>
Co-authored-by: lachlangrose <7371904+lachlangrose@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement layer selection storage for combo boxes
Persist and auto-guess layer/field selections across map2loop widgets
Jan 26, 2026
Member
|
@copilot can you do the same thing with the LoopStructural widget? e.g. all of the model set up |
Co-authored-by: lachlangrose <7371904+lachlangrose@users.noreply.github.com>
Contributor
Author
Copilot
AI
changed the title
Persist and auto-guess layer/field selections across map2loop widgets
Persist and auto-guess layer/field selections across map2loop and LoopStructural setup widgets
Jan 26, 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.
Project widgets were not remembering selected layers/fields and qgscombomaplayer/field combos lacked consistent column guessing from project layers.
Data persistence
widget_settingsstorage toModellingDataManager(saved/loaded with project) for widget-specific selections.Layer/field auto-guessing & restoration
ColumnMatcherto suggest layers/fields and restore previous selections; guards added when layers are missing.ColumnMatcher, persist selections throughwidget_settings, and restore them on reopen (with missing-layer guards).Example (sampler widget guessing/persisting)
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.