Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Global Feature Toggle System #3776

Open
HDVinnie opened this issue Apr 24, 2024 · 0 comments
Open

[Request] Global Feature Toggle System #3776

HDVinnie opened this issue Apr 24, 2024 · 0 comments
Labels
Fund https://polar.sh Request

Comments

@HDVinnie
Copy link
Collaborator

HDVinnie commented Apr 24, 2024

  • This way sites can turn on and off features easily from staff dashboard via database settings like say the random media block, or requests system.
  • The foundation needs to be build first. Then separately start porting features over.

Code example:

if (Feature('torrent-request-feature')->enabled()) {
    ...
} else {
    abort('507', 'This feature is disabled.');
}
@feature('torrent-request-feature')
    ...
@else
    Feature Disabled.
@endfeature

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@HDVinnie HDVinnie added Fund https://polar.sh Request labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fund https://polar.sh Request
Projects
None yet
Development

No branches or pull requests

1 participant