Skip to content

Polish Sources history loading, navigation, and thumbnails - #103

Merged
devhims merged 4 commits into
mainfrom
fix/sources-history-presentation
Sep 27, 2026
Merged

devhims merged 4 commits into
mainfrom
fix/sources-history-presentation

Conversation

@devhims

@devhims devhims commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Problem / Motivation

Recent sources displays plain loading text while the rest of the dashboard uses skeletons. Clicking Sources in the sidebar also leaves the last inspector open, and video links look like search queries in the recent list.

What changed

History loading now uses skeleton rows with the dashboard's existing bars and pulse styling. Cached entries stay visible during refresh. Sources and Agent now share the same text-only empty history presentation, with matching typography and spacing. Sources directs new users to search for a topic or paste a link above. Session search appears only once sessions exist. It remains available when a search finds no matches, so users can revise their query.

Clicking Sources opens the input and recent list. It clears the displayed query or inspector and cancels its outstanding browser request. Ordinary navigation away from Sources still allows background requests to finish. Modified clicks keep their usual browser behavior.

Inspected links display thumbnails from saved metadata. Search entries keep their search icon. Both occupy matching 64-by-36-pixel tiles. Missing images use a YouTube fallback.

Existing history entries resolve their thumbnail from the shared asset reference on their first list read. The user DO caches only the URL reference, without copying image bytes or changing history order.

Tests

Both builds passed. All 40 dashboard browser cases passed, including desktop navigation and mobile light/dark layout checks. Nine user DO integration tests, 17 API/schema tests, and 81 web tests passed. The empty-state refinement also passed the web production build and all 11 focused Sources browser cases, including matching empty-state styles and mobile layout. The session-search refinement passed the web build and three browser cases covering empty accounts and searches with no matches. Documentation and diff checks passed.

Compatibility and deployment

Deploy platform and web changes together. Existing history remains usable. No bindings or schema migration are required. Preview and deployment verification remain pending.

@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
video2ctx-web Ready Ready Preview Sep 27, 2026 8:14pm UTC

@devhims
devhims merged commit 5ee5cfe into main Sep 27, 2026
10 checks passed
@devhims
devhims deleted the fix/sources-history-presentation branch September 27, 2026 20:20

This branch was successfully deployed

1 active deployment
Preview — 961389f9 Deployed Sep 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant