2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-03-03 23:54:20 +08:00
discourse/app/views/layouts
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
..
_head.html.erb FEATURE: Add page view tracking event (#36899) 2026-01-07 09:22:19 +08:00
_noscript_footer.html.erb UX: Rename FAQ to Guidelines (#27451) 2024-06-13 12:09:53 -03:00
_noscript_header.html.erb DEV: Add site description to crawler homepage view (#32845) 2025-05-22 08:33:59 +10:00
_plugin_js.html.erb FIX: Restore plugin data attributes on script tags lost in #37763 (#38039) 2026-02-26 15:21:44 -03:00
application.html.erb DEV: Refactor plugin JS handling (#37763) 2026-02-19 12:24:04 +00:00
crawler.html.erb FEATURE: Append locale to links in crawler view if present (#34466) 2025-08-22 08:46:33 +08:00
email_template.html.erb UX: add preview to email templates (#36657) 2026-01-08 11:33:53 +04:00
embed.html.erb DEV: Replace break_string.js with CSS in embedded view (#32488) 2025-04-28 10:47:27 +01:00
ember_cli.html.erb DEV: Stop using sprockets for 'use ember cli' stylesheet (#28633) 2024-08-29 10:38:27 +01:00
finish_installation.html.erb DEV: Allow new instances to be set up directly with Discourse ID (#36731) 2025-12-23 12:13:36 -05:00
no_ember.html.erb FEATURE: Add experimental tracking of 'real browser' pageviews (#26647) 2024-04-25 11:00:01 +01:00
publish.html.erb FEATURE: support adobe analytics tags tracking (#30433) 2024-12-26 15:25:48 +05:30