Skip to content

Commit

Permalink
Mchin fix various things (#216)
Browse files Browse the repository at this point in the history
* move buttons around

* improve about page

* refine animation settings

* divide all rasters into two groups

* load animation images from gplates web service

* use rasterGroup state

* remove duplicate current raster index variable

* reload page if server url is changed

* use raster ID to replace raster index

* align swiper slides at center

* add a close button for raster menu

* fix various small things

* draw vector layers properly after switching rasters

* refine info panel

* fix a minor age slider bug

* add a button to purge the whole cache

* fix a animation bug

* fix animation bug

* refine the list of cache

* fix cache purge error

* fix location error

* add reload button

* refine various things

* fix raster menu swiper on phone

* fix cities
  • Loading branch information
michaelchin authored Mar 21, 2023
1 parent a768b2b commit 2d2b102
Show file tree
Hide file tree
Showing 42 changed files with 1,933 additions and 936 deletions.
8 changes: 6 additions & 2 deletions PUBLISHING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Some of these instructions might be a little wrong since I've never set up a new project in the Google Play Console or App Store Connect (and both have fees preventing me from testing myself). Please refer to the official documentation (linked throughout) if you get stuck. Edits to better reflect the actual process are welcome.

Note:

Michael Chin verified the iOS steps on 29/12/2022.

Michael Chin verified the Android steps on 22/03/2023.

## Important

A Play Console developer account costs a one-time registration fee of **25 USD**
Expand Down Expand Up @@ -116,5 +122,3 @@ For more detailed instructions on the following section, refer to [Prepare and r
15. Review the summary and click **Upload**
16. Do the rest in [App Store Connect](https://appstoreconnect.apple.com/apps)
17. See [Create a new version](https://help.apple.com/app-store-connect/#/dev480217e79)

Note: Michael Chin verified the iOS steps on 29/12/2022.
33 changes: 21 additions & 12 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Ionic App</title>
<title>GPlates</title>

<base href="/" />

Expand All @@ -16,27 +16,36 @@

<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />

<link rel="shortcut icon" type="image/png" href="%PUBLIC_URL%/assets/icon/favicon.png" />
<link
rel="shortcut icon"
type="image/png"
href="%PUBLIC_URL%/assets/icon/favicon.png"
/>

<!-- add to homescreen for ios -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="Ionic App" />
<meta name="apple-mobile-web-app-title" content="GPlates" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />

<link href="cesium/Widgets/widgets.css" rel="stylesheet">
<style>
html, body, #cesiumContainer {
background: black; height: 100%; margin: 0; padding: 0; overflow: hidden;
}
</style>
<link href="cesium/Widgets/widgets.css" rel="stylesheet" />
<style>
html,
body,
#cesiumContainer {
background: black;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
</style>
</head>

<script>
window.CESIUM_BASE_URL = '/cesium/';
window.CESIUM_BASE_URL = '/cesium/'
</script>

<body>
<div id="root"></div>
</body>

</html>
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"short_name": "Ionic App",
"name": "My Ionic App",
"short_name": "GPlates",
"name": "GPlates",
"icons": [
{
"src": "assets/icon/favicon.png",
Expand Down
10 changes: 10 additions & 0 deletions src/components/AddLocationWidget.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,13 @@
.location-details {
opacity: 0.9;
}

.add-location-close-button-container {
text-align: right;
}

.add-location-close-button {
background-color: var(--ion-background-color, #fff);
margin-bottom: -5px;
border-radius: 5px 5px 0px 0px;
}
Loading

0 comments on commit 2d2b102

Please sign in to comment.