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

Refactor ongoing mission page for iphone use #1328

Merged

Conversation

mrica-equinor
Copy link
Contributor

Closes #900

@mrica-equinor
Copy link
Contributor Author

I would recommend only testing this after PR #1326 is merged

@mrica-equinor mrica-equinor self-assigned this Jan 12, 2024
@mrica-equinor mrica-equinor added improvement Improvement to existing functionality frontend Frontend related functionality labels Jan 12, 2024
@mrica-equinor mrica-equinor force-pushed the ongoing-mission-page-iphone branch from d27eeaa to c77fad6 Compare January 12, 2024 10:53
@Eddasol
Copy link
Contributor

Eddasol commented Jan 12, 2024

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

@@ -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;
Copy link
Contributor

Choose a reason for hiding this comment

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

Content of table doesn't align with table header
image

@mrica-equinor mrica-equinor force-pushed the ongoing-mission-page-iphone branch 4 times, most recently from 25530b9 to 4caec72 Compare January 12, 2024 13:34
@mrica-equinor mrica-equinor requested a review from Eddasol January 12, 2024 13:44
@mrica-equinor mrica-equinor force-pushed the ongoing-mission-page-iphone branch from 4caec72 to 94969ff Compare January 12, 2024 13:53
@mrica-equinor mrica-equinor force-pushed the ongoing-mission-page-iphone branch from 94969ff to 96aa4f2 Compare January 12, 2024 14:12
Comment on lines +200 to +206
{!isMissionCompleted && HeaderText(translatedBatteryLevel, `${mission.robot.batteryLevel}%`)}
{!isMissionCompleted &&
mission.robot.pressureLevel &&
HeaderText(
translatedPressureLevel,
`${Math.round(mission.robot.pressureLevel * barToMillibar)}mBar`
)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Alignment is off on completed missions
image

Copy link
Contributor

@Eddasol Eddasol left a 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

@mrica-equinor mrica-equinor merged commit 15e6a21 into equinor:main Jan 12, 2024
10 checks passed
@mrica-equinor mrica-equinor deleted the ongoing-mission-page-iphone branch May 13, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Frontend related functionality improvement Improvement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-arrange/cleanup the status fields on the ongoing mission page
2 participants