Skip to content

Commit

Permalink
fix(landslide): unstable slope tab (#417)
Browse files Browse the repository at this point in the history
* 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 #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

* hide unstable slope

* remove kyh combined tileset from console log

---------

Co-authored-by: pfgoting <[email protected]>
Co-authored-by: Jadurani Davalos <[email protected]>
Co-authored-by: kennethbeoliporada <[email protected]>
  • Loading branch information
4 people authored Oct 22, 2024
1 parent cd4ec73 commit e0f5f3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions src/app/shared/data/kyh_combined_tileset.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,7 @@
},
{
"url": "mapbox://upri-noah.ph_lh_lh2_tls",
"sourceLayer": [
"ph_lh_af",
"ph_lh_df",
"albay_lh_df",
"aurora_lh_df",
"leyte_lh_df",
"kusiong_lh_df",
"southcotabato_lh_df"
]
"sourceLayer": ["ph_lh_af", "ph_lh_df"]
},
{
"url": "mapbox://upri-noah.ph_lh_lh3_tls",
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/mocks/hazard-types-and-levels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const LANDSLIDE_HAZARD_TYPES = [
LANDSLIDE,
// ALLUVIAL_FAN,
DEBRIS_FLOW,
UNSTABLE_SLOPES,
//UNSTABLE_SLOPES,
];
export const STORM_SURGE_HAZARD_LEVELS = [SSA1, SSA2, SSA3, SSA4];

Expand Down

0 comments on commit e0f5f3d

Please sign in to comment.