a way to open thread in chat view

This commit is contained in:
Henry Jameson 2026-07-24 16:44:35 +03:00
commit 85ec3b9c92
4 changed files with 17 additions and 2 deletions

View file

@ -12,11 +12,10 @@ import {
faBars,
faFolderTree,
faList,
faMessage,
faWrench,
} from '@fortawesome/free-solid-svg-icons'
library.add(faList, faFolderTree, faBars, faWrench, faMessage)
library.add(faList, faFolderTree, faBars, faWrench)
const QuickViewSettings = {
props: {

View file

@ -28,8 +28,10 @@ import {
faShareAlt,
faStar,
faThumbtack,
faPencil,
faTimes,
faWrench,
faComments,
} from '@fortawesome/free-solid-svg-icons'
library.add(
@ -53,7 +55,9 @@ library.add(
faEyeSlash,
faEye,
faThumbtack,
faPencil,
faShareAlt,
faComments,
faExternalLinkAlt,
faHistory,
)

View file

@ -218,6 +218,17 @@ export const BUTTONS = [
)
},
},
{
// =========
// OPEN IN CHAT VIEW
// =========
name: 'edit',
icon: 'comments',
label: 'status.open_in_chat_view',
action({ router, status }) {
router.push({ name: 'conversation2', params: { statusId: status.id } })
},
},
{
// =========
// DELETE

View file

@ -1647,6 +1647,7 @@
"delete_error": "Error deleting status: {0}",
"edit": "Edit status",
"edited_at": "(last edited {time})",
"open_in_chat_view": "Open in chat view",
"pin": "Pin on profile",
"unpin": "Unpin from profile",
"pinned": "Pinned",