Edgewall Software
Modify

Opened 2 years ago

Last modified 20 months ago

#12685 assigned enhancement

Add action menu for creating, deleting and modifying resources or parts thereof

Reported by: Christian Boos Owned by: Christian Boos
Priority: normal Milestone: next-dev-1.3.x
Component: general Version: 1.3dev
Severity: normal Keywords: layout menu
Cc: Branch:
Release Notes:
API Changes:

Description (last modified by Christian Boos)

With this menu, it would be easier to perform actions on resources (wiki page, ticket #10948, ticket comment #12671).

The idea would be to remove from the contextual navigation the link what's not a navigation to another resource (e.g. wiki history is rather an action on the resource itself, show me the page's history), and to gather the bottom of the page buttons (Edit, Delete, Rename) into a contextual menu at the top of the resource, a bit like what we have now for the ticket comment.

Copied from 12671#comment:2:


Replying to Jun Omae:

… the buttons are shown only when cursor is hovered in property changes box. As the results, it is difficult to click the buttons.

But also the whole <h3> line as well, in particular the comment:n part which is just above the buttons. But I think you're right anyway, it's not as obvious as it should be.

If you remember my idea presented recently on trac-dev about a "page menu" (gmessage:trac-dev:eVU0q8Tatgo/pokz_FIyEQAJ), I think it could be transposed here as well: we would have a permanent menu reminder character/icon (▤, ≣), which would show the list of actions for the comment when hovered / clicked.

Something like:

comment:n Modified by Author



Attachments (0)

Change History (7)

comment:1 by Christian Boos, 2 years ago

Owner: set to Christian Boos
Status: newassigned

comment:2 by Christian Boos, 2 years ago

Take ticket:12639#comment:23 and #10948 into account.

comment:3 by Christian Boos, 2 years ago

Description: modified (diff)

fix HTML mock-up

comment:4 by Christian Boos, 2 years ago

[OT] By the way, despite the fixing above, when I add some comment and click "Preview", in Chrome (57.0.2987.110, Windows) I get an "ERR_BLOCKED_BY_XSS_AUDITOR" error. Sending the page to the validator doesn't show anything obvious… Does anyone else experience the same thing?

comment:5 by Ryan J Ollos, 2 years ago

Same with 57.0.2987.98 on OSX, and then still after upgrading to 57.0.2987.110.

comment:6 by anonymous, 20 months ago

It's not surprising that relying on JavaScript to show buttons causes issues in some browsers.

It also makes https://trac.torproject.org impossible to use with JavaScript off (Tor Browser high security mode).

in reply to:  4 comment:7 by Ryan J Ollos, 20 months ago

Replying to Christian Boos:

[OT] By the way, despite the fixing above, when I add some comment and click "Preview", in Chrome (57.0.2987.110, Windows) I get an "ERR_BLOCKED_BY_XSS_AUDITOR" error. Sending the page to the validator doesn't show anything obvious… Does anyone else experience the same thing?

Also reported in #12926, which has a proposed fix.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Christian Boos.
The ticket will be disowned.
as The resolution will be set.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.