Project

General

Profile

Actions

Patch #20632

closed

Tab left/right buttons for project menu

Added by Felix Gliesche over 9 years ago. Updated over 8 years ago.

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

0%

Estimated time:

Description

On small screens with many tabs in the project navigation the tabs of the far right are not visible. It would be nice if the tabs can be scrolled left / right like in the second level navigation (e.g. project settings).

This patch introduces this feature. It uses the same javascript as the second level navigation.

In order for this to work, you need the the patch attached to #20271


Files


Related issues

Related to Redmine - Patch #13892: Wraping Mainmenu on long menusClosed

Actions
Related to Redmine - Defect #9275: If the number of modules spans over 2 lines, ugly overlapping of controls may occur.Closed2011-09-19

Actions
Related to Redmine - Defect #6624: Project horizontal menu layout doesn't wrapClosed2010-10-11

Actions
Blocked by Redmine - Patch #20271: Fix for multiple tabs on the same pageClosedJean-Philippe Lang

Actions
Actions #1

Updated by Jan from Planio www.plan.io over 9 years ago

  • Blocked by Patch #20271: Fix for multiple tabs on the same page added
Actions #3

Updated by Felix Gliesche over 9 years ago

For this patch to work, we need inline-block elements instead of left floating elements. I am uploading a little update to the initial patch, that fixes the problem of space between inline-block elements (see problem and solutions to it here: https://css-tricks.com/fighting-the-space-between-inline-block-elements/) by removing new lines between the project menu's list elements.

Actions #4

Updated by Jan from Planio www.plan.io over 9 years ago

  • File deleted (0001-Apply-existing-tab-functionality-to-main-menu.patch)
Actions #5

Updated by Jan from Planio www.plan.io over 9 years ago

Just removed the old patch version

Actions #6

Updated by Go MAEDA almost 9 years ago

  • Target version set to 3.3.0

The patch can be applied cleanly to the current trunk (r14989) and works fine.
Maybe overflowed main menu have annoyed many users. Let's include this feature in Redmine 3.3.0.

Actions #7

Updated by Go MAEDA almost 9 years ago

  • Related to Patch #13892: Wraping Mainmenu on long menus added
Actions #8

Updated by Jean-Philippe Lang almost 9 years ago

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

Patch committed, thanks.

Actions #9

Updated by Daniel Ritz almost 9 years ago

I really like that one! One thing though: how about some user feedback by enabling/disabling the buttons? I hacked together something:
  • Hover color
  • Enable/disable buttons (visually at least) when no more change is possible
  • Width calculation with jQuery only, no longer hard-coded
  • Remove ugly blue outline on buttons in Chrome (at least on Mac)

It's only lightly tested. Please see screenshot (and ignore the collapse-sidebar button, that's from #21808..too lazy to un-apply :)
Screenshot

Actions #10

Updated by Go MAEDA almost 9 years ago

  • Related to Defect #9275: If the number of modules spans over 2 lines, ugly overlapping of controls may occur. added
Actions #11

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from Closed to Reopened

Daniel Ritz wrote:

I really like that one! One thing though: how about some user feedback by enabling/disabling the buttons? I hacked together something:

Reopened.

Actions #12

Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from Reopened to Closed

Patch by Daniel committed, thanks.

Actions #13

Updated by Olivier Houdas over 8 years ago

Tabs buttons are now visible on the home page after logging in, when using Redmine 3.3.0 released yesterday. This is a bit confusing, as there are no tabs in the home page.

Actions #14

Updated by Go MAEDA over 8 years ago

Olivier Houdas wrote:

Tabs buttons are now visible on the home page after logging in, when using Redmine 3.3.0 released yesterday. This is a bit confusing, as there are no tabs in the home page.

Since 3.3.0 have been released, please create a new issue to report a defect.

Actions #15

Updated by Olivier Houdas over 8 years ago

Sorry, this is due to RedmineCRM contact_helpdesk plugin. I will file a bug directly to them.

Actions #16

Updated by Go MAEDA almost 8 years ago

  • Related to Defect #6624: Project horizontal menu layout doesn't wrap added
Actions

Also available in: Atom PDF