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

HowAnswered not set correctly in downloaded questions #148

Open
vteague opened this issue Jan 6, 2023 · 0 comments
Open

HowAnswered not set correctly in downloaded questions #148

vteague opened this issue Jan 6, 2023 · 0 comments

Comments

@vteague
Copy link
Member

vteague commented Jan 6, 2023

The QuestionDetailPage should show the 'who should raise the question' info if HowAnsweredOptions is 'InParliament'. This works fine when generating a new question. However, when looking at the details of a question downloaded from the server, the 'who should raise question' info is not shown.

Current behavior: HowAnsweredOptions are always set to DontKnow for downloaded questions, which does not cause the 'who should raise' info to display.

Expected behavior: either
(1) display the 'who should raise' info if HowAnsweredOptions is DontKnow, or
(2) when downloading a question, set HowAnsweredOptions to InParliament if there is anyone set to raise it (and InApp if there's an answerer but not a raiser, and DontKnow if there's none).

These have slightly different effects: (1) gives us a lot more display of blanks, which might be good if you want to add to it but might also be confusing. (2) is more minimalist, but might mean that people miss out on a chance to add someone to raise it. Since we don't currently have an option to add people, (1) might be best for now.

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

No branches or pull requests

1 participant