-
Notifications
You must be signed in to change notification settings - Fork 917
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
Have user ID as part of user block detail #1223
Conversation
Closes #1222 |
Please don't open an issue and then immediately create a PR with no description to address it - if you have a PR ready then just open the PR and explain the issue there. |
Also, writing "Closes #1222" here does nothing - that needs to be in the commit comment to work. |
So as far as I can see this doesn't actually display the ID but rather it just embeds it as a data attribute in the HTML page? What is the point of that? |
Hey @tomhughes, thank you for pointing me to good practices while contributing to OpenStreetMap, FOSS in general. 😃 I have seen Github close the issue automatically when the PR is merged if it has a comment like Users on OpenStreetMap have an option to change their Let me know if there is a better approach to doing this. |
I didn't realise auto-close worked with PR comments but I guess it might. I understand what it is you want, though I'm not sure why you're so interested in tracking who is blocked? It's only ever a tiny number of people... I still don't understand how hiding the number away in the HTML achieves that though? Are you going to do "view source" every time to find it? |
iirc, it doesn't work in replies, only the original message 👎 to this - the user ID is belongs in an API, not a user-facing HTML page. |
I think that there's a clear separation between web pages made for human consumption, and API calls made for programs to access. There should be no programs scraping the web pages, at all, ever. If someone desires to programmatically process user blocks then an API call should be added that lists them - if it is considered something that we want programmatically processed. |
@tomhughes: I want to learn if there is a relationship between user blocks and changes to display names. Very clear explanation @woodpeck. I now understand how this is better on an API vs on a page for human consumption. Thank you everybody for your helpful comments. 👍 No further actions here. Closing. |
No description provided.