2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-03 22:05:52 +08:00
discourse/app/helpers
Sérgio Saquetim b38b13ecf1
FIX: Restore plugin data attributes on script tags lost in #37763 (#38039)
- Restores `data-discourse-plugin`, `data-preinstalled`, and
`data-official` attributes on plugin `<script>` tags that were lost when
#37763 moved script tag generation from ember-cli to Rails
- Fixes `discourse-test-load-dynamic-js.js` where `script.dataset =
element.dataset` was a silent no-op (dataset is a readonly property),
preventing data attributes from being copied to dynamically created
script elements
- Without these attributes, `setup-tests.js` treats all test runs as
core tests and always enables `configureRaiseOnDeprecation()`, causing
private plugin tests to fail on deprecation warnings they should be
exempt from

---------

Co-authored-by: David Taylor <david@taylorhq.com>
2026-02-26 15:21:44 -03:00
..
application_helper.rb FIX: Restore plugin data attributes on script tags lost in #37763 (#38039) 2026-02-26 15:21:44 -03:00
common_helper.rb Revert "DEV: Remove the word tags from adobe_analytics_tags_url" (#32490) 2025-04-28 22:46:28 +08:00
email_helper.rb UX: add preview to email templates (#36657) 2026-01-08 11:33:53 +04:00
embed_helper.rb DEV: Update rubocop-discourse to 3.13 and autofix issues (#35073) 2025-10-06 16:11:01 +02:00
emoji_helper.rb FEATURE: Render emojis on GitHub labels when oneboxing an issue. (#13531) 2021-06-25 14:48:36 -03:00
list_helper.rb
posts_helper.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
qunit_helper.rb DEV: Use rollup for theme JS compilation (#33103) 2025-07-25 12:02:29 +01:00
topic_post_bookmarkable_helper.rb DEV: Apply syntax_tree formatting to app/* 2023-01-09 14:14:59 +00:00
topics_helper.rb FIX: Do not change language for logged in user when tl is present (#35942) 2025-11-11 11:20:23 +08:00
user_notifications_helper.rb DEV: Refactors digest/summary email into partials (#33451) 2025-07-07 09:57:15 -05:00