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

Function getWhatsOffGapNote

packages/shared/src/features/feedExplain/whatsOff.ts:200–206  ·  view source on GitHub ↗
(line: WhatsOffLine)

Source from the content-addressed store, hash-verified

198
199/** The line's note on what no setting covers yet. */
200export const getWhatsOffGapNote = (line: WhatsOffLine): string => {
201 const gap = line.gap ? gapLabels[line.gap] : undefined;
202 const note = gap
203 ? `There's no setting for ${gap} yet.`
204 : "There's no setting for this yet.";
205 return line.kind === WhatsOffLineKind.Missing ? `${note} We noted it.` : note;
206};
207
208export const getWhatsOffSubmitExtra = ({
209 response,

Callers 1

LineRowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected