Skip to content

Commit c164392

Browse files
committed
feat(web): update claude code 1
1 parent f8bea2b commit c164392

24 files changed

+773
-711
lines changed

web/.claude/settings.local.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(npm install)",
5+
"Bash(npm install:*)",
6+
"Bash(npm run build:*)",
7+
"Bash(npm run lint:*)"
8+
],
9+
"deny": []
10+
}
11+
}

web/package-lock.json

Lines changed: 640 additions & 603 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
"@mdi/font": "^7.0.0",
1313
"ansi_up": "^6.0.6",
1414
"axios": "^1.8.3",
15-
"chart.js": "^3.8.0",
15+
"chart.js": "^4.4.0",
1616
"core-js": "^3.40.0",
1717
"cron-parser": "^5.3.0",
1818
"dayjs": "^1.11.13",
19-
"vue": "^2.6.14",
20-
"vue-chartjs": "^4.0.0",
19+
"vue": "^3.4.0",
20+
"vue-chartjs": "^5.3.0",
2121
"vue-codemirror": "^4.0.6",
22-
"vue-i18n": "^8.18.2",
23-
"vue-router": "^3.5.4",
22+
"vue-i18n": "^9.9.0",
23+
"vue-router": "^4.2.0",
2424
"vue-virtual-scroll-list": "^2.3.5",
25-
"vuedraggable": "^2.24.3",
26-
"vuetify": "^2.6.10"
25+
"vuedraggable": "^4.1.0",
26+
"vuetify": "^3.5.0"
2727
},
2828
"devDependencies": {
2929
"@vue/cli-plugin-babel": "^5.0.6",
@@ -51,11 +51,10 @@
5151
"openai": "^4.65.0",
5252
"plugin-error": "^2.0.1",
5353
"prettier": "^3.4.2",
54-
"sass": "~1.32.12",
54+
"sass": "~1.77.0",
5555
"sass-loader": "^13.0.0",
5656
"through2": "^4.0.2",
57-
"vue-cli-plugin-vuetify": "~2.5.0",
58-
"vue-template-compiler": "^2.6.14",
59-
"vuetify-loader": "^1.8.0"
57+
"@vitejs/plugin-vue": "^5.0.0",
58+
"vite-plugin-vuetify": "^2.0.0"
6059
}
6160
}

web/src/App.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,7 @@
907907
font-size: 1rem;
908908
}
909909
910-
@import '~vuetify/src/styles/styles.sass';
911-
@media #{map-get($display-breakpoints, 'xl-only')} {
910+
@media (min-width: 1264px) {
912911
.CenterToScreen {
913912
transform: translateX(-130px);
914913
}
@@ -1085,7 +1084,7 @@ export default {
10851084
},
10861085
10871086
darkMode(val) {
1088-
this.$vuetify.theme.dark = val;
1087+
this.$vuetify.theme.global.name = val ? 'dark' : 'light';
10891088
if (val) {
10901089
localStorage.setItem('darkMode', '1');
10911090
} else {

web/src/assets/scss/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $mdi-font-path: "~@mdi/font/fonts";
5757
src: url("../fonts/Roboto-Black.ttf") format('truetype');
5858
}
5959

60-
@import '~vuetify/src/styles/main';
60+
@import 'vuetify/styles';
6161

6262
.v-application.theme--dark .v-overlay__scrim {
6363
background: #878787 !important;

web/src/components/AboutDialog.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<template></template>
1+
<template>
2+
<div></div>
3+
</template>

web/src/components/TaskDetails.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,19 +89,19 @@
8989
</tr>
9090
<tr>
9191
<td><b>{{ $t('created') }}</b></td>
92-
<td>{{ item.created | formatDate }}</td>
92+
<td>{{ $filters.formatDate(item.created) }}</td>
9393
</tr>
9494
<tr>
9595
<td><b>{{ $t('started') }}</b></td>
96-
<td>{{ item.start | formatDate }}</td>
96+
<td>{{ $filters.formatDate(item.start) }}</td>
9797
</tr>
9898
<tr>
9999
<td><b>{{ $t('end') }}</b></td>
100-
<td>{{ item.end | formatDate }}</td>
100+
<td>{{ $filters.formatDate(item.end) }}</td>
101101
</tr>
102102
<tr>
103103
<td><b>{{ $t('duration') }}</b></td>
104-
<td>{{ [item.start, item.end] | formatMilliseconds }}</td>
104+
<td>{{ $filters.formatMilliseconds([item.start, item.end]) }}</td>
105105
</tr>
106106
</tbody>
107107
</template>

web/src/components/TaskLink.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
</template>
3737
<style lang="scss">
3838
39-
@import '~vuetify/src/styles/settings/_colors.scss';
40-
4139
.task-link-with-tooltip {
4240
text-decoration: underline !important;
4341
text-decoration-style: dashed !important;
@@ -47,7 +45,7 @@
4745
a.task-link-with-tooltip {
4846
&:hover {
4947
text-decoration-style: solid !important;
50-
text-decoration-color: map-deep-get($blue, 'darken-2') !important;
48+
text-decoration-color: #1976d2 !important;
5149
}
5250
}
5351

web/src/components/TaskList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@
4848
</template>
4949

5050
<template v-slot:item.start="{ item }">
51-
{{ item.start | formatDate }}
51+
{{ $filters.formatDate(item.start) }}
5252
</template>
5353

5454
<template v-slot:item.end="{ item }">
55-
{{ [item.start, item.end] | formatMilliseconds }}
55+
{{ $filters.formatMilliseconds([item.start, item.end]) }}
5656
</template>
5757

5858
<template v-slot:item.actions="{ item }">

web/src/components/TaskLogView.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030

3131
Started <span v-if="user">by <b>{{ user.name }}</b></span>
3232

33-
at <b>{{ item.start | formatDate }}</b>
33+
at <b>{{ $filters.formatDate(item.start) }}</b>
3434
</span>
3535

3636
<span class="ml-3 hidden-sm-and-down task-log-view__status_part">
3737
<v-icon
3838
small style="transform: translateY(-1px)">mdi-clock-outline</v-icon>
39-
{{ [item.start, item.end] | formatMilliseconds }}
39+
{{ $filters.formatMilliseconds([item.start, item.end]) }}
4040
</span>
4141
</div>
4242

@@ -58,7 +58,7 @@
5858
>
5959
<div class="task-log-records__record" v-for="record in output" :key="record.id">
6060
<div class="task-log-records__time">
61-
{{ record.time | formatTime }}
61+
{{ $filters.formatTime(record.time) }}
6262
</div>
6363
<div class="task-log-records__output" v-html="$options.filters.formatLog(record.output)">
6464
</div>
@@ -130,7 +130,7 @@
130130

131131
<style lang="scss">
132132
133-
@import '~vuetify/src/styles/settings/_variables';
133+
@import 'vuetify/settings';
134134
135135
$card-title-height: 68px;
136136

0 commit comments

Comments
 (0)