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/test/javascripts/controllers
Martin Brennan e2ce12d414
FIX: Broken computing of userHasTimezone in bookmark modal and missing tap-tile templates for regular users (#9229)
Based on reports here https://meta.discourse.org/t/improved-bookmarks-with-reminders/144542

* Because the `userHasTimezone` property was computed and we were checking on an (essentially) global object, ember was not aware that the user timezone had changed because it changed in a different place. instead set the timezone as internal state for the modal on show and base the computed property off of that so it mutates correctly
* The tap-tile components were in the admin folder completely unnecessarily, move them out into the main discourse folder otherwise noone else can use the new bookmarks (icon + text is missing)
2020-03-18 11:12:23 +10:00
..
avatar-selector-test.js.es6 REFACTOR: new 'show-avatar-select' app event to trigger the avatar selector modal 2018-07-25 12:38:15 +02:00
bookmark-test.js.es6 FIX: Broken computing of userHasTimezone in bookmark modal and missing tap-tile templates for regular users (#9229) 2020-03-18 11:12:23 +10:00
create-account-test.js.es6 DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808) 2019-01-10 11:06:01 +01:00
group-test.js.es6 DEV: introduces prettier for es6 files 2018-06-15 17:03:24 +02:00
history-test.js.es6 DEV: Use async functions in tests (#9087) 2020-03-02 21:20:19 +01:00
preferences-account-test.js.es6 DEV: Import EmberObject rather than global variable (#8256) 2019-10-29 14:23:50 -05:00
preferences-second-factor-test.js.es6 REFACTOR: Serve auth provider information in the site serializer. 2018-08-06 09:25:48 +01:00
reorder-categories-test.js.es6 FEATURE: Make 'Reorder Categories' work with nested categories (#8578) 2019-12-19 12:27:01 +02:00
topic-test.js.es6 DEV: Import pretender instead of global server var (#8996) 2020-03-02 14:24:31 -05:00