Edgewall Software

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#11853 closed enhancement (fixed)

Modular preference pages with child panels — at Version 4

Reported by: Peter Suter Owned by: Peter Suter
Priority: normal Milestone: 1.1.3
Component: notification Version:
Severity: normal Keywords: preferences
Cc: Branch:
Release Notes:

Preference panels now support modular child panels.

API Changes:

IPreferencePanelProvider.get_preference_panels() can now return (panel, label, parent_panel) triples to make child panels appear as part of the indicated parent panel.

Internal Changes:

Description (last modified by Peter Suter)

th:AnnouncerPlugin has IAnnouncementPreferenceProvider to allow components to add "boxes" to shared pages from IPreferencePanelProvider. Multiple plugins can provide a coherent user interface to notification preferences without impairing modularity in code.

For the Advanced Notification proposal we could instead simply extend IPreferencePanelProvider itself slightly to allow child panels.

Proposed changes: changeset:advanced-notification-preferences.4/psuter.hg

Change History (4)

comment:1 by Peter Suter, 9 years ago

Owner: set to Peter Suter
Status: newassigned

comment:2 by Peter Suter, 9 years ago

See #11870 for an example where Watch Ticket Components is an optional child of the Notifications panel.

comment:3 by Peter Suter, 9 years ago

Description: modified (diff)

comment:4 by Peter Suter, 9 years ago

API Changes: modified (diff)
Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Committed in [13510].

Note: See TracTickets for help on using tickets.