discourse/spec/system/composer
Renato Atilio 2362bf740d
UX: strip base url and https/mailto protocol from link toolbar (#33228)
Strips the site's base URL and `https`/`mailto` protocols from the link
toolbar display


![image](https://github.com/user-attachments/assets/9a38c840-63bb-4a74-a210-f66dd56766cf)

Refactors the toolbar to use getters instead of function calls, re-uses
`DButton` for the `href` toolbar item instead of a custom `a` tag, fixes
a bug where we passed a translated string to DButton's `label` that
expects a i18n key, and adds support to “disabled” buttons.

Slightly simplifies the toolbar implementation by extracting one step of
indirection removing `toolbarButton` from d-editor.
2025-06-17 10:41:19 -03:00
..
category_templates_spec.rb FIX: uses correct waiters and APIs (#32778) 2025-05-17 15:32:07 +02:00
default_to_subcategory_spec.rb DEV: Convert min_trust_to_create_topic to groups (#24740) 2023-12-13 14:50:13 +11:00
discard_draft_spec.rb FEATURE: Multiple Draft Topics (#30790) 2025-01-29 10:23:26 +04:00
dont_feed_the_trolls_popup_spec.rb DEV: move post flags into database (#27125) 2024-05-23 12:19:07 +10:00
post_validation_spec.rb DEV: Automatically update groups for test users with explicit TL (#25415) 2024-01-29 17:52:02 +08:00
prosemirror_editor_spec.rb UX: strip base url and https/mailto protocol from link toolbar (#33228) 2025-06-17 10:41:19 -03:00
review_media_unless_trust_level_spec.rb FIX: attempts to fix flaky in review media (#32787) 2025-05-18 22:57:00 +02:00
template_validation_spec.rb FEATURE: Implement tag group selection in dropdown and multi-select for topic creation and preview when using Form Templates (#32108) 2025-04-17 08:38:03 -05:00