feat: update A2UIButton and translations for navigation; enhance session detail fetching and task handling

This commit is contained in:
catlog22
2026-02-17 10:39:13 +08:00
parent b23e822a35
commit 8665ea73a4
7 changed files with 21 additions and 10 deletions

View File

@@ -38,12 +38,12 @@ export function A2UIButton({ className, compact = false }: A2UIButtonProps) {
'gap-2 bg-primary text-primary-foreground hover:bg-primary/90',
className
)}
title={formatMessage({ id: 'toolbar.a2ui.quickAction', defaultMessage: 'A2UI Quick Action' })}
title={formatMessage({ id: 'navigation.toolbar.a2ui.quickAction', defaultMessage: 'A2UI Quick Action' })}
>
<MessageSquare className="h-4 w-4" />
{!compact && (
<span className="hidden sm:inline">
{formatMessage({ id: 'toolbar.a2ui.button', defaultMessage: 'A2UI' })}
{formatMessage({ id: 'navigation.toolbar.a2ui.button', defaultMessage: 'A2UI' })}
</span>
)}
</Button>