Repository navigation
Keep Discord overview beside server channels on wide windows - #26
Merged
Merged
Conversation
Show the Discord home beside the selected server on wide windows. Keep its list state and updates alive, and return to the home when opening a DM or message requests. Account for the column in resizing, menus and conversation widths, with a narrow-window fallback and design docs. Co-Authored-By: GPT-6 <noreply@openai.com>
itz4blitz
approved these changes
Oct 17, 2026
itz4blitz
left a comment
Owner
There was a problem hiding this comment.
On a wide window the Discord home stays in a fixed 280 pt column and the selected server's channels use the existing sidebar. The home is kept by treating a Discord server as the same network in switch_network, so scroll, folds, and the All/Unread filter survive, and load_home keeps refreshing it. A DM or message requests returns to the Discord home before opening. The column is omitted when the rail, both lists, a 392 pt conversation, and a visible right pane do not fit, and the resize handle measures the channels column from the overview's right edge. macOS, Linux, and Windows are green on 7273953.
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.
Opening a Discord server previously replaced the overview, requiring back navigation to switch servers or reach DMs. On wide windows, retain the Discord overview in a 280 pt column beside the selected server's channels and the conversation.
Keep the overview's scroll position, folders, DM expansion, All/Unread filter, and live updates. Switching servers replaces only the channels column and highlights the selected server; choosing a DM hides the channels column and opens the conversation. Message requests return to the home before opening their list.
Show the extra column only when both sidebars, a 392 pt conversation, and any visible right pane fit. Narrow windows retain the existing navigation. Adjust resizing, menu anchors, preview widths, conversation sizing, and visible-row watches for the additional column. Other networks retain their layout. Includes design documentation and a layout regression covering thresholds, hidden sidebars, other modes, and right-pane space.
Based directly on current main, including the newly merged sidebar-cache fix. Independent of #23.
Validation:
git diff --checkpasses.