Files
Crussell/obsidian/.obsidian/workspace.json
T
popertots 50746595e7 feat(bookings): improve admin booking wizard and user dashboard
Backend:
- Enriched GetAllUserBookings response with calculated total_amount,
  amount_paid, and duration_minutes.
- Refactored GetBookingHandler to return a flat booking object matching
  frontend expectations.
- Added account_role to admin user list response and sorted users by
  booking activity.
- Corrected function name oo to AdminCreateBookingForUserHandler.

Frontend:
- Rebuilt BookingCreateModal into a 4-step wizard supporting guest
  bookings, service overrides, and real-time availability checks.
- Fixed account dashboard logic to correctly identify upcoming vs past
  bookings and sort unpaid items to the top.
- Extracted booking flow into a shared BookingFlow component.
- Redirected admin users from home page to /today.
2026-02-12 22:15:10 +00:00

180 lines
4.7 KiB
JSON

{
"main": {
"id": "118cffd7cdee3b11",
"type": "split",
"children": [
{
"id": "4f4ac1241ce3420f",
"type": "tabs",
"children": [
{
"id": "0c84336298f72379",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Crussell/Crussell Nails.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "Crussell Nails"
}
}
]
}
],
"direction": "vertical"
},
"left": {
"id": "53a883d203e9233d",
"type": "split",
"children": [
{
"id": "490f9de080de140d",
"type": "tabs",
"children": [
{
"id": "42aca4a7881f98cd",
"type": "leaf",
"state": {
"type": "file-explorer",
"state": {
"sortOrder": "alphabetical",
"autoReveal": false
},
"icon": "lucide-folder-closed",
"title": "Files"
}
},
{
"id": "3f5a2398495786b0",
"type": "leaf",
"state": {
"type": "search",
"state": {
"query": "",
"matchingCase": false,
"explainSearch": false,
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical"
},
"icon": "lucide-search",
"title": "Search"
}
},
{
"id": "332fce93850753ed",
"type": "leaf",
"state": {
"type": "bookmarks",
"state": {},
"icon": "lucide-bookmark",
"title": "Bookmarks"
}
}
]
}
],
"direction": "horizontal",
"width": 300
},
"right": {
"id": "2750d7726f904ef3",
"type": "split",
"children": [
{
"id": "8cf8aee55a46981b",
"type": "tabs",
"children": [
{
"id": "5c7ce50806d60318",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "Express.js Cheat Sheet.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
"showSearch": false,
"searchQuery": "",
"backlinkCollapsed": false,
"unlinkedCollapsed": true
},
"icon": "links-coming-in",
"title": "Backlinks for Express.js Cheat Sheet"
}
},
{
"id": "77c2a28112c134e9",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "Crussell/Crussell Nails.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
},
"icon": "links-going-out",
"title": "Outgoing links from Crussell Nails"
}
},
{
"id": "0f217e57cf9fb6d9",
"type": "leaf",
"state": {
"type": "tag",
"state": {
"sortOrder": "frequency",
"useHierarchy": true,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-tags",
"title": "Tags"
}
},
{
"id": "013dd65f19607fbd",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "Crussell/Crussell Nails.md",
"followCursor": false,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-list",
"title": "Outline of Crussell Nails"
}
}
]
}
],
"direction": "horizontal",
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
"switcher:Open quick switcher": false,
"graph:Open graph view": false,
"canvas:Create new canvas": false,
"daily-notes:Open today's daily note": false,
"templates:Insert template": false,
"command-palette:Open command palette": false,
"bases:Create new base": false
}
},
"active": "0c84336298f72379",
"lastOpenFiles": [
"Crussell/Backend/bookings.md",
"Crussell/Crussell Nails.md",
"Untitled.base",
"Untitled.canvas",
"Express.js Cheat Sheet.md"
]
}