diff --git a/package.json b/package.json index 267ec72..690f0d4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "chrono-snap", "private": true, - "version": "0.1.2", + "version": "0.2.0", "type": "module", "scripts": { "dev": "vite", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 8741e22..b870c31 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -667,7 +667,7 @@ dependencies = [ [[package]] name = "chrono-snap" -version = "0.1.2" +version = "0.2.0" dependencies = [ "anyhow", "base64 0.22.1", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index a3a01bf..a86051c 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "chrono-snap" -version = "0.1.2" +version = "0.2.0" description = "An app to record screens and events" authors = ["you"] edition = "2021" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 75d11ce..8faafec 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "chrono-snap", - "version": "0.1.2", + "version": "0.2.0", "identifier": "top.volan.chrono-snap", "build": { "beforeDevCommand": "pnpm dev", @@ -12,7 +12,7 @@ "app": { "windows": [ { - "title": "瞬影 - 时间记录 v0.1.2", + "title": "瞬影 - 时间记录 v0.2.0", "width": 1760, "height": 1100 } diff --git a/src/App.vue b/src/App.vue index f451e1f..8d21256 100644 --- a/src/App.vue +++ b/src/App.vue @@ -403,7 +403,7 @@ const togglePause = async () => {
-

{{ editingEvent.id ? '编辑记录' : '新增记录' }}

+

{{ editingEvent.id ? '编辑事件' : '新增事件' }}

@@ -443,7 +443,7 @@ const togglePause = async () => {
- +
diff --git a/src/components/views/Dashboard.vue b/src/components/views/Dashboard.vue index 55a7637..e39dbe9 100644 --- a/src/components/views/Dashboard.vue +++ b/src/components/views/Dashboard.vue @@ -2,7 +2,7 @@ import { ref, computed, onMounted, onUnmounted } from "vue"; import { BarChart2, Calendar, ChevronLeft, ChevronRight } from "lucide-vue-next"; import { - dashboardStats, dashboardRange, dailyAverageMode, dashboardStartDate, dashboardEndDate, + dashboardStats, dashboardRange, dailyAverageMode, customStartDate, customEndDate, isStartCalendarOpen, isEndCalendarOpen, formatMinutes, getTagColor, getTagName @@ -71,19 +71,19 @@ const endCalendarDays = computed(() => getCalendarDays(endCalendarMonth.value));
- {{ startCalendarMonth.getFullYear() }}年 {{ startCalendarMonth.getMonth()+1 }}月 + {{ startCalendarMonth.getFullYear() }}年 {{ startCalendarMonth.getMonth()+1 }}月
-
{{d}}
+
{{d}}
- +
@@ -91,19 +91,19 @@ const endCalendarDays = computed(() => getCalendarDays(endCalendarMonth.value));
- {{ endCalendarMonth.getFullYear() }}年 {{ endCalendarMonth.getMonth()+1 }}月 + {{ endCalendarMonth.getFullYear() }}年 {{ endCalendarMonth.getMonth()+1 }}月
-
{{d}}
+
{{d}}
- +
@@ -160,10 +160,10 @@ const endCalendarDays = computed(() => getCalendarDays(endCalendarMonth.value));
{{ getTagName(sub.id) }}
-
+
- {{ formatMinutes(sub.total) }} + {{ formatMinutes(sub.total) }}