Skip to content

Commit 353f71b

Browse files
Amit91848devin-ai-integration[bot]keithwillcode
authored
feat: Sink url shortner for sms workflow reminders (calcom#26608)
* feat: Sink url shortner for sms workflow reminders * fix: remove hardcoded dub values * update .env.example * fix: unit tests * chore: add tests for scheduleSmsReminder and utils * review refactor * fix: type check * review refactor * fix: update test to account for smsReminderNumber fallback from main Co-Authored-By: unknown <> * feat: add feature flag for sink and more tests to verify * fix: type check * use proper feature flags for sink * Apply suggestion from @keithwillcode --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Keith Williams <keithwillcode@gmail.com>
1 parent 12446d8 commit 353f71b

21 files changed

Lines changed: 2230 additions & 92 deletions

File tree

.env.example

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,15 @@ NEXT_PUBLIC_POSTHOG_HOST=
109109
# Dub Config
110110
DUB_API_KEY=
111111
NEXT_PUBLIC_DUB_PROGRAM_ID=
112+
# Optional: Domain for SMS workflow shortened links
113+
DUB_SMS_DOMAIN=
114+
# Optional: Folder ID to organize SMS workflow shortened links in Dub
115+
DUB_SMS_FOLDER_ID=
116+
117+
# Sink URL Shortener Config
118+
SINK_API_URL=
119+
# API key for Sink authentication
120+
SINK_API_KEY=
112121

113122
# Zendesk Config
114123
NEXT_PUBLIC_ZENDESK_KEY=

apps/web/modules/feature-flags/hooks/useFlags.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ const initialData: AppFlags = {
3838
"active-user-billing": false,
3939
"sidebar-tips": false,
4040
"signup-watchlist-review": false,
41+
"sink-shortener": false,
4142
};
4243

4344
if (process.env.NEXT_PUBLIC_IS_E2E) {

0 commit comments

Comments
 (0)