joystick icon indicating copy to clipboard operation
joystick copied to clipboard

Feature flags

Open rglover opened this issue 9 months ago • 1 comments

This is easy enough to add and fairly lightweight. As part of the users data model, we should add support for an array like feature_flags with strings pointing to feature names.

At the app level, you could have a has_feature() method in both @joystick.js/ui and @joystick.js/node that takes the string in and returns a boolean. It may even be smart to just do this on the server as client-only could technically be overridden. Not a terrible risk but hypothetically possible.

rglover avatar Mar 05 '25 20:03 rglover

This should be tightly integrated into Push. You can manage flags in your deployment's dashboard and control which users have access to which features.

rglover avatar Apr 29 '25 18:04 rglover