Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

refactor: rewrite with new ui #73

Draft
wants to merge 44 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
cd7cde9
refactor: new ui
kamiya10 Apr 25, 2024
5f78f7b
feat: intensity list proto
kamiya10 Apr 26, 2024
72f086b
feat: working config view
kamiya10 Apr 27, 2024
6661319
style: sort imports
kamiya10 Apr 27, 2024
8922e73
feat: rts-tooltip
kamiya10 Apr 28, 2024
c874b7a
fix: app name
kamiya10 Apr 28, 2024
a453cf9
feat: open report button
kamiya10 Apr 28, 2024
09794bc
feat: filedrop overlay
kamiya10 Apr 28, 2024
fb0a308
feat: replay file parsing
kamiya10 Apr 28, 2024
783eda6
feat: rts replaying
kamiya10 Apr 29, 2024
be5612e
fix: progress slider sync
kamiya10 Apr 29, 2024
de4056d
feat: hide controller when inactive
kamiya10 Apr 29, 2024
a939dd9
fix: undefined last frame
kamiya10 Apr 29, 2024
69603af
feat: progressbar markers
kamiya10 Apr 29, 2024
1cbd937
feat: frame counts besides progress
kamiya10 Apr 29, 2024
354d9b0
fix: markers
kamiya10 Apr 29, 2024
6b7b8a1
feat: markers
kamiya10 Apr 30, 2024
37dd9e6
feat: waves
kamiya10 Apr 30, 2024
d6e1ea2
feat: IntensityBall
kamiya10 May 1, 2024
d65861c
fix: light theme
kamiya10 May 1, 2024
679244a
refactor: fixed route
kamiya10 May 1, 2024
f2f32de
revert: version bump
kamiya10 May 1, 2024
9df4cf3
refactor: dedicated components
kamiya10 May 11, 2024
1f7dcf0
fix: panel height
kamiya10 May 11, 2024
19cc1e1
feat(EarthquakeView): eew marker
kamiya10 May 15, 2024
1f8d6af
feat(ReportView): cluster markers & small refactor
kamiya10 May 15, 2024
717a1d7
fix: type
kamiya10 May 15, 2024
cd6a14a
refactor: separate CircleMarker
kamiya10 May 22, 2024
c1b4918
feat: report wave circle
kamiya10 May 27, 2024
150a7a6
chore: remove scss
kamiya10 May 27, 2024
2e231a7
chore: update deps
kamiya10 May 27, 2024
833fa52
feat: notification state check
kamiya10 May 31, 2024
5e01da9
fix: window drag region
kamiya10 May 31, 2024
9bf5ae9
fix: rts fetch forward
kamiya10 Jun 7, 2024
42bc0bf
fix(NavigationEntry): active color
kamiya10 Jun 7, 2024
c1e485c
feat: account login
kamiya10 Jun 7, 2024
cee9a9a
feat: style label
kamiya10 Jun 7, 2024
58c6107
fix: post body
kamiya10 Jun 7, 2024
558218a
chore: update deps
kamiya10 Jun 7, 2024
b569c9b
fix: title bar drag
kamiya10 Jun 8, 2024
8b97d1e
chore: update js deps
kamiya10 Jun 8, 2024
9ae79de
refactor: primevue v4
kamiya10 Jul 4, 2024
a9f01d7
refactor: primevue v4, change to tile map
kamiya10 Jul 29, 2024
8af3c06
a
kamiya10 Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_STRONGHOLD_PASS=account
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,17 @@ dist-ssr
*.njsproj
*.sln
*.sw?
.fleet
.idea

# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
dist

# Logs
logs
*.log
Binary file added bun.lockb
Binary file not shown.
44 changes: 14 additions & 30 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,32 +1,16 @@
<!doctype html>
<html lang="zh-Hant">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TREM Tauri</title>
</head>
<html lang="en">

<body>
<div id="app"></div>
<svg id="svg-defs">
<defs>
<radialGradient id="warn-gradient">
<stop offset="0%" style="stop-color: rgba(255 165 0 / 1%);" />
<stop offset="50%" style="stop-color: rgba(255 165 0 / 5%);" />
<stop offset="100%" style="stop-color: rgba(255 165 0 / 20%);" />
</radialGradient>
<radialGradient id="alert-gradient">
<stop offset="0%" style="stop-color: rgba(255 0 0 / 1%);" />
<stop offset="50%" style="stop-color: rgba(255 0 0 / 5%);" />
<stop offset="100%" style="stop-color: rgba(255 0 0 / 20%);"/>
</radialGradient>
<radialGradient id="trem-eew-gradient">
<stop offset="0%" style="stop-color: rgba(124 169 35 / 1%);" />
<stop offset="50%" style="stop-color: rgba(124 169 35 / 5%);" />
<stop offset="100%" style="stop-color: rgba(124 169 35 / 20%);" />
</radialGradient>
</defs>
</svg>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>trem-tauri</title>
</head>

<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>

</html>
30 changes: 30 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2024-04-03",
devtools: { enabled: true },
srcDir: "src/",
ssr: false,
modules: ["@pinia/nuxt", "@primevue/nuxt-module", "@nuxtjs/tailwindcss"],
css: ["maplibre-gl/dist/maplibre-gl.css", "@/styles.css"],
primevue: {
options: {
ripple: true,
},
importPT: { from: "@/presets/aura/index.js" },
},
vite: {
clearScreen: false,
envPrefix: ["VITE_", "TAURI_"],
server: {
strictPort: true,
hmr: {
protocol: "ws",
host: "0.0.0.0",
port: 5183,
},
watch: {
ignored: ["**/src-tauri/**"],
},
},
},
});
Loading