discourse/app/assets/javascripts
Loïc Guitaut cfa4f07378 FIX: Don't crash when MF definitions are missing
Currently, if MF definitions are missing (typically because there’s a
compilation error), `I18n.messageFormat` will try to access
`I18n._mfMessages.hasMessage` resulting in a crash that will in turn
crash Ember.

This patch addresses the issue by using the optional chaining operator
making the `I18n.messageFormat` method return a "Missing Key" message.
MF strings won’t be rendered properly, but the site will stay usable.
2024-07-29 18:13:17 +02:00
..
admin UX: group admin new features by month (#28106) 2024-07-29 14:20:12 +10:00
custom-proxy Build(deps-dev): Bump glob from 10.4.2 to 10.4.3 (#27751) 2024-07-08 08:40:31 +08:00
deprecation-silencer DEV: Silence whitespace-eating-comment warnings (#27129) 2024-05-22 16:21:51 +02:00
dialog-holder Build(deps-dev): Bump webpack from 5.92.1 to 5.93.0 (#27882) 2024-07-12 01:30:31 +02:00
discourse FIX: Don't crash when MF definitions are missing 2024-07-29 18:13:17 +02:00
discourse-common DEV: Fix random typos (#28103) 2024-07-26 23:13:12 +02:00
discourse-hbr DEV: Convert discourse-hbr to a regular package (#26562) 2024-04-08 20:00:34 +01:00
discourse-i18n FIX: Don't crash when MF definitions are missing 2024-07-29 18:13:17 +02:00
discourse-markdown-it FIX: Add post id to the anchor to prevent two identical anchors (#28070) 2024-07-25 13:50:30 +08:00
discourse-plugins Build(deps): Bump the babel group across 1 directory with 2 updates (#27943) 2024-07-17 11:41:52 +01:00
discourse-widget-hbs Build(deps): Bump the babel group across 1 directory with 2 updates (#27943) 2024-07-17 11:41:52 +01:00
docs
ember-addons
ember-cli-progress-ci PERF: Improve production JS build in low-memory environments (#26849) 2024-05-02 11:43:59 +01:00
ember-production-deprecations DEV: Drop unused shims for Ember 3 deprecations (#26563) 2024-04-09 09:22:37 +01:00
float-kit DEV: Fix random typos (#28103) 2024-07-26 23:13:12 +02:00
locales FEATURE: Add Uyghur language (#27183) 2024-05-27 09:58:18 +02:00
pretty-text Build(deps): Bump the babel group across 1 directory with 2 updates (#27943) 2024-07-17 11:41:52 +01:00
select-kit DEV: Clean up imports (#28060) 2024-07-25 15:09:06 +02:00
theme-transpiler Build(deps): Bump terser from 5.31.2 to 5.31.3 (#27944) 2024-07-17 11:42:10 +01:00
truth-helpers Build(deps): Bump ember-auto-import from 2.7.3 to 2.7.4 (#27615) 2024-06-26 01:35:06 +02:00
.npmrc
handlebars-shim.js
polyfills.js
run-patch-package
service-worker.js.erb DEV: Drop workbox dependency (#26735) 2024-04-24 10:19:12 +01:00