Opened 8 years ago

#6653 new enhancement

move comment warnings where the user can see them

Reported by: Vaclav Slavik Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Currently, if a manipulator produces warning when the user submits a comment, the warning is shown on top of the page (as usual in Trac) and the page scrolls down to page preview. There's a "(Warnings") link added to the preview that points back to the warning box.

Unfortunately, this is quite hard to spot. This patch uses JavaScript to move warnings box right on top of the offending comment's preview, so that the user can immediately see both that something is wrong and what it is.

It degrades gracefully in absence of JavaScript, falling back to previous version.

Attachments (1)

warnings-near-comment.patch (1.1 KB) - added by Vaclav Slavik 8 years ago.

Download all attachments as: .zip

Change History (1)

Changed 8 years ago by Vaclav Slavik

Attachment: warnings-near-comment.patch added

Modify Ticket

Change Properties
Set your email in Preferences
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.