Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

69 map road same view #102

Closed
wants to merge 4 commits into from
Closed

69 map road same view #102

wants to merge 4 commits into from

Conversation

marcosantiagomuro
Copy link
Contributor

created split component in inspect page, with map, road surface image and graph

@marcosantiagomuro marcosantiagomuro self-assigned this Nov 5, 2023
@marcosantiagomuro marcosantiagomuro added feature New feature or request frontend Frontend related Inspect map Features related to the inspect map page labels Nov 5, 2023
@marcosantiagomuro
Copy link
Contributor Author

I think some dependencies were not installed correctly(?)

@Seb-sti1
Copy link
Contributor

Seb-sti1 commented Nov 6, 2023

I think some dependencies were not installed correctly(?)

Yes, It should be fixable with npm i and adding the package-lock.json

Copy link
Contributor

@Seb-sti1 Seb-sti1 left a comment

Choose a reason for hiding this comment

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

Some unused stuff I would prefer to be removed before merging, but really nice to have that for release two :-)

@@ -6,7 +6,6 @@ interface TopBarProps {
/**
* The toggle button value
*/
isToggleOn: React.Dispatch<React.SetStateAction<boolean>>;
Copy link
Contributor

Choose a reason for hiding this comment

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

You can remove the whole props

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay :)

Comment on lines -49 to -56
<div className="toggle-container">
<div className="toggle-label">
<span className="toggle-text">Map mode</span>
<label className="toggle-switch">
<input type="checkbox" onChange={handleToggleMiddleArea} />
<span className="slider"></span>
</label>
<span className="toggle-text">Road mode</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you remove the unused classes from the css files?

@@ -62,26 +61,29 @@ const RoadDetails = () => {
}, []);

return (
<div>
<TopBar isToggleOn={setShowRoadImageMode} />
<div className="div-mapAndRoad-container">
Copy link
Contributor

Choose a reason for hiding this comment

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

is the class div-mapAndRoad-container exists in the css files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it only so when I did the inspect on the page I could recognise the div

Copy link
Contributor Author

Choose a reason for hiding this comment

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

should I remove the className?

@marcosantiagomuro marcosantiagomuro deleted the 69-map-road-same-view branch November 8, 2023 19:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request frontend Frontend related Inspect map Features related to the inspect map page
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants