0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-07 13:19:19 +08:00
discourse/spec/system/page_objects/modals
Régis Hanol 146e41b39a
UX: Explain why a revision diff can't be shown in the edit history (#41367)
Previously, when a post revision was hidden, the history modal showed a
completely blank diff area for the revisions next to it, with no
explanation — the diffs on either side of a hidden revision aren't
rendered because they can expose the hidden revision's content, but
users were left thinking the edit history was broken. Reported in
https://meta.discourse.org/t/diff-between-revisions-no-longer-visible-when-there-is-a-hidden-revision-in-between/406254.

This change shows an explanatory notice in place of the blank diff,
driven by the `previous_hidden`/`current_hidden` flags the serializer
already exposes for exactly these revisions. The `hiddenClasses` dimming
is skipped when the notice shows, since it exists to fade hidden content
staff can still see and would fade the notice in the inline view. It
also rewords the related `diff_too_complex` messages in the same plain
language, since "diff" and "revision" aren't words most users know.
2026-07-02 19:41:25 +02:00
..
admin_incoming_email_details_modal.rb
admin_onboarding_predefined_topics.rb UX: update styling of icebreaker step for onboarding (#38066) 2026-02-25 16:30:17 -05:00
admin_onboarding_theme_picker.rb UX: Polish the theme picker modal (#40414) 2026-05-29 14:05:56 -07:00
admin_search.rb
anonoymous_flag.rb
avatar_selector.rb
badge.rb
base.rb UX: modal modifier class BEM rename + new modifier (#40369) 2026-05-28 17:36:48 +02:00
bookmark.rb UX: Always show options in bookmark modal (#40075) 2026-05-26 09:08:17 +02:00
bulk_user_delete_confirmation.rb FIX: Make confirmation phrase matching locale-safe (#38923) 2026-03-27 16:38:57 +01:00
bulk_user_suspend_confirmation.rb FEATURE: Bulk suspend users and filter the admin users list by activation (#41227) 2026-06-29 11:26:34 +02:00
change_owner.rb
confirm_session.rb
create_color_palette.rb
create_invite.rb
delete_themes_confirm.rb UX: modal modifier class BEM rename + new modifier (#40369) 2026-05-28 17:36:48 +02:00
discard_draft.rb UX: modal modifier class BEM rename + new modifier (#40369) 2026-05-28 17:36:48 +02:00
dismiss_new.rb
edit_topic_timer.rb
flag.rb
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
install_theme.rb
manage_tags.rb UX: Consolidate bulk tag actions into a single "Manage tags" modal (#39340) 2026-04-30 09:25:17 +08:00
penalize_user.rb
permanently_delete_confirm.rb UX: Migrate permanently-delete confirmation to DModal (#39896) 2026-05-12 11:42:52 +02:00
post_history.rb UX: Explain why a revision diff can't be shown in the edit history (#41367) 2026-07-02 19:41:25 +02:00
private_message_invite.rb
private_message_remove_participant.rb
reject_reason_reviewable.rb
scrub_rejected_user.rb
share_target.rb FEATURE: Accept shared files via the Web Share Target (#41030) 2026-06-18 17:35:09 -03: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
sidebar_edit_tags.rb
sidebar_section_form.rb UX: modal modifier class BEM rename + new modifier (#40369) 2026-05-28 17:36:48 +02:00
topic_bulk_actions.rb UX: Consolidate bulk tag actions into a single "Manage tags" modal (#39340) 2026-04-30 09:25:17 +08:00
upsert_hyperlink.rb FIX: preserve selection formatting in link-insertion modal (#39374) 2026-05-20 11:22:35 +02:00
view_translations_modal.rb