Add WIP 'report post' modal
This commit is contained in:
parent
36dc1c7525
commit
66a0f8e848
7 changed files with 211 additions and 2 deletions
|
@ -51,6 +51,14 @@ export class ServerInputModal {
|
|||
}
|
||||
}
|
||||
|
||||
export class ReportPostModal {
|
||||
name = 'report-post'
|
||||
|
||||
constructor(public postUrl: string) {
|
||||
makeAutoObservable(this)
|
||||
}
|
||||
}
|
||||
|
||||
interface LightboxModel {
|
||||
canSwipeLeft: boolean
|
||||
canSwipeRight: boolean
|
||||
|
@ -127,6 +135,7 @@ export class ShellUiModel {
|
|||
| EditProfileModal
|
||||
| CreateSceneModal
|
||||
| ServerInputModal
|
||||
| ReportPostModal
|
||||
| undefined
|
||||
isLightboxActive = false
|
||||
activeLightbox:
|
||||
|
@ -154,7 +163,8 @@ export class ShellUiModel {
|
|||
| ConfirmModal
|
||||
| EditProfileModal
|
||||
| CreateSceneModal
|
||||
| ServerInputModal,
|
||||
| ServerInputModal
|
||||
| ReportPostModal,
|
||||
) {
|
||||
this.isModalActive = true
|
||||
this.activeModal = modal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue