Skip to content

Surface Resume at Finder root, group everything else under Assets - #6

Open
radroid wants to merge 1 commit into
refactor/reduce-locfrom
claude/reorganize-portfolio-structure-ARXUE
Open

Surface Resume at Finder root, group everything else under Assets#6
radroid wants to merge 1 commit into
refactor/reduce-locfrom
claude/reorganize-portfolio-structure-ARXUE

Conversation

@radroid

@radroid radroid commented Apr 29, 2026

Copy link
Copy Markdown
Owner

Summary

Reorganize the Finder app's root listing so visitors immediately see the Resume PDF, with everything else tucked behind a single Assets folder.

Before: root showed 3 folders (Applications, Documents, Fonts) intermixed with 7 loose files (Apple Logo, Mac Icon, Curly OS Logo, Corner Logo, Avatar, World Map, Startup Sound) — 10 items competing for attention. The Resume was buried one level deep inside Documents/.

After: root has exactly 2 items — Resume (PDF, top-left of the icon grid) and Assets/. The old Documents/ wrapper folder is dropped; Applications/, Fonts/, and the previously-loose root files all move inside Assets/.

What changed

app/components/apps/finder.tsx:

  1. FILE_TREE restructured. Resume is now a root-level file at index 0; everything else lives under a new Assets folder. No new sub-groupings invented inside Assets — the existing Applications and Fonts folders are preserved verbatim.
  2. Navigation generalized to N levels. The previous topFolder = FILE_TREE.find(... pathStack[0]) only supported one level of folder depth. Replaced with a tree walk that consumes each id in pathStack, so Assets → Applications (3 levels deep) works. Falls back gracefully if pathStack ever contains an unknown id (truncates rather than crashing). handleOpen and handleBack are unchanged — their stack semantics already match.

No other files touched. No new dependencies. No new components. ~38 insertions / 31 deletions in a single file.

Out of scope

  • Cover letter. No cover letter file exists in the repo (DESKTOP-PLAN.md explicitly noted "ship with just the resume for now"). Skipped per the requesting user's preference.
  • Renaming ResumeCV. Cosmetic only; the existing label matches the source filename (Raj_Dholakia_Resume_FullStack.pdf).
  • Further sub-grouping inside Assets (e.g., a Logos/ folder for the four logo SVGs). Kept the change literal to the user's ask of "all the other files and folders" going under Assets.

Test plan

After bun run dev, in a browser:

  • Boot through to the desktop, double-click the Finder icon. Root grid shows exactly 2 items: Resume (top-left) and Assets. Status bar reads 2 items, 72K in disk, 400K available. Breadcrumb is Macintosh HD. Back button is disabled.
  • Double-click Resume → 500×450 preview window opens with the PDF in an <iframe>. Right-click → Download saves the file.
  • Close preview, double-click Assets → breadcrumb becomes Macintosh HD > Assets, Back enables, grid shows 9 items (Applications, Fonts, Apple Logo, Mac Icon, Curly OS Logo, Corner Logo, Avatar, World Map, Startup Sound).
  • Double-click Applications → breadcrumb Macintosh HD > Assets > Applications, 9 items (the app SVGs). Confirms 3-level navigation works.
  • Click Back twice → returns to Assets (9 items) → root (2 items, Back disabled). Selection clears at each step.
  • Inside Assets, double-click Avatar / World Map / Startup Sound — each opens its appropriate preview (image / image / audio).
  • bunx tsc --noEmit reports no new errors.

Stacking

Targets refactor/reduce-loc (open PR #4) since that's where the Finder lives. If/when #4 merges to main, this PR's base auto-retargets.

https://claude.ai/code/session_01M9ddciS17Eq3bLLyAsv7sB


Generated by Claude Code

Visitors opening Finder now see the Resume PDF as the first item
(top-left of the icon grid) alongside a single Assets folder
containing the existing Applications and Fonts sub-folders plus
the loose root-level files. Generalizes the Finder's navigation
to walk pathStack arbitrarily deep so Assets can hold nested
folders.

https://claude.ai/code/session_01M9ddciS17Eq3bLLyAsv7sB
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
raj-portfolio f0e07f5 Commit Preview URL

Branch Preview URL
Apr 29 2026, 04:20 PM

@coderabbitai

coderabbitai Bot commented Apr 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 3f850bad-f313-4791-99bd-848ce1d2d2d9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/reorganize-portfolio-structure-ARXUE

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

2 participants