Project

General

Profile

Actions

Feature #14006

closed

A shortcut to view all issues of all projects

Feature #14006: A shortcut to view all issues of all projects

Added by Ivan Yiu over 13 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Resolution:
Fixed

Description

From the topmost menu "Projects" -> "View all issues", we can retrieve all issue of all project. But after we go to a project by selecting from the "Jump to a project" pull down list, there is no way for the user to view all issue from all project.

Again, user need to click the topmost "Project" link first then select "View all issues".

Please kindly help to provide a shortcut, e.g. An "All Projects" options in the "Jump to a project" pull down list, or provide options in custom query to include all projects or a dedicate project.


Files

add_shortcut_to_issues.diff (2.67 KB) add_shortcut_to_issues.diff Add a shortcut to the project issue page Daniel Felix, 2013-05-08 09:59
all-projects-link.png (27.1 KB) all-projects-link.png Go MAEDA, 2017-01-11 01:00

Related issues 5 (1 open — 4 closed)

Related to Redmine - Patch #14007: Patch for #14006ClosedActions
Related to Redmine - Defect #980: "For all projects" custom queriesNewActions
Related to Redmine - Feature #5920: Unify and improve cross-project views layoutClosedJean-Philippe LangActions
Related to Redmine - Feature #23310: Improved "jump to project" drop-downClosedJean-Philippe LangActions
Has duplicate Redmine - Feature #11940: Add "view all projects' issues" link to issues sidebarClosedActions

Updated by Daniel Felix over 13 years ago Actions #1

Take a look at #14007.

Updated by Daniel Felix over 13 years ago Actions #2

Maybe you can give some feedback if this would solve your request.

Updated by Ivan Yiu over 13 years ago Actions #3

i am new to REDMINE. Could you please provide more details how to use the diff file.

Updated by Terence Mill over 13 years ago Actions #4

+1

Updated by Jean-Baptiste Barth over 13 years ago Actions #5

That's why I personnally did on my instance at work, but I think it can be confusing for people with one or few projects. I already saw people who are not familiar with redmine, they're completely lost about those scoping issues. Jean-Philippe proposed an other approach in #5920 (second screenshot). Maybe a mitigation should be to display this link only if the user as more than 2 projects ?

Updated by Ivan Yiu over 13 years ago Actions #6

Hi Jean,

Does the #5920 patch applicable to the new Redmine 2.3.0 ?

Thanks.

Updated by Ivan Yiu over 13 years ago Actions #7

Dear Daniel,

I apply the patch file on Redmine 2.3.0 but failed.

$>patch -p0 < add_shortcut_to_issues.diff
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
| app/views/issues/_sidebar.html.erb | 9 ++++++---
| config/locales/de.yml              | 1 +
| config/locales/en-GB.yml           | 1 +
| config/locales/en.yml              | 1 +
| 4 files changed, 9 insertions(+), 3 deletions(-)
|
|diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb
|index dbf1918..a52ea3f 100644
|--- a/app/views/issues/_sidebar.html.erb
|+++ b/app/views/issues/_sidebar.html.erb
--------------------------

Updated by Jean-Baptiste Barth over 13 years ago Actions #8

I don't advice you apply patches blindly, try to discuss the feature and then we'll see. Btw, the patch should be applied with -p1, not -p0. And maybe there are extra lines at the top (the first 6 ones) that should be removed, not sure.

Updated by Ivan Yiu over 13 years ago Actions #9

Jean-Baptiste Barth wrote:

I don't advice you apply patches blindly, try to discuss the feature and then we'll see. Btw, the patch should be applied with -p1, not -p0. And maybe there are extra lines at the top (the first 6 ones) that should be removed, not sure.

Thanks Jean, I just follow the wiki page [[http://www.redmine.org/projects/redmine/wiki/Patch]] to apply the patch.

I've update the wiki page already, hope this can help other user too.

Updated by Ivan Yiu over 13 years ago Actions #10

Still fail .... I really don't know what's happening.

patch -p1 < add_shortcut_to_issues.diff
patching file app/views/issues/_sidebar.html.erb
Hunk #1 FAILED at 3.
1 out of 1 hunk FAILED -- saving rejects to file app/views/issues/_sidebar.html.erb.rej
patching file config/locales/de.yml
Hunk #1 succeeded at 644 (offset -1 lines).
patching file config/locales/en-GB.yml
patching file config/locales/en.yml
Hunk #1 succeeded at 549 (offset -1 lines).
root@scmpms:/opt/redmine-2.3.0-0/apps/redmine/htdocs>view app/views/issues/_sidebar.html.erb.rej

Updated by Daniel Felix over 13 years ago Actions #11

Hi,

try it manualy.

Just add these lines
<% if User.current.allowed_to?(:view_issues, nil, :global => true) %>
<li><%= link_to(l(:label_overall_issues), issues_path) %></li>
<% end %>

beneath this line
<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>

in source:trunk/app/views/issues/_sidebar.html.erb

And add these line to your en.yml:
label_overall_issues: Overall issues

Just regardless in which line. But be sure there will be two spaces in front of it.

You'll find them in source:/trunk/config/locales/en.yml

Best regards,
Daniel

Updated by Ivan Yiu over 13 years ago Actions #12

  • Status changed from New to Resolved

It's working. When user is in the scope of a specific project, the "Overall issues" link is available to bring the user back to "All Projects" scope.

Thanks.

Updated by Toshi MARUYAMA over 13 years ago Actions #13

  • Status changed from Resolved to New
  • % Done changed from 0 to 30

Not yet committed, so change status to "New".

Updated by Daniel Felix over 13 years ago Actions #14

Hi there,

any news on this patch?

Best regards,
Daniel

Updated by Go MAEDA almost 12 years ago Actions #15

  • Has duplicate Feature #11940: Add "view all projects' issues" link to issues sidebar added

Updated by Go MAEDA almost 12 years ago Actions #16

  • Related to Defect #980: "For all projects" custom queries added

Updated by Go MAEDA almost 11 years ago Actions #17

  • Related to Feature #5920: Unify and improve cross-project views layout added

Updated by Go MAEDA almost 10 years ago Actions #18

  • Status changed from New to Closed
  • Resolution set to Fixed

Implemented in r16172 as a part of #23310.
It will be available in upcoming 3.4.0.

Updated by Go MAEDA almost 10 years ago Actions #20

  • Related to Feature #23310: Improved "jump to project" drop-down added
Actions

Also available in: PDF Atom