This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Martin Brennan 432b839997
FEATURE: Move site updated modal into a less obtrusive prompt (#12577)
This moves the "This site was just updated" modal asking the user if they want to refresh into a subtle prompt that slides down from the header.

Also in this PR I've added a helper to publish message bus messages in JS tests. So instead of this:

```javascript
// Mimic a messagebus message
MessageBus.callbacks
  .filterBy("channel", "/global/asset-version")
  .map((c) => c.func("somenewversion"));
```

We can have:

```javascript
publishToMessageBus("/global/asset-version", "somenewversion");
```
2021-04-07 08:56:48 +10:00
..
app FEATURE: Move site updated modal into a less obtrusive prompt (#12577) 2021-04-07 08:56:48 +10:00
config DEV: Use Ember CLI middleware to decorate the index template (#12292) 2021-03-09 10:09:35 -05:00
lib Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -04:00
public/assets/scripts REFACTOR: Use a <script src> tag to start the app (#12401) 2021-03-16 09:36:11 -04:00
tests FEATURE: Move site updated modal into a less obtrusive prompt (#12577) 2021-04-07 08:56:48 +10:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
ember-cli-build.js Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -04:00
package.json Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -04:00
testem.js Support for Testem in Ember CLI (#12442) 2021-03-19 09:32:46 -04:00
yarn.lock DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00