[List the key changes made in this PR. Use bullet points for clarity]
Plan view that is atm accessible for teams by appending /plan to the url. Features include:
Canvas with calendar view/styling, with ability to infinitely scroll (ish).
Questions displayed on canvas in positions corresponding to their resolution date on the calendar
Default displays user's (editable) predictions if question is unresolved, and the resolution if it is
Option to toggle view to any user on the team, or the community view
Ability to reposition the questions on the view, with a tooltip with a hint displaying the resolution date
Ability create connections between questions
Default view:
Community view:
User view:
Resolved question:
Long question:
Changes not covered in PR:
Support for MCQ
Saving the connections created between questions
Saving the positioning of questions set by user
Areas for improvement
Calendar styling does not generate infinitely, only for a fixed number of months (set to +/-3 months atm). Solutions could be to: (easy) not allow infinite scroll or (harder) allow infinite scrolling, with on the fly generation of nodes in the view range
Pop up modal of question for more details when clicked from canvas
Positioning of questions are rendered randomly per re-render, I'd like to have at least a local save for the user's changes so they don't jump around
[currently commented out] Support to change the resolution date on the canvas. The commented out code mostly works, but because of the random rerendering of the question nodes and possibly some other issues this is not working as nicely as I'd like yet
Condensed UI to show the updateable prediction box and a resolution button in the nodes, so questions can be resolved in the view
Testing
No automated tests added, manual testing in local dev env with a variety of scenarios (different users, length of questions, resolved and unresolved questions, questions with and without predictions, etc). Known limitations include MCQ support. Unknown limitations include stress testing for higher volumes of questions.
Pull Request: Introduce Plan View for Teams
Changes Made
[List the key changes made in this PR. Use bullet points for clarity]
Plan view that is atm accessible for teams by appending /plan to the url. Features include:
Default view:
Community view:
User view:
Resolved question:
Long question:
Changes not covered in PR:
Areas for improvement
Testing
No automated tests added, manual testing in local dev env with a variety of scenarios (different users, length of questions, resolved and unresolved questions, questions with and without predictions, etc). Known limitations include MCQ support. Unknown limitations include stress testing for higher volumes of questions.