You've already forked AstralRinth
forked from didirus/AstralRinth
Updated changelog
This commit is contained in:
@@ -23,12 +23,12 @@
|
||||
</h2>
|
||||
</AutoLink>
|
||||
<div
|
||||
v-if="recent && !future"
|
||||
v-if="recent"
|
||||
v-tooltip="dateTooltip"
|
||||
class="hidden sm:flex"
|
||||
:class="{ 'cursor-help': dateTooltip }"
|
||||
>
|
||||
{{ relativeDate }}
|
||||
{{ future ? formatMessage(messages.justNow) : relativeDate }}
|
||||
</div>
|
||||
<div v-else-if="entry.version" :class="{ 'cursor-help': dateTooltip }">
|
||||
{{ longDate }}
|
||||
@@ -67,7 +67,7 @@ const props = withDefaults(
|
||||
|
||||
const currentDate = ref(dayjs())
|
||||
const recent = computed(() => props.entry.date.isAfter(currentDate.value.subtract(1, 'week')))
|
||||
const future = computed(() => props.entry.date.isBefore(currentDate.value))
|
||||
const future = computed(() => props.entry.date.isAfter(currentDate.value))
|
||||
const dateTooltip = computed(() => props.entry.date.format('MMMM D, YYYY [at] h:mm A'))
|
||||
|
||||
const relativeDate = computed(() => props.entry.date.fromNow())
|
||||
@@ -91,6 +91,10 @@ const messages = defineMessages({
|
||||
id: 'changelog.product.api',
|
||||
defaultMessage: 'API',
|
||||
},
|
||||
justNow: {
|
||||
id: 'changelog.justNow',
|
||||
defaultMessage: 'Just now',
|
||||
},
|
||||
})
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
@@ -10,6 +10,18 @@ export type VersionEntry = {
|
||||
}
|
||||
|
||||
const VERSIONS: VersionEntry[] = [
|
||||
{
|
||||
date: `2025-02-16T19:10:00-08:00`,
|
||||
product: 'web',
|
||||
body: `### Improvements
|
||||
- Fixed spacing issue on confirmation modals.`,
|
||||
},
|
||||
{
|
||||
date: `2025-02-16T19:10:00-08:00`,
|
||||
product: 'servers',
|
||||
body: `### Improvements
|
||||
- Check for availability before allowing a server upgrade.`,
|
||||
},
|
||||
{
|
||||
date: `2025-02-12T19:10:00-08:00`,
|
||||
product: 'web',
|
||||
|
||||
Reference in New Issue
Block a user