From 037b867a0d054543175bf584fe3a63638c7fb515 Mon Sep 17 00:00:00 2001 From: Ken <62271587+kennethliporada@users.noreply.github.com> Date: Mon, 29 Jul 2024 20:19:33 +0800 Subject: [PATCH] fix(noah): displaying hospital icon and label; fix display summary data; movable pin in map (#384) * Added github actions workflow for aut deployment to .72 server. * Added github action for S3 deployment. * Changed to staging. Created branch for staging. * Retrigger deployment workflow. * fix(studio): zoom in on ios (#192) # Summary - Fixes https://github.com/UPRI-NOAH/noah-frontend/issues/186 - The `load` event isn't firing on NOAH Studio. As such, the `centerListener()` method isn't called which is responsible for the zooming in to the selected place. However, `style.load` do get called. The fix implemented here is to also use the event `style.load` to call the methods that were previously called by upon the firing of the `load` event but only listen to `style.load` once. - We need to further investigate **why** `load` doesn't work on Studio in iOS but works in KYH - Confirming that only the NOAH Studio is affected by this issue. # Demo ![Kapture 2021-10-05 at 22 49 45](https://user-images.githubusercontent.com/11599005/136047077-d0da7a85-9157-4d01-bae9-07a6039fd9c1.gif) * ci(netlify): add _redirects file * S3 Deployment Validation (#198) * Added if condition to run workflow only on successful PR merge. (#195) * Checking proper automation workflow. Will revert this small change upon validation. (#196) * Change deployment trigger. Revert small biblio change. (#199) * Checking proper automation workflow. Will revert this small change upon validation. * Changed trigger for deployment workflow. Revert small change to bibliography. * Cascade dev changes on workflow to prod (#202) * Added AWS deployment workflow * fix error from console about opacity of risk assessment group undefined * fix crit facility hospital show icon and label * refactor value for flood * center loading for IoT * noah studio draggable pin * volatile not sure if it is working * changing location in search bar when the marker put down in map * add lat long details when pin dragged * remove text center in latest data in summary dashboard --------- Co-authored-by: pfgoting Co-authored-by: Jadurani Davalos Co-authored-by: kennethbeoliporada Co-authored-by: bon-carpo --- .../components/map-kyh/map-kyh.component.html | 3 +- .../components/map-kyh/map-kyh.component.scss | 17 +++ .../components/map-kyh/map-kyh.component.ts | 8 +- .../map-playground.component.html | 3 +- .../map-playground.component.scss | 18 +++ .../map-playground.component.ts | 36 ++++-- .../risk-assessment-group.component.ts | 17 ++- .../components/summary/summary.component.html | 111 ++++++++---------- src/app/shared/mocks/critical-facilities.ts | 2 +- 9 files changed, 140 insertions(+), 75 deletions(-) diff --git a/src/app/features/know-your-hazards/components/map-kyh/map-kyh.component.html b/src/app/features/know-your-hazards/components/map-kyh/map-kyh.component.html index 2f3bee71..486fba4b 100644 --- a/src/app/features/know-your-hazards/components/map-kyh/map-kyh.component.html +++ b/src/app/features/know-your-hazards/components/map-kyh/map-kyh.component.html @@ -1,10 +1,11 @@
+