fix: remove debug logs, harden PDF API, fix effect deps, improve layer toggling perf - #10
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Copilot created this pull request from a session on behalf of
cohm
April 16, 2026 23:02
View session
cohm
marked this pull request as ready for review
April 17, 2026 07:27
…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
force-pushed
the
copilot/code-review-usability-performance-issues
branch
from
April 19, 2026 21:35
0e18449 to
21fd169
Compare
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.
src/app/HomeClient.tsx(keepas unknown as ProgramConfig[]from our branch + newRawCourseEntry/RawEntryinterfaces from main)