Files
Arkie-Library-Frontend/src/components/messageStream
TerryM 985463b7da
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 37s
fix(stream): resolve search deep-links without pagination stall
Search results can link to older posts that are not present in the first
/browse page. The previous deep-link flow kept paginating the all-assets
stream until the target id appeared, leaving users stuck on the waiting
indicator for very old posts.

Fetch /api/posts/:id directly for ?post= arrivals and inject the resolved
target post at the top of the stream when it is not already in loaded
items. The normal paginated feed still loads below for context. Keep the
explicit finding/not-found status messages as a fallback for slow or
missing direct fetches.

Verified with search result c5eeb17d-3bd0-4d32-9c92-5efa6e4a015c: target
post rendered within 100ms instead of waiting for pagination. Checks:
tsc, format:check, tests, build.
2026-06-03 01:40:21 +08:00
..
2026-06-01 23:00:28 +08:00
2026-06-01 23:00:28 +08:00