Feature #33422

Re-implement admin project list using ProjectQuery system

Added by Mischa The Evil over 2 years ago. Updated 4 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Marius BALTEANU% Done:

0%

Category:Administration
Target version:5.1.0
Resolution:Fixed

Description

This would be nice to have now that #29482 is introduced. It seems an issue for this separate task isn't yet available, so I'll create it hereby.

project-query-available-on-admin-project-list.png (407 KB) Takenori TAKAKI, 2021-10-07 04:28

project-query-available-on-admin-project-list.patch Magnifier (16.7 KB) Takenori TAKAKI, 2021-10-07 04:28

0003-background-job-for-project-deletion.patch Magnifier (15 KB) Jens Krämer, 2022-03-31 12:49

0002-Adds-context-menu-to-admin-projects-list.patch Magnifier (5.79 KB) Jens Krämer, 2022-03-31 12:49

0001-ProjectQuery-filters-on-the-admin-project-list.patch Magnifier (18.6 KB) Jens Krämer, 2022-03-31 12:49

0004-projects-bulk-delete.patch Magnifier (10.7 KB) Jens Krämer, 2022-03-31 13:00


Related issues

Related to Redmine - Patch #36691: Background job and dedicated status for project deletion Closed
Duplicated by Redmine - Feature #12072: Add filtering to project list in administration Closed
Follows Redmine - Feature #29482: Query system for Projects page Closed

Associated revisions

Revision 21519
Added by Marius BALTEANU 6 months ago

Reuse ProjectQuery filters on the admin project list (#33422).

Patch by Takenori TAKAKI.

Revision 21520
Added by Marius BALTEANU 6 months ago

Adds context menu to admin projects list (#33422).

Patch by Jens Krämer.

History

#1 Updated by Mischa The Evil over 2 years ago

#2 Updated by Go MAEDA over 1 year ago

  • Duplicated by Feature #12072: Add filtering to project list in administration added

#3 Updated by Takenori TAKAKI 12 months ago

I made a patch to allow ProjectQuery filters on the admin project list and attach it.

After applying the patch, ProjectQuery will be available on admin project list as shown in the screenshot below.

#4 Updated by Jens Krämer 6 months ago

Thank you for that patch!

We recently did some work on that Admin projects list at Planio and will be rolling out this feature soon.

I've rebased the original patch and fixed some Rubocop offenses, this is patch 0001 of the attached series. The second patch adds a context menu to the admin projects listing, replacing the last column of action links with the triple dot link and adding multi-select capability with checkboxes, just like in the issues list. The third patch introduces a background job for project deletion (this is basically the same as submitted in #36691). I included it here because the fourth patch, which introduces deletion of multiple selected projects at once, depends on this one.

#5 Updated by Marius BALTEANU 6 months ago

  • Assignee set to Marius BALTEANU
  • Target version set to 5.1.0

#6 Updated by Marius BALTEANU 6 months ago

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

Committed first two patches, thanks!

#7 Updated by Marius BALTEANU 6 months ago

I'm going to commit last two patches as part of #36691.

#8 Updated by Marius BALTEANU 6 months ago

  • Status changed from Resolved to Closed

#9 Updated by Marius BALTEANU 6 months ago

  • Related to Patch #36691: Background job and dedicated status for project deletion added

#10 Updated by Alexander Meindl 4 months ago

Hi,

just my opinion to it: I would drop admin list in admin area completely and move additional admin tasks to the project query list. This would be a solution without redundant information and functions. If I am a user with admin permissions, I would expect to run all operations in my project list. No switching between one admin list to the other list would be required (which looks almost identically).

Technical view: with this patch we have a lot of if/else condition everywhere (views and helpers). One list would be a much cleaner approach.

Just for interest: what do you (other people here on redmine.org) think about this implementation?

PS: of course with this patch it is a better solution as before, but in my opinion in the wrong direction

#11 Updated by Bernhard Rohloff 4 months ago

Hi all,

I'm also in favor of Alexander Meindl's proposal. IMHO it doesn't make sense to have two different views and entry points. As an administrator, copying template projects is one of my main tasks. It would be so nice if I could just do it from the normal projects view.

Also available in: Atom PDF