flipt icon indicating copy to clipboard operation
flipt copied to clipboard

[FLI-628] Feature Request: Scheduled Flags

Open markphelps opened this issue 9 months ago • 3 comments

From Discord: https://discord.com/channels/960634591000014878/1099022860930007090/1099022860930007090 [https://discord.com/channels/960634591000014878/1099022860930007090/1099022860930007090]

It would be nice if we could have scheduled flags, so they turn on/off at a certain time, for example a use case could be that you’re doing a release of a feature, you could put it behind the feature flag and set it to enable at a certain date and time. An example of how we personally would’ve used it: we were moving away from text-based discord commands to the new slash commands that discord offers, so we needed to plan a smooth transition over to those, so we had a feature flag to enable or disable the ability to use the text based commands (we put up a message 2 weeks before informing of the date and time this would happen). Then at that certain time, we could have the flag enable itself to allow only slash commands

From SyncLinear.com | FLI-627

FLI-628

markphelps avatar Oct 05 '23 13:10 markphelps

Would like to open this up for feedback on how users would like this to function.

Would it be on a per flag bases where each flag you can configure for it to be enabled or disabled at a certain day/time? Would there be options for both? Ie: turn on on this date, turn off on this date. Recurring options? Would like to get the ball rolling on this feature but first need to determine what the UX would be.

markphelps avatar Oct 05 '23 13:10 markphelps

My use case when I suggested this was just to be able to configure a flag to enable/disable at a certain time. But the other use cases that you mentioned do seem like that they could be useful.

cxnky avatar Oct 08 '23 16:10 cxnky

Copying from a user request to our Slack to spark some more conversation:

So the key in such feature IMO is that without doing anything, when the time arrives, the flag turns from off to on of course :grimacing:

But to expand: it would be better to make sure we allow to have it on different times on different environments. I guess you map this with “namespaces” do you?

And finally having a way to create some sort of “schedule” object that lists different steps in time for different env/namespace, that we could associate to more flags.

🔔 Want to have direct convo with the Flipt team via Slack Connect? Send us an email and request an invite to: dev (at) flipt.io

markphelps avatar Oct 16 '23 20:10 markphelps