devex: changelog system (#5309)
* devex: changelog system * feat: changelog CIs * feat: web alias for platform + hosting * feat: upload binaries to gh release * feat: improve copy text * fix: release workflow * fix: changelog CIs + PR health check comment * fix: action * fix: comment style * fix: comment * fix: remove health * fix: deploy use Modrinth bot machine account * feat: new system * fix: pr comment structure
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { ChevronLeftIcon } from '@modrinth/assets'
|
||||
import { getChangelog } from '@modrinth/blog'
|
||||
import { ChangelogEntry, Timeline } from '@modrinth/ui'
|
||||
import { getChangelog } from '@modrinth/utils'
|
||||
|
||||
const route = useRoute()
|
||||
|
||||
|
||||
@@ -1,24 +1,18 @@
|
||||
<script setup lang="ts">
|
||||
import { getChangelog, type Product } from '@modrinth/blog'
|
||||
import { ChangelogEntry } from '@modrinth/ui'
|
||||
import Timeline from '@modrinth/ui/src/components/base/Timeline.vue'
|
||||
import { getChangelog, type Product } from '@modrinth/utils'
|
||||
|
||||
import NavTabs from '~/components/ui/NavTabs.vue'
|
||||
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
|
||||
const filter = ref<Product | undefined>(undefined)
|
||||
const allChangelogEntries = ref(getChangelog())
|
||||
|
||||
function updateFilter() {
|
||||
if (route.query.filter) {
|
||||
let value = route.query.filter
|
||||
if (route.query.filter === 'servers') {
|
||||
router.push({ query: { ...route.query, filter: 'hosting' } })
|
||||
value = 'hosting'
|
||||
}
|
||||
filter.value = value as Product
|
||||
filter.value = route.query.filter as Product
|
||||
} else {
|
||||
filter.value = undefined
|
||||
}
|
||||
@@ -44,7 +38,7 @@ const changelogEntries = computed(() =>
|
||||
href: '',
|
||||
},
|
||||
{
|
||||
label: 'Website',
|
||||
label: 'Platform',
|
||||
href: 'web',
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user