Skip to content

fix: resume PDF and generation, one app shell everywhere, widget crashes - #3533

Merged
Priyanshu-byte-coder merged 2 commits into
mainfrom
fix/site-polish
Oct 18, 2026
Merged

Priyanshu-byte-coder merged 2 commits into
mainfrom
fix/site-polish

Conversation

@Priyanshu-byte-coder

Copy link
Copy Markdown
Owner

Resume

  • PDF: rebuilt as a real resume — name and contact header (from the GitHub profile), accent section rules, hanging-indent bullets, clickable repo links, pagination with page numbers, and text sanitised so AI output never renders as garbage glyphs.
  • Generation: only real generations count against the hourly limit (cached hits and failures used to burn it), a Regenerate button, fallback to the client's analysis if the cache write failed (was a 404), readable errors instead of raw JSON.
  • AI output: JSON wrapped in prose is parsed instead of silently falling back to templates; summary preambles stripped; enum names like AI_ML and +0/-0 lines no longer reach prompts or the UI.
  • Page: restores the cached analysis on load (GET /api/cv/analyze), compact steps, a single download bar.

Structure (stale headers)

  • Friends, Rooms and Project tutor moved under /dashboard with permanent redirects from the old URLs; duplicate /settings and orphan /profile-card removed.
  • Leaderboard, Compare and Year in Code render inside the app shell when signed in, so the sidebar never disappears.
  • Public header rebuilt to match the app (same font and buttons).

Fixes

  • Overview stat strip, coding insights, achievements, sponsors, CI/PR analytics no longer crash or print undefinedh / NaN% on partial API data (found by rendering every tab with empty payloads).
  • Streak-at-risk banner pointed at #streaks on Overview, which no longer exists — now links to Activity.
  • Public profile: one copy-link and one QR button, README badges only for the owner.
  • Rooms, QR modal and a few widgets now follow the theme instead of hard-coded grays.

Cleanup

19 unused components deleted; OpenAPI regenerated.

Verification

  • tsc, eslint, 2478 unit tests, next build all pass locally.
  • Every page rendered in light/dark and at 390px with the Playwright test session; no horizontal overflow, no internal links returning non-200.
  • Visual baselines will need regenerating (navbar and button changes).

…hes, dead code

Resume
- PDF rebuilt as a real resume: name/contact header, accent section rules,
  hanging-indent bullets, clickable links, pagination, WinAnsi-safe text
- Generation attaches the GitHub profile, only counts real generations
  against the rate limit, supports regenerate, falls back to the client's
  analysis when the cache write failed, and returns readable errors
- AI output parsing survives prose around JSON and summary preambles; no
  enum names (AI_ML) or zero stats leak into prompts or the UI
- Resume page restores a cached analysis, compact steps and download bar

Structure
- Friends, rooms, project tutor move under /dashboard (old URLs redirect);
  the duplicate /settings page and orphan /profile-card are removed
- Leaderboard, compare and Year in Code render inside the app shell when
  signed in; marketing header/footer are hidden around the shell
- Public header rebuilt to match the app (same font, buttons, no
  monospace nav or red sign-out pill)
- Shared Button is slimmer; legacy primary/secondary/surface classes match it

Fixes
- Overview stat strip, coding insights, achievements, sponsors and CI/PR
  analytics no longer crash or print "undefinedh"/"NaN%" on partial data
- Streak banner links to the Activity tab where the streak widget lives
- Public profile: one copy-link and one QR entry point, README badges only
  for the owner; settings profile link uses the current origin
- Rooms, QR modal, copy button and daily note use theme tokens

Cleanup: 19 unused components removed; OpenAPI regenerated.
@github-actions github-actions Bot added type:bug GSSoC type bonus: bug fix type:docs GSSoC type bonus: documentation (+5 pts) type:testing GSSoC type bonus: tests (+10 pts) labels Oct 18, 2026
@github-actions github-actions Bot added type:feature GSSoC type bonus: new feature type:design GSSoC type bonus: UI/design (+10 pts) type:performance GSSoC type bonus: performance (+15 pts) labels Oct 18, 2026
@Priyanshu-byte-coder
Priyanshu-byte-coder merged commit 61572b3 into main Oct 18, 2026
17 checks passed
@Priyanshu-byte-coder
Priyanshu-byte-coder deleted the fix/site-polish branch October 18, 2026 12:14
@github-actions

Copy link
Copy Markdown

🎉 Merged! Thanks for contributing to DevTrack.

If the project has been useful to you, a ⭐ star on the repo is the easiest way to support it — it helps DevTrack get discovered by more developers.

Keep an eye on open issues for your next contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug GSSoC type bonus: bug fix type:design GSSoC type bonus: UI/design (+10 pts) type:docs GSSoC type bonus: documentation (+5 pts) type:feature GSSoC type bonus: new feature type:performance GSSoC type bonus: performance (+15 pts) type:testing GSSoC type bonus: tests (+10 pts)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant