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

Show basic wind points on the map #1373

Closed
wants to merge 47 commits into from

Conversation

Max-Z80
Copy link
Collaborator

@Max-Z80 Max-Z80 commented Dec 2, 2024

Description

Show wind points on the map

Screenshot 2024-12-04 at 10 13 49 PM

How to test the feature:

  • [ ]
  • [ ]

Checklist - did you ...

Test your changes with

  • REACT_APP_COUNTRY=rbd yarn start
  • REACT_APP_COUNTRY=cambodia yarn start
  • REACT_APP_COUNTRY=mozambique yarn start
  • Add / update necessary tests?
  • Add / update outdated documentation?

Screenshot/video of feature:

@Max-Z80 Max-Z80 marked this pull request as draft December 2, 2024 08:29
@Max-Z80 Max-Z80 changed the title show basic wind points on the map [DRAFT] show basic wind points on the map Dec 2, 2024
@Max-Z80 Max-Z80 force-pushed the feat/show-wind-points-on-map branch from 4a73e77 to c3f8ce2 Compare December 2, 2024 09:47
@Max-Z80 Max-Z80 force-pushed the feat/show-wind-points-on-map branch from c3f8ce2 to 4732586 Compare December 2, 2024 10:19
Base automatically changed from feat/handle-multiple-AA-layers-and-panels to feature/add-new-AA-storm December 2, 2024 15:26
@Max-Z80 Max-Z80 force-pushed the feat/show-wind-points-on-map branch from 4732586 to 5700119 Compare December 3, 2024 13:09
@ericboucher
Copy link
Collaborator

Great start. I would recommend adding a few more comments throughout the code to explicit some of the business logic

Copy link

github-actions bot commented Dec 4, 2024

Build succeeded and deployed at https://prism-1373.surge.sh
(hash 2875f40 deployed at 2024-12-11T15:58:17)

@@ -0,0 +1,40 @@
import { isSameDay, parseJSON, format, addHours } from 'date-fns';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's wait a bit but I don't think we need all these functions
All times will eventually be in UTC as Amine mentioned so we can simply use the existing getTimeInMilliseconds and then update the getFormattedDate in date-utils

component: ComponentType<{ layer: DiscriminateUnion<U, 'type', T> }>;
component: ComponentType<{
layer: DiscriminateUnion<U, 'type', T>;
mapRef: MapRef;
Copy link
Collaborator

Choose a reason for hiding this comment

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

👣

@ericboucher ericboucher changed the title [DRAFT] show basic wind points on the map Show basic wind points on the map Dec 9, 2024
@ericboucher
Copy link
Collaborator

Merged via #1401

@ericboucher ericboucher closed this Jan 8, 2025
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