From 0626215f1a4ae2cf7e96de74eb3e4003f044fe3b Mon Sep 17 00:00:00 2001 From: Ken <62271587+kennethliporada@users.noreply.github.com> Date: Thu, 14 Mar 2024 14:45:12 +0800 Subject: [PATCH] feat(4as): archive button and download (#359) * 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 duplicate data for 4as summary * archive dropdown scroll * 4as popup scroll * 1 day expiration for cookie * download archive data immidiately and remove hover from button select date --------- Co-authored-by: pfgoting Co-authored-by: Jadurani Davalos Co-authored-by: kennethbeoliporada --- .../risk-assessment-modal.component.html | 44 +++++-------------- .../risk-assessment-modal.component.scss | 12 ----- .../risk-assessment-modal.component.ts | 37 ++++++++++------ 3 files changed, 36 insertions(+), 57 deletions(-) diff --git a/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html b/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html index a444a6cd..898d941b 100644 --- a/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html +++ b/src/app/features/noah-playground/components/risk-assessment-modal/risk-assessment-modal.component.html @@ -1,30 +1,9 @@ -
-
+
+
@@ -211,7 +190,7 @@
-
+
@@ -294,7 +273,7 @@ px-4 pb-10 text-base - md:text-xl + md:text-2xl leading-none text-center text-gray-600 " @@ -307,7 +286,7 @@ - + +