Problem statement
When Dockhand has multiple environments configured, the environment shown by default on login/page load is determined by alphabetical sort order — but the sort is case-sensitive (ASCII order), meaning uppercase letters sort before lowercase ones. This causes environments starting with uppercase letters (e.g. Remote-Host) to always appear before environments starting with lowercase letters (e.g. local), regardless of what the user would consider "first" alphabetically.
There is also no way to explicitly configure which environment should be selected by default after login.
Proposed solution
Two complementary improvements:
-
Case-insensitive sort order for environments throughout the UI (environment selector, containers page, stacks page). Environments named local and Remote-Host should sort as if the names were lowercased, so local comes before Remote-Host.
-
Configurable default environment: Add a "Default environment" toggle in Settings → Environments → [Edit environment] → General that marks one environment as the one to pre-select on page load. This gives users explicit control independent of sort order.
Alternatives considered
- Rename environments so the main one sorts first under the current case-sensitive scheme (e.g. prefix with
_ or 0). Workaround, not a solution.
- Accept the current behavior and manually switch environments after every login.
Additional context
No response
Problem statement
When Dockhand has multiple environments configured, the environment shown by default on login/page load is determined by alphabetical sort order — but the sort is case-sensitive (ASCII order), meaning uppercase letters sort before lowercase ones. This causes environments starting with uppercase letters (e.g.
Remote-Host) to always appear before environments starting with lowercase letters (e.g.local), regardless of what the user would consider "first" alphabetically.There is also no way to explicitly configure which environment should be selected by default after login.
Proposed solution
Two complementary improvements:
Case-insensitive sort order for environments throughout the UI (environment selector, containers page, stacks page). Environments named
localandRemote-Hostshould sort as if the names were lowercased, solocalcomes beforeRemote-Host.Configurable default environment: Add a "Default environment" toggle in
Settings → Environments → [Edit environment] → Generalthat marks one environment as the one to pre-select on page load. This gives users explicit control independent of sort order.Alternatives considered
_or0). Workaround, not a solution.Additional context
No response