Project

General

Profile

Actions

Defect #12824

closed

Useless "edit" link in workflow menu

Added by Daniel Felix almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hi,

there is a useless link in the topmenu of the workflow section. I can click on "edit" even if I need to choose the "edit" button after some role and tracker selection. This edit button just leads me back on the same page.

Best regards,
Daniel


Related issues

Related to Redmine - Defect #2414: 'Add News Button' in 'Add news'Reopened

Actions
Actions #1

Updated by Daniel Felix almost 12 years ago

  • Target version set to 2.2.3
Actions #2

Updated by Jean-Philippe Lang almost 12 years ago

  • Target version changed from 2.2.3 to Candidate for next minor release
Actions #3

Updated by Daniel Felix over 11 years ago

  • Target version changed from Candidate for next minor release to 2.3.1

Maybe this time this would find its way in the next minor release.

Actions #4

Updated by Jean-Philippe Lang over 11 years ago

Should we only show Copy and Summary links when editing, only Edit and Summary links when copying and Edit and Copy links on the summary? I've tried and don't really like the way the menu changes when clicking its items.

Actions #5

Updated by Daniel Felix over 11 years ago

What about deactivating those menu items. Something like grey them out? This would let the menu look the same on each link, but prevent the user from clicking edit if he is already in the edit mode.

Some idea how to use this could be the pointer-events setting in CSS.
See: http://css-tricks.com/pointer-events-current-nav/

There is just one regression: http://caniuse.com/#search=pointer-events
The IE support is not given.

Another idea would be to add this to the active menu item: onclick="return false"
Or just a jQuery function:

$(".currentMenu").click(function(){
return false;
});

Which suggests, that the current menu item get another class.

Maybe this idea is helpful.

Actions #6

Updated by Jean-Philippe Lang over 11 years ago

  • Category changed from Issues workflow to UI
  • Target version changed from 2.3.1 to 2.4.0
Actions #7

Updated by Jean-Philippe Lang over 11 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r12004 using another approach (similar to what was already done for trackers).

Actions

Also available in: Atom PDF