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
Changeset comment list on the profile #842
Comments
|
I've prepared something addressing this issue: you can test it at http://comments.apis.dev.openstreetmap.org/changeset_comments (more comments lists available after registration). Suggestions are welcome (e.g. where to put links to the new views, how to style the table), I'll submit a pull request in few days. |
In keeping with others, we'd link them on the user's page, like we do for "Edits", "Map Notes", etc. This would probably give a URL for changeset discussions like http://www.openstreetmap.org/user/TomH/discussions We're also calling them changeset discussions, not comments, because the word comments is already used to describe the value of the comment tag on the changeset. |
|
Yes that is urgently needed now. I'd like to follow up on discussions I started, @ukasiu - is that accessing real discussions or just a mockup list? |
|
All dev server sites are completely separate, with their own database. |
|
@polarbearing I'll try to finish it this week, but I can't promise anything. |
|
@ukasiu - any news :-) ? |
|
@polarbearing, sorry, I forgot about the whole thing and didn't notice the email. I'm gonna work on it today/this week. |
|
I made links at discussions list page more consistent (http://comments.apis.dev.openstreetmap.org/user/TomH/changeset_comments/received) and moved link to discussions from main nav to user profile (http://comments.apis.dev.openstreetmap.org/user/ukasiu). |
|
Changing url part from |
|
I think the link on the user profile should probably be "Changeset Discussions" as "Discussions" is very generic. As for the URLs well we could always change the hide/unhide URLs as I doubt anybody is using them other than the web site itself - we can always redirect the current ones if we really want. |
|
Ok, so I changed the labels and urls, ukasiu@a279753 . Any suggestions on how to display discussions (now it's ugly styled table)? |
|
the old diary "comment" could be renamed, too. To be more different to the new feature. |
|
Hmm, I think it's a bit beyond the scope of this feature. |
|
I would prefer this was added now to the website, and questions of beautifying the discussion display addressed later. The feature is really missing! |
|
Add what? No code has been offered yet so there is (as yet) nothing to add! |
|
Here are the code changes: master...ukasiu:comments_list @ukasiu What has to be done (besides visual table improvements)? |
|
@ukasiu ... is there anything that we can do as normal OSM users to get some progress on this really fine draft of feature enhancement? more testing needed in the demo instances mentioned above? What is needed for a pull request to the main repository? |
|
If @ukasiu does not have the time to complete a PR here, would another developer be able to finish this valuable feature? |
|
@gileri: Any update on this? Is any help needed? Btw: this shows the right comparison of the changes: master...gileri:comments_list |
|
Help to review the state of the branch would be needed. |
|
Is it possible to merge this before the code base diverges too much? finding your own changeset comments is quite useful to follow up on those not getting any response. And would be quite sad to see the effort to create the patch being wasted. |
|
There's still nothing to merge is there? |
|
The code change is there, right? Even not being fluent in ruby, this looks like it implements a display of a users comments: master...gileri:comments_list |
|
A random set of commits in a random persons repository is not a merge proposal though. A merge proposal is a PR of those commits opened by somebody who is ready to resolve any review comments. |
|
No arguing about the PR process on Github. But back to my original question: Is it possible to get these changes into a condition allowing them to be merged? Before it was stated that help is needed reviewing the branch. Who can do this and possibly provide feedback to the original authors on what to change to get it ready? @tomhughes What is your expectation to the source before accepting a PR? What sort of tests are required? |
|
@stephankn I think someone needs to resync (rebase or merge) with master and make a new PR before getting feedback. And also doing a basic manual check if it's still working. |
|
Any news on this? This feature would be very valuable. |
|
I'm going to try and work this up to a pull request. Reading the work that's been done so far my first query is whether we need pagination for changeset comments. Happy to keep it in if needed but no point in over engineering if the data doesn't call for it. Currently pagination will kick in at 20 comments. @tomhughes, with my being new here, your the only one I can surmise has production db access. Can the db be queried to see how many changesets have more than 20 associated comments? |
|
@paulgillard great you're looking into this. There might be a small misunderstanding - this is about displaying all changeset comments that (a) a user has made to other changesets, (b) a user has received on their changesets, or (c) all comments on changesets the user has subscribed to. None of this is limited by how many changeset comments there are for one single changeset. There are certainly users who have sent 100s of changeset comments, and hopefully less who have received 100s of them ;) |
|
There are currently 41 changesets with more than 20 comments and the all time winner is https://www.openstreetmap.org/changeset/51820940 with 107 comments. As @woodpeck says that isn't really the question here. The answer to the real question is that 859 users have more made more than 20 comments with the winner having 6998 in total! |
|
I've just created a pull request (#1642) for this issue. I'm happy to discuss and act upon feedback to get this issue completed. In reference to the conversation further up in this issue, I've changed the naming back to Changeset Comments from Changeset Discussions. In the new views what you see is a selection of comments from different discussions and so Changeset Comments feels more appropriate IMO. A discussion is all the comments on a single changeset in chronological order. Such as at https://www.openstreetmap.org/changeset/51820940. @tomhughes and @woodpeck, the term discussions is what caused my confusion above. I'm not entirely satisfied with the secondary links under the main heading on the new pages. They aren't exactly concise. Suggestions welcome. |
|
The reason they're discussions is changeset comments are what the author of the changeset adds with the comment tag. |
|
I understand where you're coming from with naming this feature discussions as creating some difference between the two would be ideal. But we already:
To my mind the ideal solution would be to rename the comment written by the author when the changeset is created to something like remark instead. But I quite understand that isn't happening in a hurry. My point being though that if it were remark I don't think anyone could argue that naming this feature changeset comments was not the best approach. If the majority prefer changeset discussions then so be it. But I feel it's better to keep to the naming the site has already established in place despite the overlap. If it becomes too confusing for users once they actually start using it then that problem can be solved on another ticket. But it might be that it won't confuse. |
|
I agree that the naming is a bit unfortunate. We stumbled into this because we were all used to having "commit comments" in software revision control systems, so we thought it would be appropriate to call what you specify when you upload data a "changeset comment". Colloquially we say "I commented (on) his changeset" and then what we really did was not place a changeset comment but a discussion entry. (I can't help but notice that what I am writing here, in GitHub parlance, is also a "comment".) I would welcome it if we could improve this, although "remark" to my mind would not be an improvement - it sounds too casual. Something like "statement" would capture the importance better but still I don't like it. Also, I fear that the term "changeset comment" is meanwhile so widely used (in lots of introductory material, editors, wiki etc., and also as @pnorman pointed out, the tag is called "comment") that the ship might have sailed. Perhaps we could weasel around the issue by calling things "the initial changeset comment" (or "the uploader's changeset comment") and "other changeset comments" ;) |
|
For that reason I suggested renaming them to changeset discussions when they were implemented. |
I thought we were reasonably consistent in calling them that. The names of models and variables in the code isn't user-facing. |
|
Any news on this one? I commented some changesets and am unable find them since the author did not answer. I'm also looking for this feature in order to track the comments I made. |
|
If there was news then this would be closed. |
|
@Codain: There's a tool to list your changeset discussions, but I don't think it's accessible as a direct link:
|
|
@Piskvor Thank you! I was on my way to put this link on the issue but you did it faster. This website is not that ergonomic for newbies but it gives lot of services and this one on comments is very valuable. At least it can help while a handy contributor (@paulgillard ?) works on the "news". |

If there is a changeset comment i get an email. The link in this email is the only place to get to it.
Right now i have no list of changesets with comments from my subscriptions. This could be in the top row of my profile.
With this the link "Meine Kommentare" (german for "my comments") should be more precice, that this are diary comments and not changeset comments.
The text was updated successfully, but these errors were encountered: