Skip to content

fix: remove debug logs, harden PDF API, fix effect deps, improve layer toggling perf - #10

Merged
cohm merged 1 commit into
mainfrom
copilot/code-review-usability-performance-issues
Apr 19, 2026
Merged

fix: remove debug logs, harden PDF API, fix effect deps, improve layer toggling perf#10
cohm merged 1 commit into
mainfrom
copilot/code-review-usability-performance-issues

Conversation

Copilot AI commented Apr 16, 2026

Copy link
Copy Markdown
Contributor
  • Fetch main and identify conflicting files
  • Resolve conflict in src/app/HomeClient.tsx (keep as unknown as ProgramConfig[] from our branch + new RawCourseEntry/RawEntry interfaces from main)
  • Merge commit created with two parents (HEAD + origin/main)
  • Push merged branch to remote

@vercel

vercel Bot commented Apr 16, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
program-visualization Ready Ready Preview, Comment Apr 19, 2026 9:36pm

…r toggling perf

- Remove 3 console.log calls from hot arrow-routing loops
- Fix main draw useEffect deps: remove `layers` (prevents full redraw on
  every toggle), add missing `cosmetics` (ensures colour update when program
  changes)
- Add .course-label to layer-toggle effect (was missing; labels lingered
  after hiding the Courses layer)
- Fix stale closure: add selectedOptionPerGroup to selectedOptionGroup effect
- PDF API: move browser.close() to finally, add 10 MB payload size guard,
  scrub raw error from client response, replace macOS-only Chrome path with
  cross-platform fallback list
- Remove unused OptionGroupModal.tsx
- Replace programsConfig as any with as unknown as ProgramConfig[]
- Fix metadata.description placeholder text in layout.tsx
- Fix 4x chromium-min -> chromium in README

Agent-Logs-Url: https://github.com/cohm/ProgramVisualization/sessions/25d680b9-5ff5-489b-8b19-99b255525776

Co-authored-by: cohm <7143813+cohm@users.noreply.github.com>
@cohm
cohm force-pushed the copilot/code-review-usability-performance-issues branch from 0e18449 to 21fd169 Compare April 19, 2026 21:35
@cohm
cohm merged commit 408dd39 into main Apr 19, 2026
3 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.

2 participants