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

[MPDX-7815] Make coaching sidebar collapsible #826

Merged
merged 13 commits into from
Jan 9, 2024

Conversation

canac
Copy link
Contributor

@canac canac commented Nov 28, 2023

Description

https://jira.cru.org/browse/MPDX-7815

Checklist:

  • I have given my PR a title with the format "MPDX-(JIRA#) (summary sentence max 80 chars)"
  • I have applied the appropriate labels. (Add the label "On Staging" to get the branch automatically merged into staging.)
  • I have requested a review from another person on the project

@@ -17,6 +18,8 @@ const useStyles = makeStyles()((theme: Theme) => ({
},
}));

const Offset = styled('div')(({ theme }) => theme.mixins.toolbar);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dr-bizz dr-bizz self-requested a review November 29, 2023 17:12
Copy link
Contributor

@dr-bizz dr-bizz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few comments.

This happens only on mobile, when I scroll down. It's something to do with min-height:100%

Screenshot 2023-11-29 at 11 15 40 AM

src/components/Coaching/CoachingDetail/CoachingDetail.tsx Outdated Show resolved Hide resolved
Base automatically changed from 7212-appointments-results to main November 29, 2023 20:33
@canac
Copy link
Contributor Author

canac commented Dec 5, 2023

@dr-bizz Thanks for looking this over! I believe I fixed the scrolling issue from your screenshot. Let me know if you find any other issues.

@canac canac requested a review from dr-bizz December 5, 2023 22:30
Copy link
Contributor

@dr-bizz dr-bizz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the code looks great! There is a UX issue I see. When you have the side menu open on a smaller screen, and scroll down. You can't minimise the menu without having to scroll back up.

We could have the "Coaching" title and "X" icon sticky at the top of the menu, so you can always click close. What are your thoughts?
Screenshot 2023-12-07 at 10 45 21 AM

@canac
Copy link
Contributor Author

canac commented Dec 7, 2023

@dr-bizz That's a good point. You can still close it by clicking outside of the sidebar. But I'll look into making the title and close button sticky.

@canac canac requested a review from dr-bizz December 7, 2023 19:02
@canac canac added the On Staging Will be merged to the staging branch by Github Actions label Dec 7, 2023
@caleballdrin
Copy link
Contributor

@canac you could change the email and phone number links to have `underline='hover' so they look a little nicer. Also, right now the sidebar has it's own scrollbar. And it seems like it should be a little closer to the edge of the box. Could you just make the sidebar taller and not have a scrollbar?

@canac
Copy link
Contributor Author

canac commented Dec 11, 2023

@caleballdrin Good catch! I believe I fixed each of those things. Let me know if it looks right now.

@canac canac merged commit 6f79f3c into main Jan 9, 2024
14 checks passed
@canac canac deleted the 7815-coaching-collapsible-sidebar branch January 9, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On Staging Will be merged to the staging branch by Github Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants