style(ui): improve HistoryList loading/empty states and add button tooltips

- Replace plain 'Loading...' text in HistoryList with animated skeleton
  placeholder rows that match the shape of real history items
- Replace plain 'No history yet' text with a centred History icon +
  label for a more polished empty state
- Add aria-label and title to the Back button in HistoryList header
- Add aria-label and title to History and Settings buttons in main header
- Add aria-label and title to Send and Stop task buttons in footer
This commit is contained in:
akinshaywai
2026-04-16 00:21:04 +01:00
committed by Simon
parent e9eaf44bdd
commit 90e1c297f4
2 changed files with 23 additions and 6 deletions

View File

@@ -147,6 +147,8 @@ export default function App() {
size="icon-sm"
onClick={() => setView({ name: 'history' })}
className="cursor-pointer"
aria-label="History"
title="History"
>
<History className="size-3.5" />
</Button>
@@ -155,6 +157,8 @@ export default function App() {
size="icon-sm"
onClick={() => setView({ name: 'config' })}
className="cursor-pointer"
aria-label="Settings"
title="Settings"
>
<Settings className="size-3.5" />
</Button>
@@ -205,6 +209,8 @@ export default function App() {
variant="destructive"
onClick={handleStop}
className="size-7"
aria-label="Stop task"
title="Stop task"
>
<Square className="size-3" />
</InputGroupButton>
@@ -215,6 +221,8 @@ export default function App() {
onClick={() => handleSubmit()}
disabled={!inputValue.trim()}
className="size-7 cursor-pointer"
aria-label="Send"
title="Send"
>
<Send className="size-3" />
</InputGroupButton>