discourse/spec/system/page_objects/modals
Yuriy Kurant 98f4e00f0d
UX: Simplify Composer Discard confirmation dialog: removes Safe draft button (#35298)
This change simplifies controls of confirmation dialog when post is discarded in composer:
* `Discard` button stays unchanged
* `Save draft for later` button is removed
* `Keep editing` button is renamed to `Cancel` (functionality is
unchanged)
* changes modal copy from `What would you like to do with your post?` to
`Do you want to discard your post?`

|Before|After|
|---|---|
|<img width="614" height="138" alt="Screenshot 2025-10-10 at 13 18 06"
src="https://github.com/user-attachments/assets/76be21fa-c9d9-4c1d-9cb2-079d87d0e913"
/>|<img width="618" height="142" alt="Screenshot 2025-10-10 at 13 09 40"
src="https://github.com/user-attachments/assets/b106a6f0-e420-4351-8785-cb69ee587a49"
/>|

NOTE: do not mind the design on screenshots (dark/light mode). They
showcase change in controls. This PR doesn't change UI.
2025-10-10 14:07:34 +08: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
flag.rb DEV: Simplify "Admin Flags Page" system test to reduce runtime duration (#32431) 2025-04-24 15:47:22 +08:00
insert_table.rb DEV: Attempt to fix flaky test by using click_button instead of click (#25070) 2023-12-29 14:39:37 +08: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 FEATURE: Display locale change in post history modal (#33469) 2025-07-03 23:08:47 +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 DEV: Remove debounce from edit sidebar category show more button (#35296) 2025-10-10 09:13:08 +08: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 FIX: Loading more tags in edit nav menu tags modal not working (#22770) 2023-07-25 13:44:25 +08:00
sidebar_section_form.rb UX: Update some delete confirmation dialogs (#33018) 2025-06-02 09:14:58 -04:00
topic_bulk_actions.rb FIX: Don't allow submitting bulk topic actions without a notification… (#33292) 2025-06-25 14:48:36 -06: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