feat : Depiction selector , pick on map#6730
feat : Depiction selector , pick on map#6730rovertrack wants to merge 3 commits intocommons-app:mainfrom
Conversation
|
I know it is a draft, but I just tested and it would like to report something seemingly not working yet: It says Looks great otherwise! :-) |
thanks @nicolas-raoul will update it soon ) |
|
@nicolas-raoul should we add a marker in the map to where the photo was taken / where its location was set ? |
|
@nicolas-raoul it is fixed you can test it now and tell me if i went any wrong ) |
Yes ideally something like in the mock screenshot I posted in the issue description. |
|
I am getting this crash after confiming: |
im right now testing it too , will update it with the photo marker |
|
@nicolas-raoul, added the marker and improved it to support multiple pictures locations And the confirm option now works perfectly fine VID_20260315021332.mp4 |
|
Tip: Better avoid force-pushing, it makes pulling updates from your branch more difficult. :-) |
|
It seems to work now! |
4b8bdd0c-7021-449a-ac70-1e6f9e3b5a6a.mp4The volcano has a Wikidata item. The cities around also have items. Any idea why very few pins appears? |
As to make it not heavy I have disabled some of its functions as to only get placed around the uploaded location, |
@nicolas-raoul made it to render all pins now works just like the main nearby feature |
|
Thanks for not force-pushing your last commit, very appreciated! :-) |
602045ea-85f3-479f-9e79-64b17c4feade.mp4 |
|
There are two strange things in the screencast above:
Would you mind checking? Thanks! |
@nicolas-raoul in the latest commit these have been have been fixed if this is unnecessary i will remove it i added thinking its good ux )
|
|
✅ Generated APK variants! |
|
@nicolas-raoul is this good or is there something wrong with latest commit ? |

new depiction picker which lets user pick depictions through map (reuses nearby fragment)
Fixes #6697
What changes did you make and why?
AndroidManifest.xml
DepictsPickerActivityto manifest and ActivityBuilderModule.ktNearbyParentFragment.kt
pickerinstancein nearby fragment with the flagisDepictsPickerModeas guard to only show required componentsDepictsContract.kt
onPlaceSelectedFromMapandgetUploadItemto pass the selected depicts to the list and update the listupload_depicts_fragment.xml
DepictsPickerActivityDepictsFragment.kt
mapPickerLauncherandlaunchDepictsPickerDepictsPickerActivity.kt - new activity
pickerFragmentinstead of bloating the upload flow fragments containerDepictsPresenter.kt
onPlaceSelectedFromMapandgetUploadItemto update the depictsbottom_sheet_details.xml
confirmbutton and is only visible inisDepictsPickerModestrings.xml
NearbyParentFragmentUnitTest.kt
DepictsPresenterTest.kt
added new map pin camera icon
Screenshots (for UI changes only)
Demo :
VID_20260315021332.mp4