Currently we're fetching only the links for communities where a viewer is a member. For the migration to work we need to be able to fetch all the links - this diff introduces a function that allows it.
Depends on D10134
Paths
| Differential D10150 Authored by tomek on Dec 4 2023, 4:37 AM.
Details Summary Currently we're fetching only the links for communities where a viewer is a member. For the migration to work we need to be able to fetch all the links - this diff introduces a function that allows it. Depends on D10134 Test Plan Check if in the web app we're receiving only the links for communities where a viewer is a member.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptDec 4 2023, 4:37 AM2023-12-04 04:37:10 (UTC-8) Harbormaster completed remote builds in B24721: Diff 34178.Dec 4 2023, 4:56 AM2023-12-04 04:56:02 (UTC-8) Comment Actions This feels pretty messy. I'm not sure what the callstack looks like, but is it possible to introduce a second function for this (with shared code factored out) instead of overloading fetchPrimaryInviteLinks to handle two different scenarios? Comment Actions
Yeah, I can do that. Shouldn't matter too much at the call sites. tomek edited the summary of this revision. (Show Details)Dec 4 2023, 6:47 AM2023-12-04 06:47:05 (UTC-8) tomek retitled this revision from [keyserver] Fetch all the links when a viewer is a script viewer to [keyserver] Introduce a function that allows fetching all the primary links. Harbormaster completed remote builds in B24728: Diff 34185.Dec 4 2023, 7:34 AM2023-12-04 07:34:30 (UTC-8) This revision is now accepted and ready to land.Dec 5 2023, 8:24 AM2023-12-05 08:24:57 (UTC-8) Harbormaster completed remote builds in B26414: Diff 36524.Feb 1 2024, 7:28 AM2024-02-01 07:28:48 (UTC-8) Closed by commit rCOMMe4890d882eee: [keyserver] Introduce a function that allows fetching all the primary links (authored by tomek). · Explain WhyFeb 14 2024, 7:58 AM2024-02-14 07:58:36 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 34178 keyserver/src/fetchers/link-fetchers.js
|