Repository navigation
Remove emoji branding and improve collapsed sidebar proportions - #8
Merged
Merged
Conversation
This was referenced Oct 4, 2026
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.
Two focused commits, as requested: branding consistency first, then sidebar geometry.
1.
Remove emoji branding from the applicationThe app already had a coherent identity — a rounded tile carrying a Lucide
graduation-capon thebrand gradient, used by the sidebar and both auth breakpoints. The outliers were brought in line
rather than replaced with a new mark.
index.html:18<text>🎓</text>/favicon.svgCreateAssessmentcards📄 🧠 📝FileText,Brain,ListChecksAttemptAssessmentwarning⚠AlertCircle, already in that file's vocabularyThemeToggletooltipTheme: Dark → Lightaria-labelbeside itThe favicon is the existing brand treatment, not a new logo.
public/favicon.svgbakes the twostops of
--gradient-accent(hsl(210 90% 65%)→hsl(220 80% 55%)) and uses the exact Lucidegraduation-cappath data extracted from the installedlucide-reactpackage, stroked in--primary-foreground— the same relationship the sidebar draws.Three distinct icons rather than one generic glyph, so the cards stay semantically distinct.
A bug the validation caught: the favicon's XML comment originally referenced
--gradient-accent,and
--is illegal inside an XML comment. Browsers are often lenient, but a strict SVG parserrejects the file outright — which would have shipped a broken favicon to production. Rewritten, and
now verified as well-formed XML and present in
dist/.Tests — new
src/test/branding.test.tsx(9 tests): the three cards render headings with distinctLucide icons and no emoji; the favicon carries the graduation-cap path and both gradient stops; the
sidebar and both auth breakpoints use the same mark; and a repository-wide scan asserting no
\p{Extended_Pictographic}anywhere undersrc/or inindex.html. The scan reads source, notDOM, because emoji usually hide in states no test renders.
Backend logs and archived documentation are deliberately untouched — not part of the product.
2.
Improve collapsed sidebar proportionsYour diagnosis was exact, and the arithmetic is worse than "a little tight":
So the mark was not merely cramped, it was being squeezed by 20px. Fix:
Expanded state is byte-for-byte unchanged (
px-2,h-9 w-9,rounded-md). Navigation is untouched:collapsed menu buttons stay
!size-8(32px) and remain centred — the assertion pins that, so wideningthe rail cannot quietly resize the nav.
SIDEBAR_WIDTH(16rem) andSIDEBAR_WIDTH_MOBILE(18rem) areuntouched.
Tests — new
src/test/sidebarProportions.test.ts(8 tests) pinning the rail at4rem(andasserting it is not
3rem), the expanded/mobile widths unchanged, nav buttons still32px, thecollapsed block centring,
shrink-0on the tile, and the fit arithmetic itself so a future change toeither number fails a test rather than an eyeball.
Note on the Llama copy
Requirement 6 was already satisfied by #7 (
ffe7353): both UI strings now read "AI powered by Groq"and "Questions crafted by Groq-powered AI", with a source scan preventing model names returning. The
repo-wide emoji scan in this PR covers that text too.
Verification
npm run typechecknpm run buildnpm run lintsrc/orindex.htmlWorth a visual check of the collapsed rail before merging — the tests pin the geometry contract, not
the rendered pixel.