Repository navigation
Commit 70f4389
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 b40b65f commit 70f4389
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 | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
| 295 | + | |
294 | 296 | | |
295 | | - | |
| 297 | + | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| |||
347 | 349 | | |
348 | 350 | | |
349 | 351 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | 352 | | |
354 | 353 | | |
355 | 354 | | |
| 355 | + | |
| 356 | + | |
356 | 357 | | |
357 | 358 | | |
358 | 359 | | |
| |||
| 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