Timothy Laurent
bfbdc4b5d9
fix(FN-001): fix stale goal and unable to type in Plan Mission With AI modal ( #36 )
...
Split the combined useEffect that handled both auto-start and
persisted-goal restoration into two separate effects:
- Goal restoration: depends only on [isOpen], runs once on modal open
- Auto-start: keeps handleStartInterview dep for initialGoalProp flow
Previously the single effect depended on handleStartInterview, which
recreates on every missionGoal change. Every keystroke re-triggered
the effect, which read the stale persisted value from localStorage
and overwrote user input — making the textarea uneditable and showing
stale data from the last planned mission.
Co-authored-by: AI <ai@runfusion.ai >
Co-authored-by: Orca <help@stably.ai >
2026-05-04 21:32:41 -07:00
..
2026-04-29 14:23:58 -07:00
2026-04-28 14:25:55 -07:00
2026-05-02 22:33:48 -07:00
2026-04-30 18:28:01 -07:00
2026-04-27 19:59:52 -07:00
2026-05-04 10:38:20 -07:00
2026-04-24 19:39:20 -07:00
2026-04-24 19:39:20 -07:00
2026-05-04 07:26:11 -07:00
2026-05-02 02:07:12 -07:00
2026-04-30 21:20:56 -07:00
2026-04-28 18:21:17 -07:00
2026-04-27 19:59:52 -07:00
2026-05-04 13:17:57 -07:00
2026-05-04 13:17:57 -07:00
2026-04-25 00:07:19 -07:00
2026-05-04 09:20:07 -07:00
2026-05-02 07:59:06 -07:00
2026-04-25 01:45:29 -07:00
2026-04-30 23:24:29 -07:00
2026-04-27 12:45:53 -07:00
2026-05-04 07:05:16 -07:00
2026-04-29 09:46:16 -07:00
2026-05-04 09:51:54 -07:00
2026-05-04 04:09:28 -07:00
2026-05-04 09:51:54 -07:00
2026-05-02 00:37:57 -07:00
2026-05-04 09:51:54 -07:00
2026-04-25 17:44:55 -07:00
2026-04-25 19:35:47 -07:00
2026-04-29 20:15:05 -07:00
2026-04-30 05:14:03 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 11:28:33 -07:00
2026-05-03 07:47:45 -07:00
2026-05-03 14:10:11 -07:00
2026-05-03 07:47:45 -07:00
2026-05-02 11:25:08 -07:00
2026-04-25 10:50:32 -07:00
2026-05-01 08:56:10 -07:00
2026-04-27 19:59:52 -07:00
2026-04-29 19:09:55 -07:00
2026-04-24 19:39:20 -07:00
2026-04-28 16:20:24 -07:00
2026-05-03 07:57:52 -07:00
2026-05-04 09:20:07 -07:00
2026-04-29 00:09:39 -07:00
2026-05-03 10:02:17 -07:00
2026-05-04 07:00:39 -07:00
2026-05-04 10:18:38 -07:00
2026-04-27 02:24:21 -07:00
2026-04-28 19:20:10 -07:00
2026-04-27 19:59:52 -07:00
2026-05-02 05:09:04 -07:00
2026-05-04 01:43:04 -07:00
2026-05-04 21:32:41 -07:00
2026-05-03 10:41:46 -07:00
2026-05-04 05:25:52 -07:00
2026-05-04 09:51:54 -07:00
2026-04-24 19:39:20 -07:00
2026-05-04 09:20:07 -07:00
2026-05-02 15:56:29 -07:00
2026-05-04 09:20:07 -07:00
2026-04-26 12:25:10 -07:00
2026-04-28 18:21:17 -07:00
2026-04-27 19:59:52 -07:00
2026-05-03 20:37:12 -07:00
2026-05-01 08:56:10 -07:00
2026-05-04 01:43:04 -07:00
2026-05-04 06:12:12 -07:00
2026-05-04 06:12:12 -07:00
2026-04-28 23:23:34 -07:00
2026-05-04 06:12:12 -07:00
2026-05-04 06:12:12 -07:00
2026-05-01 05:15:19 -07:00
2026-04-25 07:04:50 -07:00
2026-05-04 05:50:01 -07:00
2026-04-27 19:59:52 -07:00
2026-05-04 09:20:07 -07:00
2026-05-04 05:25:52 -07:00
2026-04-25 07:04:50 -07:00
2026-04-27 19:59:52 -07:00
2026-04-28 23:23:34 -07:00
2026-05-04 10:18:38 -07:00
2026-05-04 09:54:43 -07:00
2026-05-04 09:20:07 -07:00
2026-05-02 02:54:26 -07:00
2026-05-04 09:20:07 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-05-04 07:00:39 -07:00
2026-04-27 04:05:25 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-04-27 19:59:52 -07:00
2026-05-04 02:34:13 -07:00
2026-05-04 09:20:07 -07:00
2026-04-29 20:15:05 -07:00
2026-04-28 21:13:30 -07:00
2026-04-24 19:39:20 -07:00
2026-04-25 12:40:32 -07:00
2026-05-04 01:43:04 -07:00
2026-04-29 23:54:29 -07:00
2026-05-04 07:00:39 -07:00
2026-04-29 11:42:37 -07:00
2026-04-26 22:21:18 -07:00
2026-05-04 09:54:43 -07:00
2026-04-28 16:24:22 -07:00
2026-04-28 19:20:10 -07:00
2026-04-30 21:26:54 -07:00
2026-04-30 18:24:30 -07:00
2026-04-30 22:55:48 -07:00
2026-05-03 17:17:07 -07:00
2026-05-01 13:27:53 -07:00
2026-05-02 07:59:06 -07:00
2026-04-29 21:33:18 -07:00
2026-05-03 03:49:18 -07:00
2026-04-27 19:59:52 -07:00
2026-04-25 12:18:55 -07:00
2026-05-02 05:09:04 -07:00