Repository navigation
Commit 1f49c48
fix(mobile): draft routes return to the picker only for their own missing draft
- The provider now names the route draft it found missing, and a draft
screen returns to the picker only when that is its own draft. A covered
draft route no longer reads the topmost route's missing state.
- The picker-return effect again clears the return flag once the requested
project arrives, as on main.
- composerDraftsLoadedAtom is a plain read of hydration state. Hydration
starts at app start with the attachment upload worker, and a failed load
is retried by the next ensureComposerDraftsLoaded caller (the draft route's
useComposerDraft mount, draft edits, outbox delivery).
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent 74420b4 commit 1f49c48
3 files changed
Lines changed: 22 additions & 18 deletions
File tree
- apps/mobile/src
- features/threads
- state
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| 279 | + | |
| 280 | + | |
279 | 281 | | |
280 | | - | |
| 282 | + | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| |||
369 | 371 | | |
370 | 372 | | |
371 | 373 | | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | 374 | | |
376 | 375 | | |
377 | 376 | | |
| 377 | + | |
| 378 | + | |
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | 167 | | |
169 | 168 | | |
170 | | - | |
171 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
172 | 175 | | |
173 | 176 | | |
174 | 177 | | |
| |||
833 | 836 | | |
834 | 837 | | |
835 | 838 | | |
836 | | - | |
| 839 | + | |
| 840 | + | |
837 | 841 | | |
838 | 842 | | |
839 | 843 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
475 | 480 | | |
476 | | - | |
| 481 | + | |
477 | 482 | | |
478 | 483 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | 484 | | |
486 | 485 | | |
487 | 486 | | |
| |||
518 | 517 | | |
519 | 518 | | |
520 | 519 | | |
521 | | - | |
| 520 | + | |
522 | 521 | | |
523 | 522 | | |
524 | 523 | | |
| |||
1051 | 1050 | | |
1052 | 1051 | | |
1053 | 1052 | | |
1054 | | - | |
| 1053 | + | |
1055 | 1054 | | |
1056 | 1055 | | |
1057 | 1056 | | |
| |||
0 commit comments