Skip to content

Commit

Permalink
feat: release recurring retros (#9625)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dschoordsch authored Apr 11, 2024
1 parent b337d17 commit a4f10d1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ const ActivityDetailsSidebar = (props: Props) => {
orgId
organization {
name
featureFlags {
recurringRetros
}
}
retroSettings: meetingSettings(meetingType: retrospective) {
...NewMeetingSettingsToggleCheckIn_settings
Expand Down Expand Up @@ -252,9 +249,7 @@ const ActivityDetailsSidebar = (props: Props) => {
: type === 'action'
? 'Check-in'
: 'Meeting'
const withRecurrence =
type === 'teamPrompt' ||
(selectedTeam.organization.featureFlags.recurringRetros && type === 'retrospective')
const withRecurrence = type === 'teamPrompt' || type === 'retrospective'

return (
<>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ enum OrganizationFeatureFlagsEnum {
kudos
aiIcebreakers
aiTemplate
recurringRetros
relatedDiscussions
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,5 @@ type OrganizationFeatureFlags {
kudos: Boolean!
aiIcebreakers: Boolean!
aiTemplate: Boolean!
recurringRetros: Boolean!
relatedDiscussions: Boolean!
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const OrganizationFeatureFlags: OrganizationFeatureFlagsResolvers = {
kudos: ({kudos}) => !!kudos,
aiIcebreakers: ({aiIcebreakers}) => !!aiIcebreakers,
aiTemplate: ({aiTemplate}) => !!aiTemplate,
recurringRetros: ({recurringRetros}) => !!recurringRetros,
relatedDiscussions: ({relatedDiscussions}) => !!relatedDiscussions
}

Expand Down

0 comments on commit a4f10d1

Please sign in to comment.