Conversation
Member
btmonier
commented
Mar 23, 2026
- Adds overlay feature to GUI:
- Allows for the import of NumPy "path" files for both "predicted" and "observed" path types
- Add new features to image export:
- Modify title
- Modify legend types (presence, absence) for paths and cell values
- Modify image dimensions and scale
- Modify preexisting range parameters for bigger or smaller views
- General reorganization of UI layout to conserve screen space
BED and PS4G files would simultaneously autoplay if either one of the "play" buttons were pressed or spacebar press event was detected.
Determines if paths are loaded. If no paths are loaded, UI will update to *not* show path options.
These were not showing up in the current rendtion of the appication.
smm477
approved these changes
Mar 23, 2026
zrm22
reviewed
Mar 23, 2026
| {matrixData && !isLoading && !error && ( | ||
| <> | ||
| {topControlsVisible && ( | ||
| {topControlsVisible && (<> |
Contributor
There was a problem hiding this comment.
Just because I don't fully understand this. Why have the <>? Wouldn't that just be an empty HTML element?
Member
Author
There was a problem hiding this comment.
It's a commonly used React shorthand for Fragments. Instead of writing something like <React.Fragment>...</React.Fragment>, you can use <>...</>. In other words, this doesn't return an empty HTML element but is a grouping device which allows me to avoid pointless divs while still satisfying the "one parent" rule in JSX or in this app's case, TSX (https://docs.thcl.dev/react/jsx-one-parent).
More info here: https://react.dev/reference/react/Fragment
zrm22
approved these changes
Mar 23, 2026
aberthel
approved these changes
Mar 23, 2026
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.