-
Notifications
You must be signed in to change notification settings - Fork 37
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
Refactor ongoing mission page for iphone use #1328
Refactor ongoing mission page for iphone use #1328
Conversation
I would recommend only testing this after PR #1326 is merged |
d27eeaa
to
c77fad6
Compare
Would rename PR and commit to "Refactor mission page for iphone use" instead of "Refactor ongoing mission page for iphone use " since its not just for ongoing missions but all mission runs |
frontend/src/components/Pages/MissionPage/MissionHeader/MissionHeader.tsx
Show resolved
Hide resolved
@@ -7,8 +7,12 @@ import { tokens } from '@equinor/eds-tokens' | |||
import { getColorsFromTaskStatus } from 'utils/MarkerStyles' | |||
|
|||
const StyledTable = styled(Table)` | |||
grid-column: 1/ -1; | |||
font: equinor; | |||
display: grid; |
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.
frontend/src/components/Pages/MissionPage/MissionHeader/MissionHeader.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/Pages/MissionPage/TaskOverview/TaskTable.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/Pages/MissionPage/MissionHeader/MissionHeader.tsx
Outdated
Show resolved
Hide resolved
25530b9
to
4caec72
Compare
4caec72
to
94969ff
Compare
94969ff
to
96aa4f2
Compare
{!isMissionCompleted && HeaderText(translatedBatteryLevel, `${mission.robot.batteryLevel}%`)} | ||
{!isMissionCompleted && | ||
mission.robot.pressureLevel && | ||
HeaderText( | ||
translatedPressureLevel, | ||
`${Math.round(mission.robot.pressureLevel * barToMillibar)}mBar` | ||
)} |
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.
LGTM :) Remaining comments can be solved later
Closes #900