ConusAI vendor v0.1.0-dev.20261027+9b1131fb
ci / gate (push) Waiting to run

This commit is contained in:
ConusAI vendor v0.1.0-dev.20261027+9b1131fb
2026-10-27 18:05:17 +00:00
commit 3102273ec7
538 changed files with 80203 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
// The feedback button's labels, resolved on the server: the notes page is a server component and
// cannot call a function of feedback-button.tsx, which is a client module (Next refuses it with
// "Attempted to call feedbackLabels() from the server"). `kit template:prune --without guides`
// removes it with this folder.
export interface FeedbackButtonLabels {
readonly open: string
/** Said when the survey cannot start: already answered, or not served to this person. */
readonly unavailable: string
}
type Translate = (key: string) => string
export function feedbackLabels(t: Translate): FeedbackButtonLabels {
return { open: t("feedback.open"), unavailable: t("feedback.unavailable") }
}