discourse/app/assets/javascripts
Joffrey JAFFEUX 1060e4573a
DEV: allows fabricators to use faker (#26555)
The complexity of the situation is that we don't want to load faker into production by default but fabricators and styleguide are available on production.

This is made possible through app/assets/javascripts/discourse/app/lib/load-faker.js which contains a function to ensure faker is loaded asynchronously (loadFaker) and another function to access the loaded faker (getLoadedFaker).

Note 1: this commit also refactors fabricators to have access to context and use faker where possible
Note 2: this commit moves automation to admin bundle

---------

Co-authored-by: David Taylor <david@taylorhq.com>
2024-04-08 21:00:09 +02:00
..
admin UX: Allow a default value to be specified for enum properties (#26529) 2024-04-05 11:44:39 +08:00
custom-proxy DEV: Rename 'bootstrap-json' addon to 'custom-proxy' (#26561) 2024-04-08 19:53:02 +01:00
deprecation-silencer DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
dialog-holder Build(deps-dev): Bump webpack from 5.90.3 to 5.91.0 (#26273) 2024-03-21 07:03:20 +08:00
discourse DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
discourse-common DEV: Replace Category.findById with Category.asyncFindByIds in easy cases (#26270) 2024-04-05 11:59:10 -05:00
discourse-hbr Build(deps): Bump the babel group with 2 updates (#26502) 2024-04-03 23:47:13 +02:00
discourse-i18n DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
discourse-markdown-it UX: add title attribute to composer preview image controls (#26301) 2024-03-22 09:49:10 -04:00
discourse-plugins Build(deps): Bump the babel group with 2 updates (#26502) 2024-04-03 23:47:13 +02:00
discourse-widget-hbs Build(deps): Bump @glimmer/syntax from 0.91.1 to 0.91.2 (#26541) 2024-04-08 07:02:51 +08:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Add production-mode shim for Em deprecation (#25109) 2024-01-03 10:39:59 +00:00
float-kit FIX: prevents mobile DMenu modal to lock scroll (#26550) 2024-04-08 09:47:50 +02:00
locales DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
pretty-text Build(deps): Bump the babel group with 2 updates (#26502) 2024-04-03 23:47:13 +02:00
select-kit DEV: Add appEvents for composer / DEditor toolbar events (#26517) 2024-04-05 08:35:25 -05:00
theme-transpiler Build(deps): Bump the babel group with 2 updates (#26502) 2024-04-03 23:47:13 +02:00
truth-helpers DEV: Convert truth-helpers to a v2 addon and simplify imports (#26029) 2024-03-05 15:24:47 +00:00
.npmrc
handlebars-shim.js
polyfills.js
run-patch-package
service-worker.js.erb FIX: Service worker push notifications when cache disabled (#25610) 2024-02-08 11:55:32 +00:00