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

Implement the Compare Panel #175

Open
7 tasks done
nhatnghiho opened this issue Feb 21, 2023 · 0 comments
Open
7 tasks done

Implement the Compare Panel #175

nhatnghiho opened this issue Feb 21, 2023 · 0 comments
Assignees
Labels
task Task issue for a current or past sprint

Comments

@nhatnghiho
Copy link
Contributor

nhatnghiho commented Feb 21, 2023

Description

We want a medium for users to view all friend schedules that they have access to and choose which one(s) they want to compare against their own schedule. Users should also be able to edit and remove the schedules shared with them using this medium. In this ticket, you will create a panel for that. We just need the UI elements at this stage so no need to worry about making the panel completely functional.

image

Refer to Figma for more design details.

Acceptance Criteria

UI Requirements

  • A new panel is added on the right side of the screen that houses CombinationContainer and the new component ComparisonContainer.
  • The new panel is collapsible and should behave like a drawer.
  • The ComparisonContainer has a header with an enable button
  • Friends' and schedules' names are editable.
  • When a friend has a nickname, hovering over the nickname should display a popup with their email info.
  • Friends and schedules can be deleted and a confirmation modal should pop up to confirm the deletion.
  • Panel works for both light and dark modes.

Other Notes

  • NavDrawer is a drawer that functions on mobile mode. It should have some transition functionality defined so refer to that to make your life easier :)
  • Utilize Modal to make your delete confirm modal.
@nhatnghiho nhatnghiho added the task Task issue for a current or past sprint label Feb 21, 2023
sophiazlin added a commit that referenced this issue Feb 25, 2023
sophiazlin added a commit that referenced this issue Feb 25, 2023
sophiazlin added a commit that referenced this issue Feb 26, 2023
@sophiazlin sophiazlin mentioned this issue Mar 1, 2023
7 tasks
samarth52 added a commit that referenced this issue Oct 19, 2023
### Summary

Resolves #175

Adds compare panel and related overlays and modals.
There is a bug with the drawer button. If you move your mouse really
fast left and right over it, it causes the tooltip to appear at (0, 0).

### Checklist
### Acceptance Criteria
#### UI Requirements
- [ ] A new panel is added on the right side of the screen that houses
`CombinationContainer` and the new component `ComparisonContainer`.
- [ ] The new panel is collapsible and should behave like a drawer.
- [ ] The `ComparisonContainer` has a header with an enable button
- [ ] Friends' and schedules' names are editable.
- [ ] When a friend has a nickname, hovering over the nickname should
display a popup with their email info.
- [ ] Friends and schedules can be deleted and a confirmation modal
should pop up to confirm the deletion.
- [ ] Panel works for both light and dark modes.


### How to Test
Run the code and go through all functions (click checkboxes, edit
schedules, delete schedules, add schedule versions (through the form in
the version dropdown), etc.)

---------

Co-authored-by: Nghi Ho <[email protected]>
Co-authored-by: EmilyAL001 <[email protected]>
Co-authored-by: Samarth Chandna <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task Task issue for a current or past sprint
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants