Modify

Opened 16 years ago

Last modified 5 years ago

#3810 new enhancement

Support editing comments to blog posts

Reported by: Steve Strobel Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: daily Trac Release: 0.11

Description

TracFullBlogPlugin 0.1 supports editing and deleting blog posts, but only deleting (not editing) comments (according to the author, see http://groups.google.com/group/trac-users/browse_frm/thread/c8948e0189940cf9?hl=en). I would like to see an "Edit comment" option adjacent to the "Delete comment" option which is displayed in the upper-right corner of the comment box. It could work very much like the "Edit post" button does.

Attachments (0)

Change History (8)

comment:1 Changed 16 years ago by osimons

Blog posts, unlike comments, are actually made to be versioned. Like wiki pages, a new full version is saved on each edit, showing up in timeline and so on (history list and diff between versions are on to-do for when I get the inspiration).

So, if an 'Edit Comment' feature was implemented, it would be an edit by an administrator (BLOG_ADMIN) for whatever reason - reformat wiki text, moderate content and similar. Any edits would replace the old content, and it won't show anywhere like Timeline. Old content would disappear without a trace.

Is that in line with expectations? What is the common use case that you want to support?

(Still not certain I'll do it, but at least I want the specification sorted out before deciding...)

comment:2 Changed 16 years ago by Steve Strobel

Your proposed implementation is exactly what I had in mind. I think it would provide 80% of the benefit (of fully versioned comments) with (probably) 20% of the work.

As far as permissions go, besides the BLOG_ADMIN it would be nice if the original author of the comment would be able to edit it. I suppose the most flexible method might be to have two sets of permissions: BLOG_EDIT_OWN_COMMENT and BLOG_EDIT_ANY_COMMENT. Or maybe the existing BLOG_MODIFY_OWN and BLOG_MODIFY_ALL could be reused.

Thanks for your time in considering this.

comment:3 Changed 15 years ago by Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed

comment:4 Changed 15 years ago by Steve Strobel

The TicketChangePlugin does something very similar to what is requested in this ticket, but for ticket comments rather than for blog comments.

comment:5 Changed 15 years ago by daily

Cc: daily added

comment:6 Changed 15 years ago by daily

@osimons: Could you tell me what the current state of this feature is? I'm also interested in it.

comment:7 Changed 9 years ago by dkaznadzey@…

Very interested in this feature

comment:8 Changed 5 years ago by Ryan J Ollos

Cc: Ryan J Ollos removed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain osimons.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.