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 2f532ea8d3
commit 0ebe96f47e
3 changed files with 7 additions and 4 deletions

View File

@@ -60,7 +60,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,
@@ -252,7 +252,7 @@ export default function SharedLinks() {
},
meta: {
className: 'w-32 sm:w-40',
desktopOnly: true,
// desktopOnly: true, // WIP
},
enableSorting: true,
},
@@ -266,7 +266,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

@@ -1208,6 +1208,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",