Fossil

View Ticket
Login

View Ticket

Ticket Hash: 3bcacd36ff9e88201740e3b49d16caa651855e75
Title: Show ticket history on ticket edit page
Status: Fixed Type: Feature_Request
Severity: Minor Priority: Immediate
Subsystem: Resolution: Open
Last Modified: 2025-05-10 18:40:08
Version Found In: cabf810b0b
Description:
It's harder than necessary to reply to a ticket if you don't see what you are replying to while writing. The easiest approach would be to just duplication the comment field + email for anonymous on the start page. Preview could be done inline after the existing comments.

anonymous added on 2010-12-20 13:58:15:
+1. It is much more natural to comment on a ticket with all previous comments visible than having to click to go toe a special edit page.


anonymous added on 2011-04-08 16:33:45 UTC:
+1. Hard to add a comment when I don't see what I'm replying to


anonymous claiming to be Feral added on 2011-04-10 22:38:36 UTC:
Perhaps in the mean time edit in a separate page (middle click the edit button for instance); Regardless, such an enhancement OPTION is worth a +1 for certain. -- Simply seeing the comments below the field would cure this. Hrm, easy enough to add... (A very quick hack)

From Admin|Tickets|Edit Ticket Page(/tktsetup_editpage):

<tr><td colspan="2">
Previous descriptions:<br /><hr />
<th1>wiki $comment</th1>
<hr />
</td></tr>

Above:

<tr><td align="right"></td><td>
<input type="submit" name="submit" value="Submit Changes" />
<input type="submit" name="cancel" value="Cancel" />
</td></tr>
</table>
At the bottom.

HTH

User Comments:
jkosche added on 2025-04-03 09:11:41:

Showing previous comments on editing tickets with checkin ff009a8f0e482a86 on branch tkt-improvements.


jkosche added on 2025-05-10 18:40:08:

The branch is merged and therefore I close this ticket.

As a note: this change shows the comments added in the new table ticketchng. At the time the ticket was created all comments were merged in a field. I decided to leave these old style comments out, as over time the newer edits will dominate. If you want to include them, add this to the <th1>-block in configuration for edit ticket page:

if {[info exists comment]} {
  if {[string length $comment]>10} {
    html {
      <tr><td class="tktDspLabel">Description:</td></tr>
      <tr><td colspan="5" class="tktDspValue">
    }
    if {[info exists plaintext]} {
      set r [randhex]
      wiki "<verbatim-$r links>\n$comment\n</verbatim-$r>"
    } else {
      wiki $comment
    }
  }
}