MCPcopy Create free account
hub / github.com/dailydotdev/apps / getFollowCopy

Function getFollowCopy

packages/shared/src/features/feedExplain/whatsOff.ts:89–100  ·  view source on GitHub ↗
(name: string, mode: string | null | undefined)

Source from the content-addressed store, hash-verified

87};
88
89const getFollowCopy = (name: string, mode: string | null | undefined) => {
90 switch (mode) {
91 case FeedSourceMode.Boost:
92 return { title: `Show more from ${name}` };
93 case FeedSourceMode.Demote:
94 return { title: `Show less from ${name}` };
95 case FeedSourceMode.Off:
96 return { title: `Ignore your follow of ${name} in For You` };
97 default:
98 return { title: `Set ${name} back to Auto` };
99 }
100};
101
102/** What a change does, in the words its row shows. */
103export const getWhatsOffChangeCopy = (

Callers 1

getWhatsOffChangeCopyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected