You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The signal results boxes previously only occupied 50% of the screen width, making navigation cumbersome. Now, they utilize 100% of the available browser width, allowing users to view more boxes at a glance.
Thanks for tracking this down! The width issue is real — but the root cause is in applyViewState() in sensor-dashboard.js: it hides #output (the feed element) when the dashboard is active, but leaves its flex parent .pdir-feed-col visible in the layout. Since both .sdb-view and .pdir-feed-col have flex: 1, they split the space 50/50.
The CSS fix works, but it's a workaround — if any content in the feed column ever becomes visible alongside the dashboard, the 100% width guarantee would break.
We went with a JS fix instead: hide/restore .pdir-feed-col itself in applyViewState(). That way .sdb-view naturally fills the space with its original flex: 1, and the fix is robust to future changes in the column's content.
Commit a0be7d5 on main has the fix. Feel free to close this PR or rebase onto it — happy either way!
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
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.
The signal results boxes previously only occupied 50% of the screen width, making navigation cumbersome. Now, they utilize 100% of the available browser width, allowing users to view more boxes at a glance.
Original behavior:

New behavior:
