We need to include the communityStore in the initialReduxState as part of the work to introducing the communities table in the keyserver
Depends on D12043
Differential D12060
[keyserver/lib/web] include communityStore in the initialReduxState ginsu on May 15 2024, 6:13 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event Timeline
Comment Actions One question: If my suspicion is correct this diff is not needed but I wasn't reviewing the rest of the stack and I am missing some context so sorry for confusing if this was taken into account and this is still needed. Comment Actions With the refresher approach we don't need to persist this data at all - opening the drawer / focusing web app would result in new data being sent from the keyserver. If we don't trust our persistence, we can keep this diff and persist its result on clients - this would mean that we never use the persisted state on the web. Later we can update the approach. In the final approach, we would need the clients to send an additional parameter telling if the server should include communityStore in the initial state. An alternative might be to abandon this diff and avoid sending the store in the initial state. Requesting changes because we need to make a decision here. Comment Actions
This makes sense and since we only use this info when we open the community drawer on native and when we focus the app on web, abandoning this diff is probably the best approach for now so that we can keep the scope limited. |