feat(desktop): add sidebar categories and manual channel ordering - #2947
Open
NYTEMODEONLY wants to merge 4 commits into
Open
feat(desktop): add sidebar categories and manual channel ordering#2947NYTEMODEONLY wants to merge 4 commits into
NYTEMODEONLY wants to merge 4 commits into
Conversation
Co-authored-by: nytemodeonly <contact@nytemode.com> Signed-off-by: nytemodeonly <contact@nytemode.com>
Co-authored-by: nytemodeonly <contact@nytemode.com> Signed-off-by: nytemodeonly <contact@nytemode.com>
Co-authored-by: nytemodeonly <contact@nytemode.com> Signed-off-by: nytemodeonly <contact@nytemode.com>
NYTEMODEONLY
marked this pull request as ready for review
July 26, 2026 16:24
Co-authored-by: nytemodeonly <contact@nytemode.com> Signed-off-by: nytemodeonly <contact@nytemode.com>
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.
Summary
Manualalongside A-Z and Recent for exact channel orderingchannel-manual-orderNIP-78 documentcontent-visibility: autoon transformed sortable rowsWhy
Buzz already supported encrypted custom sections and section reordering, but category creation was buried in a channel context menu and exact channel order was not persisted. This extends the existing model rather than adding a competing category subsystem.
Behavior
Persistence and conflict handling
channel-sectionsdocument.channel-manual-orderdocument so older clients cannot erase category membership or manual order.Canary acceptance regressions fixed
Startup sync race
Creating a category before the initial NIP-78 fetch completed could show it briefly, then silently remove it. The older fetched snapshot overwrote local state and cancelled the pending debounced publish. The second commit adds the same pending-local guard used by manual-order sync and covers idle versus pending-local remote application.
Invisible rows during drag
In the installed macOS Canary, an ungrouped draggable row could remain in the DOM and accessibility tree but stop painting while dnd-kit transformed it. The affected row combined
content-visibility: autowith sortable transforms; switching sort modes or cancelling the drag forced a repaint. The third commit removes that paint-skipping utility only from draggable channel rows, while retaining it for non-draggable rows. The browser regression pinscontentVisibility === visiblebefore and after a drop and checks that every channel remains visible.Always-visible drag handles
The drag grip previously painted on every draggable channel row, adding persistent visual noise. The follow-up keeps the control mounted and tabbable, hides it with opacity at rest, and reveals it for row hover, focus-within, focus-visible, and active drag. A hover-capability media query leaves the control visible on non-hover/touch devices. The regression covers at-rest opacity, row-to-row hover transfer, keyboard focus and pickup, cancellation, pointer reorder, persistence, and row paint visibility.
Validation
Focused upstream branch at
2097ac40f88967d2bf3ed685f5d51a54ebd1561e:desktop/src-tauri/src/managed_agents/runtime.rslimit (2,220 lines versus 2,216); this PR does not touch that fileExact Canary integration at
c4319dc4d06b6169a6f014c65f306a6c93ba2d9b:xyz.block.buzz.app.dev.canary20ccbcb7836ff2eb4c81cd4b3d60cadc3e853c7b68c7cee858a0cfbf839cfcfb