Repository navigation
feat(desktop): optional directory for the desktop app's own files - #3
Open
colonelpanic8 wants to merge 1 commit into
Open
colonelpanic8 wants to merge 1 commit into
colonelpanic8 wants to merge 1 commit into
Conversation
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
October 14, 2026 22:43
45e1e62 to
e1023f8
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
October 16, 2026 17:45
37bf6c8 to
e50ec6d
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
October 16, 2026 17:45
e1023f8 to
a333335
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
October 18, 2026 17:16
e50ec6d to
b883fa9
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
October 18, 2026 17:16
a333335 to
b735eb1
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
October 19, 2026 03:14
b883fa9 to
a690378
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
October 19, 2026 03:14
b735eb1 to
70d8455
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
October 20, 2026 19:07
a690378 to
984a34f
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
October 20, 2026 19:07
70d8455 to
8ee8c74
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
October 26, 2026 04:03
4b93200 to
4e14a4d
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
October 26, 2026 20:31
a98e25c to
e792e49
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
October 26, 2026 20:31
4e14a4d to
fa5b5b2
Compare
Thread transfer impact
This comment will update automatically after the next completed run. |
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
November 7, 2026 20:43
b6b8afc to
69632cc
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
November 7, 2026 20:43
095c1ef to
d97b241
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
November 22, 2026 21:38
9c5bdcc to
d89e564
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
2 times, most recently
from
November 22, 2026 22:04
84ce464 to
f8b33e5
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
November 22, 2026 22:04
d89e564 to
e475a7c
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
November 25, 2026 01:38
f8b33e5 to
5f4d6d9
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
November 25, 2026 01:38
e475a7c to
25bc5c9
Compare
Original topic head: 9c5bdcc feat(desktop): optional directory for the desktop client's own files fix(desktop): expand ~ and resolve relative client directories fix(desktop): restore scale from the selected client storage directory
colonelpanic8
force-pushed
the
t3code/main/desktop-window-state
branch
from
November 30, 2026 06:12
5f4d6d9 to
274a222
Compare
colonelpanic8
force-pushed
the
t3code/main/desktop-client-location
branch
from
November 30, 2026 06:12
25bc5c9 to
c9ac114
Compare
This branch has not been deployed
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.
Stacked on #2. Implements step 2 of pingdotgg#19591.
Problem
The desktop app keeps its own files in the server's state directory (
<T3 home>/userdata), even when it only connects to remote environments. There is no way to put them somewhere else without moving the server's files too.Change
--client-dir=<path>orT3CODE_CLIENT_DIRpicks a directory for the desktop app's own files:desktop-settings.jsonclient-settings.jsondesktop-window-state.json(from fix(desktop): keep window bounds out of desktop-settings.json #2)connection-catalog.jsonsaved-environments.json, read during connection migrationThe flag wins over the environment variable.
~and relative paths are expanded. With neither set, every path is the same as before. Nothing is migrated automatically.One resolver,
resolveDesktopClientPathsinapps/desktop/src/app/DesktopStatePaths.ts, is used both before Electron is ready and after. The early read ofdesktop-settings.json, which selects the Linux password store, cannot disagree with the settings service.Not moved by this PR: the server's files, Electron's profile and caches, CLI installation artifacts, and
clerk-tokens.json. The docs say so.If
--client-diris passed with a space instead of=, Chromium gives it an empty value. The app logs a warning and uses the default location.Verification
T3CODE_HOMEandT3CODE_CLIENT_DIRpointing at different temp roots, the real settings, window-state, and catalog stores write only to the client dir, and the server home stays empty. The early password-store read uses the samedesktop-settings.json.~expansion, relative paths, and the unset case.vp test run src/app src/window src/settingspasses, 307 tests.tsc-rs --noEmit,vp lint, andvp fmt --checkpass forapps/desktop.🤖 Generated with Claude Code