discourse/plugins/chat/test/javascripts/components
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
..
channel-icon-test.gjs DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
channel-name-test.gjs DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
channel-title-test.gjs DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-channel-card-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-channel-leave-btn-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-channel-metadata-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-channel-preview-card-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-channel-row-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-channel-status-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-channel-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-composer-dropdown-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-composer-message-details-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-composer-placeholder-test.js FEATURE: introduces group channels (#24288) 2023-11-10 11:29:28 +01:00
chat-composer-upload-test.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
chat-composer-uploads-test.js DEV: Remove unnecessary `await settled()` (#24584) 2023-11-28 10:45:20 +01:00
chat-emoji-avatar-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-emoji-picker-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-header-icon-test.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
chat-message-avatar-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-message-collapser-test.js FEATURE: my threads page (#24771) 2023-12-11 07:38:07 +01:00
chat-message-info-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-message-left-gutter-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-message-reaction-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-message-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-message-text-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-modal-archive-channel-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-modal-delete-channel-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-modal-move-message-to-channel-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-notices-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-replying-indicator-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-retention-reminder-test.js DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
chat-retention-reminder-text-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-thread-header-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-thread-list-item-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-thread-participants-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-upload-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
chat-user-avatar-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-user-card-button-test.js DEV: allows fabricators to use faker (#26555) 2024-04-08 21:00:09 +02:00
chat-user-display-name-test.js FEATURE: Add user status to chat members list (#25831) 2024-02-27 12:17:15 +08:00
chat-user-info-test.js FIX: channel member status live updates (#25925) 2024-02-29 17:49:18 +08:00
collapser-test.js DEV: Sort imports 2023-10-10 21:46:54 +01:00
dc-filter-input-test.js DEV: Use `class` attribute instead of `@class` arg (#24804) 2023-12-12 13:09:05 +01:00