This diff introduces the fetch_community_infos endpoint. Similar to the fetch_primary_invite_links we will call this endpoint whenever we open the community drawer on native or when the window becomes active on web
Depends on D11978
Paths
| Differential D11995 Authored by ginsu on May 10 2024, 11:11 AM.
Tags None Referenced Files
Details Summary This diff introduces the fetch_community_infos endpoint. Similar to the fetch_primary_invite_links we will call this endpoint whenever we open the community drawer on native or when the window becomes active on web Depends on D11978 Test Plan Called this endpoint later in my stack and confirmed that I was getting all the correct community infos
Diff Detail
Event TimelineHerald added subscribers: tomek, ashoat. · View Herald TranscriptMay 10 2024, 11:11 AM2024-05-10 11:11:56 (UTC-7) ginsu edited the summary of this revision. (Show Details)May 10 2024, 11:13 AM2024-05-10 11:13:14 (UTC-7) ginsu added a parent revision: D11978: [keyserver/lib] update deleteFarcasterChannelTag to use communites table. Harbormaster returned this revision to the author for changes because remote builds failed.May 10 2024, 11:24 AM2024-05-10 11:24:23 (UTC-7) Harbormaster completed remote builds in B28846: Diff 40087.May 10 2024, 2:04 PM2024-05-10 14:04:32 (UTC-7) Comment Actions
Can you explain to your reviewers why we need to do this? Comment Actions Looking at the project I think it's so that if the user goes the community settings cog and selects the Farcaster channel option, they will be able to see the Farcaster channel. Similar pattern to how we do it for invite links tomek added inline comments.
This revision is now accepted and ready to land.May 13 2024, 3:13 AM2024-05-13 03:13:08 (UTC-7) ginsu added inline comments. Harbormaster completed remote builds in B29176: Diff 40547.May 22 2024, 7:57 AM2024-05-22 07:57:34 (UTC-7)
Harbormaster completed remote builds in B29469: Diff 41004.Jun 5 2024, 11:14 PM2024-06-05 23:14:56 (UTC-7) Closed by commit rCOMMda773f537f42: [keyserver/lib] introduce fetch_community_infos endpoint (authored by ginsu). · Explain WhyJun 5 2024, 11:57 PM2024-06-05 23:57:49 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 40547 keyserver/src/endpoints.js
keyserver/src/fetchers/community-fetchers.js
keyserver/src/responders/community-responders.js
lib/types/community-types.js
|