Skip to content

Commit

Permalink
Fix intensity calculation issue of CSIS in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
bclswl0827 committed Apr 9, 2024
1 parent 7133eaa commit 1f0e2f3
Show file tree
Hide file tree
Showing 19 changed files with 1,267 additions and 261 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

Starting from v2.2.5, all notable changes to this project will be documented in this file.

## v2.12.1

- Sort earthquake event source API by name in frontend
- Fix intensity calculation issue of CSIS in frontend
- Removal of unused utility functions

## v2.12.0

- Support lifecycle configuration for records in database
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.12.0
v2.12.1
2 changes: 1 addition & 1 deletion driver/serial/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func Read(r io.Reader, buf []byte, timeout time.Duration) (n int, err error) {
}

start := time.Now()
for n < min && err == nil {
for n < min {
if time.Since(start) > timeout {
return 0, fmt.Errorf("timeout due to no response")
}
Expand Down
8 changes: 4 additions & 4 deletions frontend/dist/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"files": {
"main.css": "./static/css/main.7a040865.css",
"main.js": "./static/js/main.6ea9d68f.js",
"main.js": "./static/js/main.9e9bedf8.js",
"static/css/594.d6bfd15f.chunk.css": "./static/css/594.d6bfd15f.chunk.css",
"static/js/594.7755917b.chunk.js": "./static/js/594.7755917b.chunk.js",
"static/js/846.88ce4ddb.chunk.js": "./static/js/846.88ce4ddb.chunk.js",
"static/js/154.fa6c3fcd.chunk.js": "./static/js/154.fa6c3fcd.chunk.js",
"static/js/600.0a84b829.chunk.js": "./static/js/600.0a84b829.chunk.js",
"static/js/154.cebd5677.chunk.js": "./static/js/154.cebd5677.chunk.js",
"static/js/600.23a606ea.chunk.js": "./static/js/600.23a606ea.chunk.js",
"static/js/708.22872728.chunk.js": "./static/js/708.22872728.chunk.js",
"static/js/699.e75d4402.chunk.js": "./static/js/699.e75d4402.chunk.js",
"static/js/303.28dd2180.chunk.js": "./static/js/303.28dd2180.chunk.js",
Expand Down Expand Up @@ -49,6 +49,6 @@
},
"entrypoints": [
"static/css/main.7a040865.css",
"static/js/main.6ea9d68f.js"
"static/js/main.9e9bedf8.js"
]
}
2 changes: 1 addition & 1 deletion frontend/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><style>.public-loading{width:100%;height:100%;display:flex;position:fixed;align-items:center;flex-direction:column;justify-content:center}.public-loading span{color:#1f2937;margin-top:20px;font-weight:600;font-size:1.25rem}.public-loading svg{animation:rotate 1s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}</style><script defer="defer" src="./static/js/main.6ea9d68f.js"></script><link href="./static/css/main.7a040865.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="public-loading"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="#6b21a8" width="70px"><path d="M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"/></svg> <span>Loading...</span></div><div id="root"></div></body></html>
<!doctype html><html><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><style>.public-loading{width:100%;height:100%;display:flex;position:fixed;align-items:center;flex-direction:column;justify-content:center}.public-loading span{color:#1f2937;margin-top:20px;font-weight:600;font-size:1.25rem}.public-loading svg{animation:rotate 1s linear infinite}@keyframes rotate{100%{transform:rotate(360deg)}}</style><script defer="defer" src="./static/js/main.9e9bedf8.js"></script><link href="./static/css/main.7a040865.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="public-loading"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" fill="#6b21a8" width="70px"><path d="M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"/></svg> <span>Loading...</span></div><div id="root"></div></body></html>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions frontend/dist/static/js/main.6ea9d68f.js

This file was deleted.

2 changes: 2 additions & 0 deletions frontend/dist/static/js/main.9e9bedf8.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions frontend/src/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_VERSION=v2.12.0
REACT_APP_RELEASE=acb4660e-20240331211832
REACT_APP_VERSION=v2.12.1
REACT_APP_RELEASE=7133eaa1-20240409233944
Loading

0 comments on commit 1f0e2f3

Please sign in to comment.