-
Notifications
You must be signed in to change notification settings - Fork 18
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
added conditional on sessions signup page so if no mentors are availa… #159
added conditional on sessions signup page so if no mentors are availa… #159
Conversation
…ble at a selected time then a message displays telling the user
✅ Deploy Preview for momentum-mentors ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great update! Even though this ended up being something different than the origin ticket, I think it will help a lot. And thanks for cleaning up the code some while you were at it. A few changes before I approve:
- Update the ticket number in the PR description from 60 to 114, to match the new trello ticket I created.
- Can you update the displayed message to say “No mentors are available for on this day.”? I want it to convey that there may be mentors available for that skill on other days, or mentors helping with other skills on the selected day. Feel free to suggest other ideas.
- The message currently displays when they haven’t selected a topic or day. Can we hide it in that case?
- Indent the message further in than the text “Select a mentor for:”.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates look great!
Edit: meant to approve rather than request changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updates look great!
added conditional on sessions signup page so if no mentors are availa…
…ble at a selected time then a message displays telling the user
Pull Request Template
1. Targeted Issue
Render a message to show that the skills/time frame selected does not have any mentors available
Ticket #114
2. Overview of Solution
Put a conditional (filteredMentors.length === 0 ?) that would display "No Mentors are available at this time." when array length was zero.
3. Tools Used
React and MUI
4. Testing Strategy
Usage
5. Future Implications
Users will immediately know that their search parameters do not yield a search result instead of a malfunction occurring in the app.
6. Screenshots
7. Code Reviewers
Luke or Nathan will do the PR?
Before you go...
Big high-fives for your incredible pull request! We're thrilled to have you as a contributor! Our team will dig into your proposed changes and give you some feedback or merge them if they're good to go. Your contributions mean the world to us!