// __APP_VERSION__ is injected by Vite at build time from package.json.
// Do not hardcode a version string here — update package.json instead.
/* global __APP_VERSION__ */
export const APP_VERSION = __APP_VERSION__;
export const APP_NAME    = 'BillTracker';

export const RELEASE_NOTES = {
  version: APP_VERSION,
  date: '2026-05-15',
  highlights: [
    {
      icon: '🛡️',
      title: 'Safer financial history',
      desc: 'Bill, category, and payment deletes now use confirmations, recovery windows, and undo actions so accidental clicks do not immediately destroy important records.',
    },
    {
      icon: '🔐',
      title: 'Security checks tightened',
      desc: 'Logout-all now uses the normal CSRF header, password length rules match the backend, and CSRF SPA documentation now matches the actual cookie/header flow.',
    },
    {
      icon: '🔑',
      title: 'Private login details',
      desc: 'Your Profile now shows recent login date, IP, browser, OS, device type, and a short device ID. These details are shown only to you in the app UI.',
    },
    {
      icon: '📄',
      title: 'Privacy and release notes',
      desc: 'A public Privacy page is available from About, release notes can render images, and this update card now resets from the backend whenever the app version changes.',
    },
    {
      icon: '❄️',
      title: 'Ramsey Snowball mode',
      desc: 'Debt Snowball now defaults to smallest-balance-first, keeps custom drag ordering behind a toggle, skips mortgages by default, and adds an inline Ramsey readiness checklist.',
    },
    {
      icon: '🎛️',
      title: 'Cleaner tracker and interface polish',
      desc: 'The Tracker remaining card now shows the active 1st or 15th balance, Roadmap columns breathe on desktop and mobile, and app surfaces have a calmer darker treatment.',
    },
  ],
  image: {
    src: '/img/doingmypart.jpg',
    alt: 'Doing my part',
  },
};
