Allow multiple access values per key in access manager#887
Allow multiple access values per key in access manager#887mcliquid wants to merge 11 commits intoHelium314:modifiedfrom
Conversation
|
After testing the new features here a few times myself, one more idea for further discussion: Of course, this would severely restrict the freedom of choice through strict requirements. If we trust our users, there is no need for this. |
Yeah, probably no need. It would IMHO needlessly add complexity and restrictions. And we need to trust them anyway, because if they don't know what specific keys and values (e.g. |
For hiking trails mostly
|
Sorry to be slow to answer. Not sure what's the best way to avoid unnecessary work for both of us. |
|
Thanks for the heads-up, fully agree with you. My work on this PR mainly involves getting a basic understanding of the dialog, researching the access keys in the wiki and taginfo, and above all, testing. None of that would be wasted in my view, if I close this PR, the Compose-based access manager is implemented, and I then try to code the new features into the updated dialog. |
|
I added a compose AccessManagerDialog, but kept the old one for now, might make it easier for you. |
|
I moved the functional changes from the old Android dialog into The Compose
The dialog state was changed from Here's a short test, app on current modifed-branch - If this is heading in the right direction, I can push the changes here. |
|
Looks good! |
|
damn, sorry for the commit hiccup. Should I create a new PR with just the Compose-File changes? |
No need, you can also remove the changes to the old dialog here. On the changes (just tested, without really reviewing the code):
|
|
Changes are implemented, I tested it only in the Emulator and that one is really slow. I will try the next days on my physical phone outside. Screen_recording_20260402_220447.mp4 |
|
hm ok - launched it on physical device, the scrolling in the value- and manage list is terrible. it's jumping wild around. no clue why. |
|
Looks good, except for the scrolling |
|
For scrolling possibly the |
|
Thanks for the hint, changed the implementation, jumping is gone 🚀
I will have a look again this weekend and can finalize the PR if more feedback is incoming. |
That was a lot of work, but I think I managed to solve it pretty well. The code is certainly not perfect, but so far it works in my tests. Please feel free to give feedback or test it!
What changed?
Screen Record
Because of the video size available here: https://clip.place/w/uXmCrRNVeTTFmSqVGC1rom
I tried to cover most combinations.
Screenshots
Closes #651