Project

General

Profile

Actions

Patch #44748

open

Check all on webhook edit page

Patch #44748: Check all on webhook edit page

Added by Greg Harvey 23 days ago. Updated 13 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Webhooks
Target version:
-

Description

When configuring a webhook for many projects, selecting every project individually is slow. The events section already provides Redmine's standard "Check all | Uncheck all" links, but the project list does not.

This patch adds `check_all_links 'webhook_project_ids'` to the webhook project fieldset, so the existing nested project list can be selected or cleared in one click. It also adds a functional test asserting that both links are rendered.

The patch is against current trunk (r25456 / 7872c0d).

Tests:
- bin/rails test test/functional/webhooks_controller_test.rb
- bundle exec rubocop test/functional/webhooks_controller_test.rb


Files

Updated by Go MAEDA 19 days ago Actions #2

  • Target version set to Candidate for next minor release

Updated by Go MAEDA 15 days ago Actions #3

Thank you for the patch.

The project list on the webhook form already allows selecting or deselecting all projects at once: clicking the checkmark icon to the left of the "Projects" legend toggles all checkboxes (highlighted in red in the attached screenshot).

In addition, none of the other screens where projects are selected with checkboxes, such as the tracker form, the project visibility setting of custom fields, the email notification preferences, and the form for adding projects to a user or group, has "Check all | Uncheck all" links. Adding them only to the webhook form would make it inconsistent with these screens.

For these reasons, I think the current behavior is sufficient.

Updated by Go MAEDA 13 days ago Actions #4

  • Target version deleted (Candidate for next minor release)
Actions

Also available in: PDF Atom