MerginMaps / MerginMaps/mobile
Migrate 'reuse last value' to QGIS editFormConfig
Open
Nobody has claimed this yet.
- #3788 by @VitorVieiraZ — closed without merging
enhancement
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
QGIS 3.20 seems to add the reuse last value functionality to QgsEditFormConfig, we might want to use that instead of custom implementation.
/**
* If this returns TRUE, the widget at the given \a index will remember the previously
* entered value from this QGIS session when creating new features.
*
* \see setReuseLastValue()
* \since QGIS 3.20
*/
bool reuseLastValue( int index ) const;
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named. Locate the current custom “reuse last value” implementation, then compare it with QGIS 3.20’s QgsEditFormConfig::reuseLastValue API; the closed linked pull request #3788 may provide prior context. Done means the custom behavior is migrated while existing edit-form behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- mobile-dev
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100