Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,31 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0] - 2026-05-14

### Added

#### Reservation Trends Analytics (#44)
- New admin page at `/reservations/trends` with six charts: daily bookings, peak days of the week, party-size distribution, status breakdown, booking lead time, and hourly distribution
- Period selector (7/14/30/60/90 days) and per-location filter
- New staff-only `GET /api/reservations/analytics` endpoint backed by Prisma aggregations + raw SQL for date binning

#### Storefront Photo Gallery (#45)
- Public gallery page at `/gallery` with category filter chips (Food, Interior, Garden, Events) and lightbox modal
- Gallery link added to all storefront header templates
- Translated subtitle, category labels, and empty state across all six locales (en, de, es, fr, it, pt)
- New `GalleryImage` Prisma model + admin CRUD at **Design → Gallery**: add, edit, hide/show, reorder, delete
- Seed data: 13 sample images across the four categories

#### Admin Media Library (#46)
- New page at **Design → Media Library** with drag-and-drop upload, multi-select uploads, copy-URL action, and delete
- Files stored locally under `/uploads`, indexed in a new `MediaAsset` table (filename, MIME type, size, uploader)
- Reusable `MediaPickerModal` component that future admin forms can adopt without re-implementing the upload/listing flow
- New endpoints (staff-only): `GET /api/media`, `POST /api/media/upload`, `DELETE /api/media/:id`

### Tests
- Added integration tests covering auth gating, validation, and happy paths for the new reservation analytics, gallery, and media endpoints

## [0.2.0] - 2026-03-09

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kitchenasty",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"workspaces": [
"packages/*"
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kitchenasty/admin",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kitchenasty/docs",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kitchenasty/mobile",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"main": "expo-router/entry",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kitchenasty/server",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"scripts": {
"dev": "tsx watch src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kitchenasty/shared",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/storefront/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kitchenasty/storefront",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
Loading