Show parent post in composer when replying (close #3)
This commit is contained in:
parent
0840c3f8f7
commit
fbcf0d79d1
5 changed files with 66 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
|||
import {makeAutoObservable} from 'mobx'
|
||||
import {ProfileViewModel} from './profile-view'
|
||||
import * as Post from '../../third-party/api/src/client/types/app/bsky/feed/post'
|
||||
|
||||
export class ConfirmModel {
|
||||
name = 'confirm'
|
||||
|
@ -52,8 +51,17 @@ export class ServerInputModel {
|
|||
}
|
||||
}
|
||||
|
||||
export interface ComposerOptsPostRef {
|
||||
uri: string
|
||||
cid: string
|
||||
text: string
|
||||
author: {
|
||||
handle: string
|
||||
displayName?: string
|
||||
}
|
||||
}
|
||||
export interface ComposerOpts {
|
||||
replyTo?: Post.PostRef
|
||||
replyTo?: ComposerOptsPostRef
|
||||
onPost?: () => void
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue