discourse/spec/system/page_objects/modals
Régis Hanol 23982658b2
FIX: Improve error message when updating group notification settings (#37184)
When updating a group's notification defaults (like
watching_category_ids) via API, if existing members would be affected,
the server returns a 422 asking the caller to specify whether to apply
changes to existing users.

The previous error message was confusing: "You supplied invalid
parameters to the request: update_existing_users" - even though the
caller hadn't supplied that parameter at all. The new message clearly
explains what's happening and what to do:

"This change affects X existing group members. You must specify the
'update_existing_users' parameter (true or false) to indicate whether to
apply the new notification defaults to existing members."

Also fixed a bug where the confirmation modal state wasn't being reset
when navigating between groups, causing the modal to not appear on
subsequent group edits. The modal now returns its result directly
instead of storing it in component state.

Ref - https://meta.discourse.org/t/-/393572
2026-01-19 15:08:38 +11:00
..
admin_incoming_email_details_modal.rb FIX: Remove error section when viewing details for received emails (#35228) 2025-10-07 16:25:11 +08:00
admin_search.rb UX: simplify admin search, make more accessible (#32733) 2025-05-15 16:31:03 +10:00
anonoymous_flag.rb FEATURE: setting allowing tl0/anonymous flag illegal content (#30785) 2025-01-17 08:57:44 +11:00
avatar_selector.rb DEV: Add a Gravatar enable/disable toggle (#33533) 2025-07-10 15:09:32 +08:00
badge.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
base.rb DEV: Modernize the post menu from widgets to Glimmer components (#28670) 2024-11-11 15:36:08 -03:00
bookmark.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
bulk_user_delete_confirmation.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
change_owner.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
confirm_session.rb FIX: Reset password link broken for non-staff user in confirm session dialog (#32765) 2025-05-16 15:09:03 +08:00
create_color_palette.rb FEATURE: Add color palette list selection to new UI (#32379) 2025-05-05 05:12:50 +03:00
create_invite.rb FIX: Add back the option to create invite without emailing (#29641) 2024-11-08 07:59:24 +03:00
delete_themes_confirm.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
discard_draft.rb UX: Simplify Composer Discard confirmation dialog: removes Safe draft button (#35298) 2025-10-10 14:07:34 +08:00
dismiss_new.rb FIX: when new new is enabled, filter dismiss modal to correct type (#33037) 2025-06-03 09:47:06 -04:00
edit_topic_timer.rb FIX: Can't update close based on last post timer to close timer (#35541) 2025-10-28 09:07:43 +08:00
flag.rb DEV: Simplify "Admin Flags Page" system test to reduce runtime duration (#32431) 2025-04-24 15:47:22 +08:00
group_default_notifications.rb FIX: Improve error message when updating group notification settings (#37184) 2026-01-19 15:08:38 +11:00
insert_table.rb Build(deps): Bump jspreadsheet-ce from 4.15.0 to 5.0.4 (#32871) 2026-01-14 18:28:15 +01:00
install_theme.rb UX: Creating a new theme/component should redirect to theme edit route (#34353) 2025-08-19 11:30:44 +08:00
penalize_user.rb FIX: JS error when silencing and unsilencing the user (#33851) 2025-07-25 14:33:07 +08:00
post_history.rb DEV: Post history spec with tags (#37012) 2026-01-08 22:46:58 +08:00
private_message_invite.rb DEV: convert PrivateMessageMap widget to glimmer components (#25837) 2024-03-04 10:24:25 +08:00
private_message_remove_participant.rb DEV: convert PrivateMessageMap widget to glimmer components (#25837) 2024-03-04 10:24:25 +08:00
reject_reason_reviewable.rb UX: refactor .d-modal to use BEM and improve styling (#23967) 2023-11-15 10:14:47 +00:00
scrub_rejected_user.rb FEATURE: Allow rejected user details to be scrubbed (#31987) 2025-03-31 12:40:35 +11:00
sidebar_edit_categories.rb FIX: add decorated html to edit sidebar categories (#37169) 2026-01-16 15:49:16 +04:00
sidebar_edit_navigation_modal.rb DEV: replace selenium driver with playwright (#31977) 2025-05-06 10:44:14 +02:00
sidebar_edit_tags.rb
sidebar_section_form.rb UX: Update some delete confirmation dialogs (#33018) 2025-06-02 09:14:58 -04:00
topic_bulk_actions.rb DEV: Invert bulk action notification checkbox (#36016) 2025-11-13 21:34:06 +08:00
upsert_hyperlink.rb FIX: composer link modal ENTER event (#33945) 2025-07-29 21:12:32 -03:00
view_translations_modal.rb DEV: Post localization improvements (#32869) 2025-05-27 08:49:53 -07:00