feat: command palette (#200)
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
parent
07622e9606
commit
59802f0896
22 changed files with 911 additions and 101 deletions
|
@ -3,6 +3,7 @@ import type { Status } from 'masto'
|
|||
|
||||
const props = defineProps<{
|
||||
status: Status
|
||||
command?: boolean
|
||||
}>()
|
||||
|
||||
const status = $computed(() => {
|
||||
|
@ -52,6 +53,6 @@ const visibility = $computed(() => STATUS_VISIBILITIES.find(v => v.value === sta
|
|||
· {{ status.application?.name }}
|
||||
</div>
|
||||
</div>
|
||||
<StatusActions :status="status" details border="t base" pt-2 />
|
||||
<StatusActions :status="status" details :command="command" border="t base" pt-2 />
|
||||
</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue