Add terminal preview panel, fix layout issues, add favicon - #10
Open
utsengar wants to merge 1 commit into
Open
Conversation
Adds a TerminalWorkspace type + TerminalPreview component: a small, terminal-styled reference panel for coding-challenge patterns that shows the run/test commands a candidate should use, without CodeFlow ever needing to know what language or toolchain a problem uses. Also fixes several UI issues found while building this: - Coding-challenge patterns no longer show a redundant internal instructions overlay when the sidebar already displays it permanently. - Homepage challenge grid had no horizontal padding, so cards touched the viewport edge below ~1280px; added responsive padding and made the intro cards stack on narrow screens. - Long paragraphs in the instructions sidebar were getting clipped instead of wrapping, caused by Radix ScrollArea's internal `display: table` content wrapper sizing to unwrapped intrinsic width; added a targeted override. - Instructions tab bar had no horizontal padding, misaligning it against the content below and the header above. - Challenge cards had inconsistent button widths across cards with different amounts of content; cards now stretch to fill their grid cell and footers align consistently. Adds a proper favicon (SVG primary + PNG/ICO fallbacks + manifest) so the browser tab has real branding instead of a broken default icon reference. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Summary
TerminalWorkspacetype +TerminalPreviewcomponent: a small, terminal-styled reference panel for coding-challenge patterns that shows the run/test commands a candidate should use. CodeFlow itself never knows what language or toolchain a problem uses — it just displays whatever commands the problem declares (e.g../run.sh,./test.sh). This is a static, copyable reference, not a live shell.favicon.icothat didn't exist.UI fixes
ScrollAreawraps its children in an internaldisplay: tablediv (to measure scroll size) that sizes to unwrapped intrinsic width instead of the space actually available. Added a targeted CSS override to force it back to a normal block box.Test plan
tsc --noEmitpasses cleannpm start, confirm the homepage grid has consistent padding at various viewport widths🤖 Generated with Claude Code