-
Notifications
You must be signed in to change notification settings - Fork 710
feat: add Fit Mode to Context Menu #1698
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
Conversation
size-limit report 📦
|
Codecov ReportBase: 66.22% // Head: 66.26% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1698 +/- ##
==========================================
+ Coverage 66.22% 66.26% +0.04%
==========================================
Files 164 165 +1
Lines 5441 5464 +23
Branches 1220 1224 +4
==========================================
+ Hits 3603 3620 +17
- Misses 1831 1837 +6
Partials 7 7
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
|
/create-server |
| return ( | ||
| <MenuItem key="fit-mode" onClick={handleClick}> | ||
| {/* todo: add icons */} | ||
| Fit mode: {isHeadFirst ? 'tail first' : 'heat first'} |
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.
| Fit mode: {isHeadFirst ? 'tail first' : 'heat first'} | |
| Fit mode: {isHeadFirst ? 'tail first' : 'head first'} |
Although since we have enough space, I think we can be more explicit Fit {head, tail} first or or some better wording cc @Rperry2174
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.
I think the wording is fine, but for consistency we should add the icon the same way the other options have an icon
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.
absolutely..which one should i use ?
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.
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.
looks good i think
Screen.Recording.2022-11-14.at.11.04.11.mov
…nt/index.tsx Co-authored-by: eduardo aleixo <eh-am@users.noreply.github.com>
|
/create-server |
|
/create-server |
|
Looks good! Thanks |

Brief
Changes
demo link: https://pr-1698.pyroscope.io/?name=hotrod.python.frontend%7B%7D&query=rideshare-app-golang.cpu%7B%7D
Screen.Recording.2022-11-10.at.14.59.14.mov
Concerns