feat: update WhatsNewPopup to reflect new app version and changelog details
This commit is contained in:
@@ -8,14 +8,18 @@ import { ScrollArea } from '@/components/ui/scroll-area';
|
|||||||
import { X } from 'lucide-react';
|
import { X } from 'lucide-react';
|
||||||
|
|
||||||
// Current app version from package.json
|
// Current app version from package.json
|
||||||
const APP_VERSION = '1.0.0';
|
const APP_VERSION = '2025.07.01';
|
||||||
|
|
||||||
// Changelog data - add new versions at the top
|
// Changelog data - add new versions at the top
|
||||||
|
|
||||||
|
// title can be like this
|
||||||
|
// "month New Month Update"
|
||||||
|
// "month Mid-Month Update"
|
||||||
|
// "month Final Update"
|
||||||
const CHANGELOG = [
|
const CHANGELOG = [
|
||||||
{
|
{
|
||||||
version: '1.0.0',
|
version: '2025.07.01',
|
||||||
date: '2025-07-01',
|
title: 'July New Month Update',
|
||||||
title: 'Initial Release',
|
|
||||||
changes: [
|
changes: [
|
||||||
'Integrated standalone Last.fm scrobbling support',
|
'Integrated standalone Last.fm scrobbling support',
|
||||||
'Added collapsible sidebar with icon-only mode',
|
'Added collapsible sidebar with icon-only mode',
|
||||||
@@ -76,9 +80,9 @@ export function WhatsNewPopup() {
|
|||||||
What's New in mice
|
What's New in mice
|
||||||
<Badge variant="outline">{currentVersionChangelog.version}</Badge>
|
<Badge variant="outline">{currentVersionChangelog.version}</Badge>
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<p className="text-sm text-muted-foreground mt-1">
|
{/* <p className="text-sm text-muted-foreground mt-1">
|
||||||
Released on {currentVersionChangelog.date}
|
Released on {currentVersionChangelog.date}
|
||||||
</p>
|
</p> */}
|
||||||
</div>
|
</div>
|
||||||
</DialogHeader>
|
</DialogHeader>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user