Commit Graph
8 Commits
Author SHA1 Message Date
bernardo 62a09e4261 Leaderboard: clear button and hygiene for migrated legacy data
A scratch test earlier in development wrote a fake 42s Beginner record into
the legacy ~/.config/minesweeper/leaderboard.ini, which the migration imported;
as a stored best it can never be beaten by slower real games, so the popover
showed a lower time than actually played.

- Add a 'Clear scores' button to the leaderboard popover
- Delete the legacy file after a successful migration so stale data can't
  be re-imported
2026-08-01 17:09:08 +01:00
bernardo 6c69556b25 KABOOM!: replace translucent panel with a layered drop shadow 2026-08-01 16:43:15 +01:00
bernardo cee916224a Replace loss dialog with KABOOM! overlay; bevel the New Game button
- Losing no longer pops a dialog: the board draws a tilted KABOOM! banner
  (theme-independent, auto-scaling, dark translucent panel) over the revealed
  mines; restart via the New Game button or R/Ctrl+N
- Win dialog unchanged (time + new-record note, delayed for the confetti)
- New Game button gets an explicit theme-aware bevel (gradient, border,
  hover/active) so it reads as a button even with themes that flatten widgets
2026-08-01 16:40:55 +01:00
bernardo 9a9d9f3fea Move flags/timer out of the header bar into a status bar above the grid
Header bar now holds only Difficulty + Leaderboard. A status bar above the
board shows the flag counter (left), the New Game button (center) and the
timer (right) as LCD-style panels styled with theme-aware CSS.
2026-08-01 16:30:46 +01:00
bernardo 08ae7cd1ef Pin flatpak source commit to the popover fix 2026-08-01 16:00:46 +01:00
bernardo 49651fd42d Fix transparent popover backgrounds
Some GTK themes (and newer GTK versions) leave popover surfaces
transparent. Add the canonical 'menu' class to both popovers and a
theme-aware CSS override so the difficulty/leaderboard menus always
draw an opaque background.
2026-08-01 16:00:33 +01:00
bernardo 97565e415d Add flatpak build plumbing
- io.github.bemagri.nomines.yml: builds libsigc++/glibmm/cairomm/pangomm/gtkmm
  from tarballs against the GNOME 46 runtime, then the app from the v1.0.0 tag
- Icon: app-id-named PNGs (128/512) for flatpak export, svg kept for native
  installs; desktop file Icon updated
- README/AGENTS.md: flatpak build instructions and version traps
2026-08-01 15:34:28 +01:00
bernardo 2dbf64a2e8 Release 1.0.0: rename to NoMines, add leaderboard, theme support and release metadata
- Rename app/binary/app-id to nomines (io.github.bemagri.nomines), config dir
  moves to ~/.config/nomines with legacy path fallback
- Add persistent best-time leaderboard (Glib::KeyFile)
- Theme-aware board following system light/dark preference
- Beveled 3D cells, confetti win animation, keyboard shortcuts,
  right-click chording, per-difficulty window sizing
- Add AppStream metainfo, validate desktop file and metainfo via meson tests
- Fix license metadata to GPL-3.0-or-later and real homepage
2026-08-01 14:06:43 +01:00