refactor: comment out desktopOnly property in SharedLinks and ArchivedChats components; update translation.json with new keys for link actions

This commit is contained in:
Marco Beretta 2025-09-25 23:44:08 +02:00
parent 8b11fcaed1
commit 18d5571b82
No known key found for this signature in database
GPG key ID: D918033D8E74CC11
3 changed files with 7 additions and 4 deletions

View file

@ -61,7 +61,7 @@ export default function SharedLinks() {
const [sorting, setSorting] = useState<SortingState>(defaultSort);
const [searchValue, setSearchValue] = useState('');
const { data, fetchNextPage, hasNextPage, isFetchingNextPage, isFetching, refetch, isLoading } =
const { data, fetchNextPage, hasNextPage, isFetchingNextPage, refetch, isLoading } =
useSharedLinksQuery(queryParams, {
enabled: isOpen,
keepPreviousData: true,
@ -253,7 +253,7 @@ export default function SharedLinks() {
},
meta: {
className: 'w-32 sm:w-40',
desktopOnly: true,
// desktopOnly: true, // WIP
},
enableSorting: true,
},
@ -267,7 +267,7 @@ export default function SharedLinks() {
),
cell: ({ row }) => {
const link = row.original as SharedLinkItem;
const { title, conversationId, shareId } = link;
const { title, conversationId } = link;
return (
<div className="flex items-center gap-2">

View file

@ -290,7 +290,7 @@ export default function ArchivedChatsTable() {
},
meta: {
className: 'w-32 sm:w-40',
desktopOnly: true,
// desktopOnly: true, // WIP
},
enableSorting: true,
},

View file

@ -1182,6 +1182,9 @@
"com_ui_shared_link_delete_success": "Successfully deleted shared link",
"com_ui_archived_conversation_delete_success": "Successfully deleted archived conversation",
"com_ui_shared_link_not_found": "Shared link not found",
"com_ui_open_link": "Open Link {{0}}",
"com_ui_view_source_conversation": "View Source Conversation {{0}}",
"com_ui_delete_link_title": "Delete Shared Link {{0}}",
"com_ui_shared_prompts": "Shared Prompts",
"com_ui_shop": "Shopping",
"com_ui_show_all": "Show All",