Skip to content

Commit 9822106

Browse files
committed
feature
1 parent 67d3b79 commit 9822106

2 files changed

Lines changed: 16 additions & 13 deletions

File tree

TODO.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# TODO
22

3-
- test double optin
4-
- test list welcome email / unsub email
5-
- test schedule sending
63
- test the docker compose
74
- docs: installation, email providers, templates, contacts, lists, workspaces, broadcast campaigns, transactional api, notification center
85

console/src/components/broadcasts/SendOrScheduleModal.tsx

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ import { broadcastApi } from '../../services/api/broadcast'
1717
import type { Workspace } from '../../services/api/types'
1818
import dayjs from '../../lib/dayjs'
1919

20+
// Feature flag for recipient timezone functionality
21+
const ENABLE_RECIPIENT_TIMEZONE = false
22+
2023
interface SendOrScheduleModalProps {
2124
broadcast: Broadcast | null
2225
visible: boolean
@@ -282,16 +285,19 @@ export function SendOrScheduleModal({
282285
</Select>
283286
</Form.Item>
284287
</Col>
285-
<Col span={12}>
286-
<Form.Item
287-
name="use_recipient_timezone"
288-
valuePropName="checked"
289-
label="Use recipient timezone"
290-
tooltip="If enabled, the broadcast will be sent according to each recipient's timezone"
291-
>
292-
<Switch />
293-
</Form.Item>
294-
</Col>
288+
{/* Feature flag for recipient timezone - disabled until backend implementation is complete */}
289+
{ENABLE_RECIPIENT_TIMEZONE && (
290+
<Col span={12}>
291+
<Form.Item
292+
name="use_recipient_timezone"
293+
valuePropName="checked"
294+
label="Use recipient timezone"
295+
tooltip="If enabled, the broadcast will be sent according to each recipient's timezone"
296+
>
297+
<Switch />
298+
</Form.Item>
299+
</Col>
300+
)}
295301
</Row>
296302
</>
297303
)}

0 commit comments

Comments
 (0)