Prioritise visibility of enabled policy types on configuration page loads

Created on 26 August 2025, about 1 month ago

Problem/Motivation

When visiting the CSP config form, I am constantly agitated by the fact that I never have the "reporting" policy type enabled. But it is always the one visible when the page loads. This means I make accidental, ineffective, changes which I actually want to apply to the "enforced" policy type.

Proposed resolution

On the configuration screen, when a policy type is enabled, it should be positioned/weighted above the other(s).

When multiple are enabled/disabled, then natural order takes effect. Where report and enforce are the existing types, in natural order.

Remaining tasks

Review/commit.

User interface changes

Order of tabs changes by enabled config state.

API changes

Nil.

Data model changes

Nil.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇦🇺Australia dpi Perth, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024