mirror of
https://github.com/stablyai/orca.git
synced 2026-10-20 16:03:20 +00:00
fix(mobile): clear native-chat composer optimistically at send time (#10226)
* fix(mobile): clear native-chat composer optimistically at send time Over relay the send RPC round trip is visible and a lost ack (or a relay/direct cutover) could strand the sent prompt in the composer forever: the unconfirmed-send deadline dropped its tracking entry, so a late transcript echo could never clear the draft. Clear the draft at send time and restore it only on a definite rejection. holdUnconfirmedSend now only manages the delivery-unconfirmed notice; it no longer touches drafts. * fix(mobile): isolate question answers from composer drafts
This commit is contained in:
@@ -5,7 +5,9 @@ const systemConfigPath = '/home/user/.codex/config.toml'
|
||||
|
||||
describe('getCodexConfigSyncWarning', () => {
|
||||
it('stays silent while syncing normally', () => {
|
||||
expect(getCodexConfigSyncWarning({ state: 'synced', reason: null, systemConfigPath })).toBeNull()
|
||||
expect(
|
||||
getCodexConfigSyncWarning({ state: 'synced', reason: null, systemConfigPath })
|
||||
).toBeNull()
|
||||
})
|
||||
|
||||
it('stays silent before the status has loaded', () => {
|
||||
|
||||
Reference in New Issue
Block a user