refactor: migrate profile feedgens to the new list state components

drops the sentinel-row machinery in favour of the whole-surface components, and fixes two defects it was hiding: `isEmpty` is true whenever there is no data, failure included, so an initial error pushed `ERROR_ITEM` and then `EMPTY` — the screen told the user the request had failed and that they had no feeds, stacked. it now renders a single `ListError`. `LOAD_MORE_ERROR_ITEM` was unreachable: its branch required `!isEmpty`, which implies `data?.pages` is truthy, so the preceding branch always won. `LoadMoreRetryBtn` never rendered here. also drops two inert props on the way past. `hasNextPage` is only read as `!hasNextPage && showEndMessage`, and `showEndMessage` was never passed; `height={180}` restated the css default. the footer additionally rendered during the initial load, since `isEmpty` is gated on `!isPending`, putting a bordered 180px box under the skeleton. Claude-Session: https://claude.ai/code/session_01DZRW2fBuJdbQENW4Rq9fy8

ed271434 parent 7a1b320b +47 −117
browse files