Repository navigation
🐛 Various Light Mode Fixes - #374
Merged
Merged
Conversation
MFA-X-AI
approved these changes
Feb 5, 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.
Description
This started out as a fix to background panning. But as more people tried out light mode, we found more edge cases, and they are fixed here too.
Background Panning
In #373 a small goodie was that we finally made the background move alongside everything else when you panned across the canvas. Unfortunately, the implementation seems to have only worked by accident.
This PR replaces that implementation with a more robust one that worked in all my test cases.
Xai.Xaibo.-.Jupyterlab.2025-02-03.13-26-30-1.mp4
Workflow Nodes
Sidebar Colors
Preview in Tool Tips
Context menu in Dialogs
Some semi-recent change made the right-click menu in dialogs unavailable. According to git the thing that makes it not available has been in place since early 2022. We assume that some recent bug fix made the event propagate to this place instead of being stopped early - and thereby not preventing the default behavior.
The fix in this PR simply explicitly allows the right-click on input and textarea elements by not calling the library handler that would disable the default behavior.
Pull Request Type
Type of Change
Tests
The tests cover all the cases in which the previous implementation may not have worked.
The outcome for all tests should be that the background should move alongside everything else.
1. Works on startup
**2. Works when opening a new Xircuits file **
**3. Works after moving nodes **
**4. Works side by side **
Tested on?