Modify

Opened 4 years ago

#6653 new enhancement

move comment warnings where the user can see them

Reported by: Vaclav Slavik <vslavik@…> Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

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 <vslavik@…> 4 years ago.

Download all attachments as: .zip

Change History (1)

Changed 4 years ago by Vaclav Slavik <vslavik@…>

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.