Skip to content

Commit

Permalink
chore: Add recurring retros feature flag (#9347)
Browse files Browse the repository at this point in the history
* chore: Add recurring retros feature flag

* Make it an org flag
  • Loading branch information
Dschoordsch committed Jan 18, 2024
1 parent 6a8224b commit 9db9485
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 31 deletions.
30 changes: 0 additions & 30 deletions packages/server/graphql/private/typeDefs/_legacy.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1421,36 +1421,6 @@ enum TaskStatusEnum {
future
}

"""
The types of flags that give an individual user super powers
"""
type UserFeatureFlags {
"""
true if spotlight is allowed
"""
spotlight: Boolean!

"""
true if standups is allowed
"""
standups: Boolean!

"""
true if gitlab is allowed
"""
gitlab: Boolean!

"""
true if azuredevops is allowed
"""
azureDevOps: Boolean!

"""
true if recurrence is allowed
"""
recurrence: Boolean!
}

"""
A big picture line item
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ enum OrganizationFeatureFlagsEnum {
kudos
aiIcebreakers
aiTemplate
recurringRetros
}

extend type Mutation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,5 @@ type OrganizationFeatureFlags {
kudos: Boolean!
aiIcebreakers: Boolean!
aiTemplate: Boolean!
recurringRetros: Boolean!
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const OrganizationFeatureFlags: OrganizationFeatureFlagsResolvers = {
meetingInception: ({meetingInception}) => !!meetingInception,
kudos: ({kudos}) => !!kudos,
aiIcebreakers: ({aiIcebreakers}) => !!aiIcebreakers,
aiTemplate: ({aiTemplate}) => !!aiTemplate
aiTemplate: ({aiTemplate}) => !!aiTemplate,
recurringRetros: ({recurringRetros}) => !!recurringRetros
}

export default OrganizationFeatureFlags

0 comments on commit 9db9485

Please sign in to comment.