feat: in-app changelog panel #193

Closed
opened 2026-03-06 11:30:15 -08:00 by hikari Β· 0 comments
Owner

Overview

Add an in-app changelog panel that displays recent release notes directly within Hikari Desktop, so users can see what's new without leaving the app.

Motivation

Currently users have to check GitHub/Gitea releases or the repository manually to see what changed in a new version. An in-app changelog improves discoverability and helps users understand new features after an update.

Proposed Behaviour

  • A Changelog button in the status bar (e.g. πŸ“‹ or πŸŽ‰ icon)
  • Opens a modal panel listing recent versions and their release notes
  • Fetches release data from the Gitea API (git.nhcarrigan.com/nhcarrigan/hikari-desktop/releases)
  • Shows release tag, date, and body (rendered as markdown)
  • "What's New" badge: on first launch after an update, show a notification dot on the changelog button until the user opens it
    • Compare stored last-seen version (in config or local storage) against current appVersion
    • Clear the badge once the panel is opened

Implementation Notes

  • Use @tauri-apps/api/app getVersion() for the current app version
  • Fetch releases via fetch() from the Gitea API (no auth needed for public repo)
  • Store last_seen_version in the app config (configStore) to track the "new" badge state
  • Render markdown release bodies using the existing markdown renderer (if available) or a simple pre-formatted block
  • Paginate or cap at the last ~10 releases to keep the panel lightweight
  • Cache fetched releases in-session to avoid repeated API calls

Acceptance Criteria

  • Changelog button visible in the status bar
  • Panel opens and displays at least the 10 most recent releases
  • Each entry shows: version tag, release date, release notes
  • Notification dot appears after an update (version mismatch with stored value)
  • Notification dot clears after opening the panel
  • Graceful error state if the API is unreachable (offline mode)
  • Full test coverage for the store logic

✨ This issue was created with help from Hikari~ 🌸

## Overview Add an in-app changelog panel that displays recent release notes directly within Hikari Desktop, so users can see what's new without leaving the app. ## Motivation Currently users have to check GitHub/Gitea releases or the repository manually to see what changed in a new version. An in-app changelog improves discoverability and helps users understand new features after an update. ## Proposed Behaviour - A **Changelog** button in the status bar (e.g. πŸ“‹ or πŸŽ‰ icon) - Opens a modal panel listing recent versions and their release notes - Fetches release data from the Gitea API (`git.nhcarrigan.com/nhcarrigan/hikari-desktop/releases`) - Shows release tag, date, and body (rendered as markdown) - **"What's New" badge**: on first launch after an update, show a notification dot on the changelog button until the user opens it - Compare stored last-seen version (in config or local storage) against current `appVersion` - Clear the badge once the panel is opened ## Implementation Notes - Use `@tauri-apps/api/app` `getVersion()` for the current app version - Fetch releases via `fetch()` from the Gitea API (no auth needed for public repo) - Store `last_seen_version` in the app config (`configStore`) to track the "new" badge state - Render markdown release bodies using the existing markdown renderer (if available) or a simple pre-formatted block - Paginate or cap at the last ~10 releases to keep the panel lightweight - Cache fetched releases in-session to avoid repeated API calls ## Acceptance Criteria - [ ] Changelog button visible in the status bar - [ ] Panel opens and displays at least the 10 most recent releases - [ ] Each entry shows: version tag, release date, release notes - [ ] Notification dot appears after an update (version mismatch with stored value) - [ ] Notification dot clears after opening the panel - [ ] Graceful error state if the API is unreachable (offline mode) - [ ] Full test coverage for the store logic ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-03-07 03:08:34 -08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#193