-
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
Improve mission page #1848
base: main
Are you sure you want to change the base?
Improve mission page #1848
Conversation
f14103a
to
acb193d
Compare
gap: 32px; | ||
width: fit-content; | ||
align-items: end; | ||
} |
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.
background-color: ${tokens.colors.ui.background__light.hex}; | ||
` | ||
const TitleSection = styled.div` |
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.
<StyledTableCell>{TranslateText('Description')}</StyledTableCell> | ||
<StyledTableCell>{TranslateText('Inspection Types')}</StyledTableCell> | ||
<StyledTableCell>{TranslateText('Status')}</StyledTableCell> | ||
<Table.Cell>#</Table.Cell> |
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.
@@ -9,6 +9,7 @@ import { Pose } from 'models/Pose' | |||
import { MapCompass } from 'utils/MapCompass' | |||
import { Deck } from 'models/Deck' | |||
import { useLanguageContext } from 'components/Contexts/LanguageContext' | |||
import { getMeta } from 'components/Pages/MissionPage/MapPosition/MissionMapView' |
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.
Should getMeta be in utils instead since its used by both? Maybe in a map utilities file (in a map folder?)?
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.
Or maybe not since deckMapView probably will disappear soon
min-width: 50%; | ||
max-width: fit-content; | ||
min-height: 60%; |
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.
These values feel a bit arbitrary. Are they necessary?
Look at ContainButton for missionHistoryButton for inspiration
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.
Re-run snyk checks
No description provided.