openmct
openmct copied to clipboard
[Mobile] Supermenu Enhancements
Closes https://github.com/nasa/openmct/issues/7536
Describe your changes:
- Change the height and width of supermenus such that they are smaller, yet a constant size.
- Remove the ability for there to be descriptions for supermenus.
All Submissions:
- [x] Have you followed the guidelines in our Contributing document?
- [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
- [x] Is this a notable change that will require a special callout in the release notes Notable Change ? For example, will this break compatibility with existing APIs or projects which source these plugins?
Author Checklist
- [x] Changes address original issue?
- [x] Tests included and/or updated with changes?
- [ ] Has this been smoke tested?
- [x] Have you associated this PR with a
type:
label? Note: this is not necessarily the same as the original issue. - [x] Have you associated a milestone with this PR? Note: leave blank if unsure.
- [ ] Is this a breaking change to be called out in the release notes?
- [x] Testing instructions included in associated issue OR is this a dependency/testcase change?
Reviewer Checklist
- [ ] Changes appear to address issue?
- [ ] Reviewer has tested changes by following the provided instructions?
- [ ] Changes appear not to be breaking changes?
- [ ] Appropriate automated tests included?
- [ ] Code style and in-line documentation are appropriate?
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 56.14%. Comparing base (
b2b0837
) to head (cc069d7
).
Additional details and impacted files
@@ Coverage Diff @@
## master #7537 +/- ##
=======================================
Coverage 56.14% 56.14%
=======================================
Files 672 672
Lines 27128 27128
Branches 2635 2635
=======================================
Hits 15232 15232
+ Misses 11569 11568 -1
- Partials 327 328 +1
Flag | Coverage Δ | |
---|---|---|
e2e-full | 23.57% <ø> (-0.01%) |
:arrow_down: |
e2e-stable | 59.91% <ø> (+0.01%) |
:arrow_up: |
unit | 49.10% <ø> (-0.01%) |
:arrow_down: |
see 3 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update b2b0837...cc069d7. Read the comment docs.
@rukmini-bose @charlesh88 this has existing test coverage in the time conductor test
Per discussion today, let's change the code to call the menu Vue component instead of the supermenu for the mode and clock menus when we're on a mobile device.
Per discussion today, let's change the code to call the menu Vue component instead of the supermenu for the mode and clock menus when we're on a mobile device.
Sidenote, but there's a bit more work to be done in the TimeConductor area. I'm working on a prototype composable for calculating popup position across the board. The TimeConductor currently does its own popup calculations. Also, the SuperMenu component should (ideally) be dynamic enough to realize the size of the screen and adjust accordingly for mobile. Currently none of our Menus are reactive and only update once dismissed and mounted again. We will want to move towards full reactivity in order to achieve this dynamic sizing for mobile
Clarification: none of the above affects this PR. I am old man yelling at cloud right now
Took myself off as a reviewer while this is draft to get it off my radar; put me back on when it's ready.