2023-07-13 18:47:03 -04:00
|
|
|
import { action } from "@ember/object";
|
2024-03-28 06:12:48 -04:00
|
|
|
import UserCardContents from "discourse/components/user-card-contents";
|
2020-02-28 10:01:48 -05:00
|
|
|
|
2024-10-07 15:05:36 -04:00
|
|
|
export default class UserCardStaticContents extends UserCardContents {
|
|
|
|
layoutName = "components/user-card-contents";
|
|
|
|
elementId = null;
|
2020-02-28 10:01:48 -05:00
|
|
|
// Overriding functions which cause the user card to show/hide based on mouse/keyboard events:
|
2024-10-07 15:05:36 -04:00
|
|
|
cleanUp() {}
|
2024-11-19 09:37:33 -05:00
|
|
|
|
2024-10-07 15:05:36 -04:00
|
|
|
didInsertElement() {}
|
2024-11-19 09:37:33 -05:00
|
|
|
|
2024-10-07 15:05:36 -04:00
|
|
|
willDestroyElement() {}
|
|
|
|
keyUp() {}
|
2023-07-13 18:47:03 -04:00
|
|
|
|
|
|
|
// need to override this to work with the loading slider
|
|
|
|
@action
|
|
|
|
handleShowUser() {
|
|
|
|
return;
|
2024-10-07 15:05:36 -04:00
|
|
|
}
|
|
|
|
}
|