Harden Ask the Smol mobile UX - #153
Merged
tacticalnoot merged 1 commit intoMay 30, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
src/components/labs/AskTheSmolLab.svelteinto a mobile-first single-column flow with a compact header and status badge, a full-width search, a collapsible selector, a compact selected-Smol summary, and a chat-first composer.Show moreaffordance to incrementally render additional matches.min-width: 0,overflow-wrap: anywhere, andsvh-bounded scrolling.<details>panel with bounded height and contained JSON/pre blocks that scroll internally, and added safe-area/overflow CSS to prevent horizontal scrolling.labs/experiments/ask-the-smol/experiment.ymland updateddocs/labs/ASK_THE_SMOL.mdto document the mobile behavior and verification steps.Testing
pnpm check, which failed due to unrelated pre-existing TypeScript errors in other components and not due to the Ask the Smol changes. (expected repository-wide noise)pnpm build, which completed successfully with existing Vite/Astro warnings about large chunks and third-party module directives. (passed)pnpm test, which completed successfully (tests passed: 40, skipped: 1). (passed)HTTP/1.1 200 OKfor/labs/ask-the-smolusingcurl -I; the page served successfully. (passed)npx playwright install chromiumto run viewport checks, but browser installation failed due to CDN download blocked with403 Domain forbidden, so automated Playwright screenshots could not be produced. (blocked)git diff --checkand whitespace checks to ensure no diff issues. (passed)Codex Task