mattermost-mobile-upstream/app/utils/navigation
Your Name 2d0ee1cbab Fix: skip JSON.stringify for string screen params
Restore the string-pass-through in propsToParams that #9931 removed. When
every param value (including strings) is JSON.stringify'd, expo-router
consumers that read useLocalSearchParams as raw strings end up with
literally-quoted values (e.g. rootId "abc123" -> `"abc123"`). This
breaks the thread screen entirely: the extra-quoted rootId misses in
observePost, rootPost stays undefined, and ThreadContent is never
rendered. It also shows up visually as `in "channel name"` in the
thread header subtitle.

Reverts the runtime change and companion test-expectation changes
from #9931. The numeric-string-round-trip issue #9931 was addressing
should be fixed on the receive side instead (see follow-up).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-18 17:56:20 +03:00
..
index.test.ts Fix: skip JSON.stringify for string screen params 2026-07-18 17:56:20 +03:00
index.tsx Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00