Skip to content

Conversation

@blackheaven
Copy link
Contributor

https://wearezeta.atlassian.net/browse/WPB-21964

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Nov 24, 2025
@blackheaven blackheaven force-pushed the gdifolco/WPB-21964-wire-meetings-skeleton branch from ba6264c to 425ab2d Compare November 24, 2025 15:10
@blackheaven blackheaven marked this pull request as ready for review November 25, 2025 07:21
@blackheaven blackheaven requested review from a team as code owners November 25, 2025 07:21
conversation_id UUID NOT NULL,
conversation_domain TEXT NOT NULL,
invited_emails TEXT[] DEFAULT '{}',
trial BOOLEAN DEFAULT FALSE,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akshaymankar should I store this?


-- Determine trial status
-- TODO: Check if user is a paying customer via Feature
let trial = False
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know which feature flag should be checked?

then pure False
else do
-- Add invited email
Store.addInvitedEmail meetingId email
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akshaymankar Can I send e-mails in an upcoming PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akshaymankar do we have the template?

-- Validate that endDate > startDate
when (newMeeting.endDate <= newMeeting.startDate) $
throwS @'InvalidOperation
Meetings.createMeeting lUser newMeeting
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akshaymankar Should we send new conversations notifications?

Copy link
Member

@akshaymankar akshaymankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are more questions about this in the RFC. Let's wait before implementation.

startDate :: UTCTime,
endDate :: UTCTime,
schedule :: Maybe Text,
conversationId :: Qualified ConvId,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be best to keep this not qualified as the meeting id is qualified and we probably don't want to deal with meetings whose convs are remote.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should change the RFC?

creator :: UserId,
startDate :: UTCTime,
endDate :: UTCTime,
schedule :: Maybe Text,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO the cron format is a mistake here, there is some discussion about it in the RFC. We should wait for that to resolve.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed!

@blackheaven blackheaven force-pushed the gdifolco/WPB-21964-wire-meetings-skeleton branch from 63d6831 to 0c273b7 Compare November 26, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants