Skip to content

Feature request: Time based feature flags actions #1554

Closed
@ran-isenberg

Description

@ran-isenberg

Use case

I've got a few use cases for feature flags rule actions. It's possible to due that today but its really finicky.

  1. I'd like to turn on/enable a feature flags rule only during a certain time of the day (between 10:00-23:00 24 hours clock)
  2. i'd like to turn on/enable a feature flags rule during a certain date range (UTC time)
  3. i'd like to turn on/enable a feature flags rule only during weekends, or just weekdays
  4. i'd like to turn on/enable a feature flags rule during certain week days and certain hours

I'd like to be able to do combine these conditions with other conditions.

I think the implementation is simple, just need to define the UX.

Solution/User Experience

Time based conditions are sorely missing from the current solution.

Alternative solutions

use regular actions. Use rules that define time as unix time ints and define actions like KEY_GREATER_THAN_VALUE and KEY_LESS_THAN_VALUE.
Not really readable when using unix time ints but it can work.
Not agreat UX.

Acknowledgment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions