revenge-next-plugs/plugins
Ally Founder 0439a6a67b staff-tags: fix UserRow/HeaderName lookups, bump to 1.0.5
Two of the three previously-broken module lookups now have well-evidenced
fixes (from live sweeps run during an earlier debugging session that were
never actually applied to the code):

- details.tsx: UserRow is React.memo()-wrapped, so a plain withName('UserRow')
  can never match it (memo wrapper objects have no .name). Added
  withMemoDefaultName (lib/filters.ts), a custom filter checking the wrapper's
  inner .type.name instead, matching on the full module namespace so the
  callback gets the wrapper itself - the exact reference afterJSX needs.

- name.tsx: HeaderName doesn't exist under that name anymore; ChannelHeader
  is the confirmed replacement (a plain, non-memo function, found via a
  name-sweep).

DisplayName (the message-author-name row) remains unresolved - never found
under any name across two live sweep sessions, likely inlined into a bigger
component now. Left as a documented, still-guarded no-op rather than guessed
at.
2026-08-08 20:56:46 -04:00
..
next-eval-checks Import revenge-next-plugs working tree 2026-08-08 18:42:50 -04:00
staff-tags staff-tags: fix UserRow/HeaderName lookups, bump to 1.0.5 2026-08-08 20:56:46 -04:00