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/tests
David Taylor ecce3c81f2
UX: Do not automatically refresh page while composer is open (#19112)
We automatically refresh the page 'on the next navigation' whenever a
new version of the JS client is available. If the composer is open when
this happens then it will be closed and you'll have to reopen the draft.
In some circumstances, this refresh can also cause some composer content
to be lost.

This commit updates the auto-refresh logic so that it doesn't trigger
while the composer is open, and adds an acceptance test for the
behaviour.

<!-- NOTE: All pull requests should have tests (rspec in Ruby, qunit in
JavaScript). If your code does not include test coverage, please include
an explanation of why it was omitted. -->
2022-11-21 10:45:19 +00:00
..
acceptance UX: Do not automatically refresh page while composer is open (#19112) 2022-11-21 10:45:19 +00:00
addons/truth-helpers/integration/helpers DEV: adds includes helper to templates (#18259) 2022-09-15 14:20:37 +02:00
fixtures FEATURE: Generic hashtag autocomplete lookup and markdown cooking (#18937) 2022-11-21 08:37:06 +10:00
helpers FIX: Correct implementation for user preferences tracking page (#19119) 2022-11-21 14:48:47 +08:00
integration FIX: Correct implementation for user preferences tracking page (#19119) 2022-11-21 14:48:47 +08:00
unit FIX: Allow new hashtag HTML to be quoted to markdown (#19117) 2022-11-21 12:04:46 +10:00
index.html DEV: Add dark theme support to QUnit (#19014) 2022-11-17 18:44:44 +01:00
setup-tests.js DEV: Add unique ids to deprecations (#19019) 2022-11-16 10:00:39 +00:00
test-boot-ember-cli.js DEV: Make the setupTests a regular import (#19046) 2022-11-16 16:11:18 +08:00