Repository navigation
WebUI: Edit comments and inspect edit history - #602
MichaelMure merged 35 commits into
Conversation
- Fix misspelling of cancel... - Fix flickering of green "update comment" button - Fill input with comment text - Close edit view after submit
...but the types are quite hacky
|
Done.
I think this might reduce confusion. On click of another edit "tab". The state of the message at this point in time is shown. |
- Add unfold icon to edit history accordions - Change order of edit number. Most recent should have highest id and initial description should always have "#1 Edit" - Add "(Initial description)' to title of the first comment version
|
Ha yeah, I completely missed the fold behavior. The icon for the fold status does help but I wonder if having all the sections when the popup open would help by forcing the user to click on something? Regarding the messages, what about simplifying?
|
I don't understand. Do you mean, that all Edits should be initially in a folded state?
Sure that is easy.
Well I added it after i noticed that the first "edit" isn't an edit but the initial description. |
Yeah, I'm considering that, but I'm not sure that the right way. My thoughts in favor of that are:
On the minus side, it means always an extra click, but Github seems happy with that so ...
The confusion start when you have "most recent edit" instead of "most recent", because you named those things "edit". The first version doesn't fit anymore as it's not an edit. If you just have "most recent", you don't have that confusion. What's implied is "version" instead of "edit". And that's enough information IMHO. |
|
I changed some part of it. The initial description is no longer treated as edit. Using "#x Version on " seems to be elegant but their is one drawback that I could think of. |
|
That sounds like a good compromise. I'll give it a try and we can merge. |
|
Oh btw, if I should squash some commits let me know. |
|
Ops, totally forgot to push the commit for the above mentioned changes. |
|
LGTM!
Squash as much as you want in your branch. |




It is now possible to edit a comment and inspect its previous edit history.
Sorry, this PR is quiet massiv.