Skip to content

Commit 5728fae

Browse files
committed
Preliminary addition of release history + grafana dashboard
1 parent 43416ca commit 5728fae

File tree

7 files changed

+137
-3
lines changed

7 files changed

+137
-3
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<script>
2+
import 'vuetify/styles'
3+
import { createVuetify } from 'vuetify'
4+
import { VBtn, VCard, VCardItem, VCardText, VIcon, VTimeline, VTimelineItem } from 'vuetify/components'
5+
import '@mdi/font/css/materialdesignicons.css'
6+
7+
const vuetify = createVuetify({
8+
components: {
9+
VTimeline,
10+
VTimelineItem,
11+
VCard,
12+
VCardItem,
13+
VCardText,
14+
VIcon,
15+
VBtn
16+
},
17+
icons: { iconfont: 'mdi' }
18+
})
19+
20+
export { vuetify }
21+
</script>
22+
23+
<template>
24+
<!-- This component doesn't need to render anything -->
25+
</template>

home/.vitepress/config.mts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ export default defineConfig({
4646
nav: [
4747
{ text: 'Home', link: '/' },
4848
{ text: 'Team', link: '/team' },
49-
{ text: 'Docs', link: '/features' }
49+
{ text: 'Docs', link: '/features' },
50+
{ text: 'History', link: '/releasehistory' },
51+
{ text: 'Grafana Dashboard', link: 'https://grafana.bagelnl.my.id/public-dashboards/4164a652b5f14d25a3cf867ebc45270d?orgId=1', target: '_blank' }
5052
],
5153

5254
sidebar: [

home/.vitepress/theme/index.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,22 @@ import DefaultTheme from 'vitepress/theme'
55
import './style.css'
66
import transition from './transition.vue'
77
import MarkdownLoader from '../components/md-loader.vue'
8+
import { vuetify } from '../components/vuetify.vue'
9+
import { VCard, VCardText, VCardTitle, VTimeline, VTimelineItem, VIcon, VBtn } from 'vuetify/components'
810

911
export default {
1012
extends: DefaultTheme,
1113
Layout: transition,
1214
enhanceApp({ app, router, siteData }) {
1315
app.component('MarkdownLoader', MarkdownLoader)
16+
17+
app.use(vuetify)
18+
app.component('VTimeline', VTimeline)
19+
app.component('VTimelineItem', VTimelineItem)
20+
app.component('VCard', VCard)
21+
app.component('VCardTitle', VCardTitle)
22+
app.component('VCardText', VCardText)
23+
app.component('VIcon', VIcon)
24+
app.component('VBtn', VBtn)
1425
},
1526
} satisfies Theme

home/releasehistory.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<script setup>
2+
import history from './scripts/releasehistory.vue'
3+
if (typeof document !== 'undefined') {
4+
document.title = 'Release History | Collapse Launcher'
5+
}
6+
</script>
7+
8+
<history />

home/scripts/releasehistory.vue

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<template>
2+
<v-timeline align="start">
3+
<v-timeline-item
4+
icon="mdi-alert-decagram"
5+
dot-color="purple-lighten-2">
6+
<template v-slot:opposite>
7+
November 2nd, 2024
8+
</template>
9+
<div>
10+
<div class="text-h6">1.82.0 Release</div>
11+
<p>
12+
This release branch is mainly focused on code improvements leading to implementation of NativeAOT, including upgrading to .NET 9.0.
13+
</p>
14+
<p>
15+
It also includes some new features, including Bandwidth Limiter, Per-region custom background, playtime synchronization, and more.
16+
</p>
17+
</div>
18+
<v-btn
19+
color="purple-lighten-3"
20+
href="https://github.com/CollapseLauncher/Collapse/releases/tag/CL-v1.82.0-pre"
21+
target="_blank">
22+
Release notes
23+
</v-btn>
24+
</v-timeline-item>
25+
26+
<v-timeline-item
27+
icon="mdi-alert-decagram"
28+
icon-color="white"
29+
dot-color="green-lighten-2">
30+
<template v-slot:opposite>
31+
April 12th, 2024
32+
</template>
33+
<div>
34+
<div class="text-h6">1.80.0 Release</div>
35+
<p>
36+
UI overhaul update! This release includes a new UI design, new features, and bug fixes.
37+
</p>
38+
<p>
39+
This release also adds capability to use video as custom background, and other improvements in background backend codes.
40+
</p>
41+
</div>
42+
<v-btn
43+
color="green-lighten-3"
44+
href="https://github.com/CollapseLauncher/Collapse/releases/tag/CL-v1.80.0-pre"
45+
target="_blank">
46+
Release notes
47+
</v-btn>
48+
</v-timeline-item>
49+
</v-timeline>
50+
</template>

package-lock.json

Lines changed: 37 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"home:preview": "vitepress preview home"
66
},
77
"dependencies": {
8+
"@mdi/font": "^7.4.47",
89
"highlight.js": "^11.11.1",
910
"markdown-it": "^14.1.0",
1011
"marked": "^15.0.7",
1112
"marked-highlight": "^2.2.1",
1213
"medium-zoom": "^1.1.0",
1314
"vitepress": "^2.0.0-alpha.4",
14-
"vue": "^3.5.13"
15+
"vue": "^3.5.13",
16+
"vuetify": "^3.7.18"
1517
}
1618
}

0 commit comments

Comments
 (0)