[REFACTOR][VISUALIZER] Refactor global variables to use ServerState class - #180
Merged
Merged
Conversation
- Add MANIFEST.in and package data configuration for static/template files - Improve README with separate CPU/GPU installation instructions - Add color-by-value mode with Viridis and Mono color schemes - Add interactive cube dragging in 3D visualizations - Add OrbitControls for better camera manipulation - Fix coordinate mapping issues in load/store visualizations - Add support for raw (unmasked) load/store operations - Update CDN imports to use esm.sh for better module resolution - Add auto-launch server on import for easier debugging - Expose operation data to window for debugging - Improve UI controls with better z-index and pointer event handling
…lass Replace global variables last_public_url and last_local_port with a ServerState class to improve code organization and avoid global state management issues.
Collaborator
Author
Collaborator
Author
|
@Jokeren Rebased. |
mark14wu
marked this pull request as ready for review
September 29, 2025 01:40
Jokeren
approved these changes
Sep 29, 2025
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.
Replace global variables last_public_url and last_local_port with a ServerState class to improve code organization and avoid global state management issues.