The slowest part is eventLog, without it it only takes 50% or less of the time.
Let's split this up into multiple queries:
Option A: quick win, separate event log query out and only load when tab is opened
Option B: separate all concerns, membership list load memberships, pledge list pledges etc. this would be ideal for long term maintenance. if done right queries can load in parallel or be batched with a batch apollo link (not necessary at this point).
Option C: one query per tab, fastest option but harder to maintain when moving this around.
The user query has become huge and slow: https://github.com/orbiting/republik-admin-frontend/blob/8073e025e55dbfc8843b28b967f8a9a3cd69b36c/components/Users/Detail/index.js#L615-L779
Stg GraphIQL as me
The slowest part is
eventLog
, without it it only takes 50% or less of the time.Let's split this up into multiple queries:
I'd recommend option A or B.