10 Commits

Author SHA1 Message Date
David Taylor
be354e7950
DEV: Update admin controllers to native class syntax ()
This commit was generated using the ember-native-class-codemod along with a handful of manual updates
2023-03-15 09:42:12 +00:00
Keegan George
4ae288367e
FIX: Permalinks issues () 2022-11-09 11:23:08 -08:00
Penar Musaraj
86ecb6c58b
DEV: update yes/no confirmation dialogs () 2022-09-14 11:06:56 -04:00
Martin Brennan
c1ad9c3276
DEV: Make clipboardCopy util available for import ()
We need this in other places, this commit moves clipboardCopy
to the utilities.js lib. Had to remove use of Promise as well because
lib/utilities cannot import it, otherwise it will cause a mini racer error.
2022-02-09 16:11:41 +10:00
Jarek Radosz
f414d5eace
DEV: Use method definition syntax consistently () 2021-11-13 14:01:55 +01:00
Roman Rizzi
142e0ae062
Revert "Revert "DEV: Wrap Ember.run.debounce. ()"" ()
* Revert "Revert "DEV: Wrap `Ember.run.debounce`. ()" ()"

This reverts commit aa0d4ea764959bd7ec5127f78dbec68de4dc8337.

* Correctly debounce onScroll function
2020-12-18 10:18:52 -03:00
Roman Rizzi
aa0d4ea764
Revert "DEV: Wrap Ember.run.debounce. ()" ()
This reverts commit 8b426431a41ad6e91de05614a2d35d48c5112fa7.
2020-12-10 16:48:25 -03:00
Roman Rizzi
8b426431a4
DEV: Wrap Ember.run.debounce. ()
We want to wrap the `Ember.run.debounce` function and internally call `Ember.run` instead when running tests.

This commit changes discourseDebounce to work the same way as `Ember.run.debounce`.

Now that `discourseDebounce` works exactly like `Ember.run.debounce`, let's replace it and only use `DiscourseDebounce` from now on.

Move debounce to discourse-common to be able to reuse it in different bundles

Keep old debounce file for backwards-compatibility
2020-12-10 11:01:42 -03:00
Roman Rizzi
bbe5d8d5cf
DEV: Sort imports alphabetically () 2020-12-01 15:31:26 -03:00
Robin Ward
ce3fe2f4c4 REFACTOR: Support bundling our admin section as an ember addon 2020-09-22 15:14:29 -04:00