Closed michaelpirrello closed 2 years ago
Nevermind on 4. Just realized we already have ,s places that serves that function.
I'm not sure what you mean by "1. verifying whether the attempt is counted in stats or not." Can you please explain?
I have retitled the issue to focus on implementing this.
It's a privacy concern if an admin can see their home place. I don't think having the admin know that piece of information is justifiable without asking them.
Scenario:
If a user with no home place set presses the home reaction button, does it count towards
OK
The request isn't asking for a list of the home places, just an indicator of whether the value has been set. For example: User Home Place Set? Ben Yes Mike No
i.e. if it has place counts, it only processes user reactions and vice versa
If there's to be any action on 3, it needs to be a separate issue. Feel free to file it and cross-reference this one (you can just write # and the GitHub editor will prompt you to choose the bug# cross-reference link).
Usability / self-serve for 1st public release.
Too much complexity in this feature for too little benefit. Since #120 is now implemented, if a registered user that does not have a home place set reacts to a place button in a server channel, the server's configured place is used, and if they react to a place button in a DM, the bot's global place is used. If the bot operator has not explicitly configured either, North America is a hardwired default in the code. Thus, pressing the home reaction now always gives you a result, so long as you're a registered user.
User and home reaction buttons still do not do anything if you're not a registered user. However, that's not something I plan to change, at least not for the default behaviour in server channels. Asking the user to share their user profile is a part of our member onboarding process on iNaturalist Discord, and on other servers that use Dronefly (or their own instance of Dronefly) as well, so it's fair to have the bot simply not respond if they either forgot or opted not to do that.
4 button presses but only two places displayed appear to be the result of users with no home place set attempting to use the feature. We should consider...