Skip to content

fix: Windows path handling and show project basenames in top projects#17

Merged
Junaid2005 merged 1 commit into
mainfrom
fix/windows-path-support
Apr 7, 2026
Merged

fix: Windows path handling and show project basenames in top projects#17
Junaid2005 merged 1 commit into
mainfrom
fix/windows-path-support

Conversation

@Junaid2005

Copy link
Copy Markdown
Owner

Summary

  • Detect Windows (\ ) vs Unix (/) paths by separator when slugifying — fixes session slug matching for Windows paths like C:\\Users\\...
  • Show just the project folder basename instead of full path, all platforms
  • Expand extractUsername regex to handle C:\\Users\\username\\... paths

Closes #9

@Junaid2005
Junaid2005 requested a review from AbdulAaqib as a code owner April 4, 2026 12:53
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ccrewind Ready Ready Preview, Comment Apr 4, 2026 1:09pm

- Always replace backslash, forward slash and colon when slugifying paths
  so Windows paths match session folder slugs regardless of separator style
- Expand extractUsername regex to handle C:\Users\username\... paths
- Show just the project folder basename instead of full path, all platforms

Closes #9
@Junaid2005
Junaid2005 force-pushed the fix/windows-path-support branch from 440bce9 to fe289a9 Compare April 4, 2026 13:08
@Junaid2005
Junaid2005 merged commit 2df964e into main Apr 7, 2026
5 checks passed
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.

investigate: Top Projects may silently break for Windows users (path separator mismatch)

1 participant