Phase 4: Booking UI for regular users with date selection, slot booking, and e2e tests

This commit is contained in:
counterweight 2025-12-21 00:15:29 +01:00
parent 06817875f7
commit 8ff03a8ec3
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 712 additions and 1 deletions

View file

@ -7,7 +7,7 @@ import constants from "../../../shared/constants.json";
const { ADMIN, REGULAR } = constants.roles;
type PageId = "counter" | "sum" | "profile" | "invites" | "audit" | "admin-invites" | "admin-availability";
type PageId = "counter" | "sum" | "profile" | "invites" | "booking" | "audit" | "admin-invites" | "admin-availability";
interface HeaderProps {
currentPage: PageId;
@ -24,6 +24,7 @@ interface NavItem {
const REGULAR_NAV_ITEMS: NavItem[] = [
{ id: "counter", label: "Counter", href: "/" },
{ id: "sum", label: "Sum", href: "/sum" },
{ id: "booking", label: "Book", href: "/booking", regularOnly: true },
{ id: "invites", label: "My Invites", href: "/invites", regularOnly: true },
{ id: "profile", label: "My Profile", href: "/profile", regularOnly: true },
];