mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 00:23:44 +08:00
b3a23bd9d6
Ember 4.x will be removing the 'named outlet' feature, which were previously relying on to render modal 'controllers' and their associated templates. This commit updates the modal.show API to accept a component class, and also introduces a declarative API which can be used by including the <DModal component directly in your template. For more information on the API design, and conversion instructions from the current API, see these Meta topics: DModal API: https://meta.discourse.org/t/268304 Conversion: https://meta.discourse.org/t/268057 |
||
---|---|---|
.. | ||
app/controllers/styleguide | ||
assets | ||
config | ||
lib/styleguide | ||
public/images | ||
spec/integration | ||
plugin.rb | ||
README.md | ||
screenshot.png |