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

Adds support for using feature-query-parameters #3580

Merged
merged 6 commits into from
Dec 7, 2021

Conversation

madsnedergaard
Copy link
Member

Description

Part of #3575

This will make it possible to try out new features before they are publicly released.

For now, this will be possible by setting a query-parameter which can both be used in frontend and will also be sent to the app-backend.

Usage

Add a ?feature=XXX parameter to the URL. I have also added support for a comma-separated list, so one can test multiple features simultaneously :)

Preview

Screenshot 2021-12-02 at 13 33 32

NOTE

While at it, I also fixed a bug, where the app would get caught in a loop constantly calling the backend - it only happens if the backend returns empty data, which shouldn't happen unless something is down (but it happens more frequently when developing locally).

@madsnedergaard madsnedergaard enabled auto-merge (squash) December 7, 2021 10:13
@madsnedergaard madsnedergaard merged commit ff24f66 into master Dec 7, 2021
@madsnedergaard madsnedergaard deleted the mn/estimations/support-feature-param branch December 7, 2021 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants