mirror of
https://github.com/stablyai/orca.git
synced 2026-09-30 00:03:15 +00:00
Align worktree host labels across desktop and mobile (#18237)
* refactor: align worktree host labels across clients * fix(mobile): expose safe host display labels * fix(mobile): preserve legacy mixed-host labels --------- Co-authored-by: Merge Sim <sim@local>
This commit is contained in:
co-authored by
Merge Sim
parent
074a2366bf
commit
7f8eb90ac3
@@ -23,6 +23,9 @@ describe('OrcaRuntimeService', () => {
|
||||
...store,
|
||||
getSettings: () => ({
|
||||
...store.getSettings(),
|
||||
hostSettingOverrides: {
|
||||
'ssh:target-1': { displayLabel: 'Build host', defaultWorktreeLocation: '/srv/worktrees' }
|
||||
},
|
||||
experimentalNewWorktreeCardStyle: true,
|
||||
compactWorktreeCards: true,
|
||||
minimaxGroupId: 'group-42',
|
||||
@@ -39,6 +42,9 @@ describe('OrcaRuntimeService', () => {
|
||||
minimaxUsageModels: 'general,abab6.5'
|
||||
})
|
||||
expect(runtime.getClientSettings()).not.toHaveProperty('terminalQuickCommands')
|
||||
expect(runtime.getClientSettings().hostSettingOverrides).toEqual({
|
||||
'ssh:target-1': { displayLabel: 'Build host' }
|
||||
})
|
||||
expect(runtime.getClientTerminalQuickCommands()).toEqual(terminalQuickCommands)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user