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

feat: Add feature flag for enabling/disabling anonymous question posting #292

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

GeorginaFraire
Copy link
Collaborator

What does this PR do?

introduces a new feature flag named postAnonymousQuestions that allows toggling the ability to post questions anonymously. The flag is implemented to control the visibility of the anonymousposting feature, giving flexibility to enable or disable it.

Where should the reviewer start?

  • verify that the postAnonymousQuestions is false

How should this be manually tested?

  1. Log in.
  2. Navigate to the page to create a new question (click on 'Ask Question').
  3. Ensure that you do not see the option to post an anonymous question.
  4. Create a question.
  5. Open the file `` and modify the value of postAnonymousQuestions to true.
  6. Repeat step 2.
  7. You should now see the option to post anonymous questions.
  8. Create a question (both anonymous and non-anonymous).

Any background context you want provide?

we want to temporary restrict the option to post anonymous questions.

What are the relevant tickets?

Closes #291

Screenshots

[feature flag: postAnonymousQuestions : false ]
Screen Shot 2023-12-13 at 12 48 27

[feature flag: postAnonymousQuestions : true ]

Screen Shot 2023-12-13 at 12 49 44

@GeorginaFraire GeorginaFraire merged commit 1107cb9 into master Dec 13, 2023
4 checks passed
@GeorginaFraire GeorginaFraire deleted the featureFlag-anonymousQuestions branch December 13, 2023 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add feature flag for enabling/disabling anonymous question posting
2 participants