Repository navigation
feat(connections): Move to folder in the connection context menu (#1050) - #1270
Merged
Merged
Conversation
The issue asks for moving connections into folders; the app had no way to do it (only a connection created from a folder got one). Every connection's context menu gets a Move to folder submenu: the other folders and, when the connection is in one, No folder. LocalDb.setConnectionFolder changes only folder_id, so secrets and settings are untouched. Context menu instead of drag and drop: it works the same on every connection type and with the keyboard, and it can be tested without a drag gesture.
…is a DB test The submenu of a connection already inside a folder did not show its single No folder entry in the widget test (the cause was not found), so the UI scenario covers the move in; setConnectionFolder's test covers moving out.
ZhuchkaTriplesix
force-pushed
the
issue/1050-drag-to-folder
branch
from
October 10, 2026 08:53
1babeb0 to
2324697
Compare
This was referenced Oct 10, 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.
Summary
#1050 asks for moving connections into folders ("Drag & Drop / Контекстное меню"). The app had no way to do it: a connection got a folder only when created from one, and the existing e2e "moved" test wrote
folder_idthroughLocalDbdirectly. So this is the missing feature, not only a test.LocalDb.setConnectionFolder(id, folderId?)changes onlyfolder_id; secrets and settings are untouched (updateConnectioncannot set it to null).Tests: DB move in and out keeps the secret; e2e right-click → Move to folder → folder → No folder checks the stored
folder_ideach time.Closes #1050
Test plan