-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nearby -> Custom picker: Only allow 1 picture to be selected #5674
Comments
@rohit9625 I think by custom picker Nicolas means the custom gallery in the app which can be accessed from the Nearby section, which looks something like this: There are 2 ways to access this: first from the contributions screen (+) and a second from the nearby when you click on a pin near you then you see a (+) |
It is a recent improvement, only available on lastest main branch. |
@nicolas-raoul, just a small doubt: why should we not allow users to upload multiple images? Let's say the user wants to upload multiple angles of the nearby place. |
Each Wikidata item should have at most one P18 property. The picture that best represents it. The other images that represent the same item can be linked to it as "depictions". |
So, should we also need to allow for 1 picture to be selected from the selector that is on the screenshot I uploaded? |
@rohit9625 Yes totally! If no issue exists about this yet, you may want to create one indeed. :-) |
Okay 👍, I will start working on the current one first. |
@rohit9625 Are you still working on this? If not feel free to unassign :-) |
I was busy with my academics in the past days but now I have time to consider this and other assigned issues. I'm starting to work on it today :) |
Hey @nicolas-raoul , I will resolve this one and other related issues during this period. It'll not take much time :) Is there any issue opened already related to this or should I create one? |
@rohit9625 Fantastic, thanks a lot! :-) @sivaraam OK for going ahead with Jetpack Compose? |
+1 for Jetpack Compose, if we aren't using it already. It seems to be the official recommendation for future-proof UI development. |
Am I good to go then? |
Sorry, I think we should probably wait for @sivaraam , I was just voting. :) |
I'm fine with using it if it interacts well with our existing views. :-) |
I'll make it interact with the views by following the migration strategy from Android Developers Documentation. Thank you for your approval :) |
Hey @nicolas-raoul and @sivaraam Now, the compose UI can be easily integrate with the views :) Is it okay? |
If it doesn't break / interact badly with other existing features, it's a fine thing. But I'm a bit doubtful about bumping compileSdk but leaving targetSdk as-is 🤔 |
If it seems safe to bump compileSdk alone, it should be fine to just do that. Bumping targetSdk would likely introduce a new set of changes that are better explore outside the scope of your change 🙂 |
Hey @nicolas-raoul, Can you please guide me to the code? |
@rohit9625 Sorry I have not been able to help unfortunately! I unassign for now, but if you are you still working on this, please let us know. If no answer, someone else may be assigned to it. Thanks a lot. :-) |
Hey @nicolas-raoul, That's why I have some questions regarding it:-
|
Brief discussion about Compose migration: #5582
|
I will start working on this once the targetSDK is upgraded to 34. |
Hey @nicolas-raoul, I want to discuss something about the custom picker. Current behavior:-
Do we have a feature like if the user selects some pictures from a folder, then navigates back to the folders list, then goes to another folder, selects some more pictures, and performs actions on all selected pictures as a whole? Because, if we have this feature then it seems buggy. If don't have this feature then I can implement this in the jetpack compose variant only if it is required. One more thing is that in the custom picker user clicks to select the picture and long presses to open it. However, I think this is kinda opposite behavior. What do you think? |
That would be a really great feature to have! Actually just two days ago I was thinking that it would be nice if the app could do that (I had a set of 10 pictures to upload but only one required a privacy blurring and thus was saved in the blurring app's folder). The app's current behavior when coming back is kind of unspecified. I created an issue for this: #5801
Great idea! I created #5802 for it. :-) |
Thank you for specifying and creating new issues. However, I want to address those issues as well as this issue in a single PR. May I? |
If you prefer, feel free, yes. 🙂 |
Can you comment on them so that I can assign you? |
Currently several pictures can be selected, which is not OK from a Wikidata point of view.
The text was updated successfully, but these errors were encountered: