Skip to content

#57-feat(frontend): Laying Groundwork for Front End Concept#58

Merged
XavierGuertin merged 6 commits into
devfrom
#57-XG-Dashboard
Nov 1, 2024
Merged

#57-feat(frontend): Laying Groundwork for Front End Concept#58
XavierGuertin merged 6 commits into
devfrom
#57-XG-Dashboard

Conversation

@XavierGuertin

Copy link
Copy Markdown
Collaborator

Summary

This PR introduces a new map component using OpenLayers to visualize wildfire data. The map includes various controls for zooming, panning, and toggling fullscreen mode.

Changes Made

  • Added MapView component using OpenLayers for map rendering.
  • Integrated Toolbar component for map controls (zoom, pan, reset view, fullscreen).
  • Updated Navbar to include a button for toggling the Sidebar.
  • Implemented Sidebar component to manage map layers and datasets.
  • Sidebar and Toolbar are draggable.
  • Created a logo for wildfire project
  • Added icons to the navbar

Testing Instructions

  1. Start the application using npm start.
  2. Navigate to the main page.
  3. Verify that the map is displayed correctly with the initial view centered at Ottawa.
  4. Use the toolbar to zoom in, zoom out, reset the view, and pan the map in different directions.
  5. Toggle fullscreen mode using the toolbar button.
  6. Open the sidebar using the layers button in the navbar

Screenshots (if applicable)

image

Additional Notes

The map was made using OpenLayers for rendering and managing map layers.

@sonarqubecloud

sonarqubecloud Bot commented Nov 1, 2024

Copy link
Copy Markdown

@nx-cloud

nx-cloud Bot commented Nov 1, 2024

Copy link
Copy Markdown

☁️ Nx Cloud Report

CI is running for commit 332a9e5.

📂 Click to track the progress, see the status, the terminal output, and the build insights.


Sent with 💌 from NxCloud.

@GetGabed GetGabed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Amazing work! Just comment open to discussion. Shouldn't we use a library for the icons? (filter, location, etc.) That way we have a more consistent design

@XavierGuertin

Copy link
Copy Markdown
Collaborator Author

Amazing work! Just comment open to discussion. Shouldn't we use a library for the icons? (filter, location, etc.) That way we have a more consistent design

yes good point. We can implement that next. We will merge this first to allow everyone to start working on the UI.

@PFratt PFratt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is a fantastic base to continue building the frontend on. Another point to discuss with the team, we may not need the zoom and pan controls since OpenLayers handles those actions with the mouse. Either way, great work!

@XavierGuertin

Copy link
Copy Markdown
Collaborator Author

This is a fantastic base to continue building the frontend on. Another point to discuss with the team, we may not need the zoom and pan controls since OpenLayers handles those actions with the mouse. Either way, great work!

yes 100%, we could only keep the fullscreen button in the right bottom corner with an icon instead

@XavierGuertin XavierGuertin merged commit 8624f1e into dev Nov 1, 2024
@XavierGuertin XavierGuertin deleted the #57-XG-Dashboard branch November 1, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants