- Slides library (Alembic 0044, /api/signage/library): slides kept with a name and a
description, added to playlists as copies ("Add a slide" → Your slides, "Keep in Slides"),
or shown alone as a screen's default (device config `slide`, played as "slide:<id>",
also as a schedule's fallback). Signage → Slides: gallery + a two-pane editor.
- Widgets moved and sized by hand on the preview (WidgetCanvas: handles, snapping, arrow
keys): position/size "custom" with a box the TV draws the same; alignment per widget.
- Blank slides (background + widgets); menu boards narrower and placed left/centre/right.
- Slide editor reworked: name | show, transition effect | seconds; sections; text look on
one row with ready colours; one card per widget, settings on one row.
- Questions inside the page (@xenia/ui ConfirmDialog/useConfirm), Switch boxed, Segmented
fill; the timeline's drop line; schedule lines run on weekdays or smart days, not both;
the playlist editor stays within 1080p with a long timeline.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
3.0 KiB
Python
47 lines
3.0 KiB
Python
"""Import every model module so Base.metadata knows the whole schema.
|
|
|
|
Used by main.py (app startup), migrations/env.py (Alembic autogenerate) and
|
|
the tests. Agent note: a new model module MUST be added here, or Alembic
|
|
autogenerate will not see it and the drift guard (tests/guards) will not
|
|
catch it either.
|
|
"""
|
|
import models.user # noqa: F401 also registers WaiterZone
|
|
import models.table # noqa: F401
|
|
import models.printer # noqa: F401
|
|
import models.product # noqa: F401
|
|
import models.customers # noqa: F401
|
|
import models.phone_call # noqa: F401
|
|
import models.order # noqa: F401 also registers OrderAuditLog, OrderDiscount, PrintJob
|
|
import models.business_day # noqa: F401
|
|
import models.shift # noqa: F401 WaiterShift, ShiftBreak
|
|
import models.settings # noqa: F401
|
|
import models.flag # noqa: F401 TableFlagDef, TableFlagAssignment
|
|
import models.message # noqa: F401 StaffMessage, StaffMessageAck, QuickMessageTemplate
|
|
import models.reservation # noqa: F401
|
|
import models.notes # noqa: F401 SiteNote, SiteTodo
|
|
import models.expenses # noqa: F401 Contact, Expense, ExpensePayment
|
|
import models.tabs # noqa: F401 Tab, TabEntry, TabPayment
|
|
import models.waste # noqa: F401 WasteLog
|
|
import models.schedule # noqa: F401 ScheduledShift
|
|
import models.chat # noqa: F401 Conversation, ConversationParticipant, ChatMessage
|
|
import models.prep_zone # noqa: F401 PrepZone, prep_zone_printers, product_prep_zones
|
|
import models.pricing # noqa: F401 PriceGroup, PriceModifier, Deal, PriceEventLog, WaiterDiscountSettings
|
|
import models.recovery_code # noqa: F401
|
|
import models.sync_event # noqa: F401
|
|
import models.site_module # noqa: F401 SiteModule (module enablement, step 1.3)
|
|
import models.user_permission # noqa: F401 UserPermission (permission keys, step 1.5)
|
|
import models.role_permission # noqa: F401 RolePermission (venue role defaults, step 4.3)
|
|
import models.session # noqa: F401 LoginSession (step 1.6)
|
|
import models.device # noqa: F401 Device, DevicePairRequest (step 1.8)
|
|
import models.access_override # noqa: F401 AccessOverride (manager override, step 1.9)
|
|
import models.support_challenge # noqa: F401 SupportChallenge (support access, step 1.10)
|
|
import models.notification # noqa: F401 Notification, NotificationRead (step 1.11)
|
|
import models.fees # noqa: F401 DeliveryArea, FeeRule (phase 3S, S.3)
|
|
import models.refund # noqa: F401 Refund, RefundItem (step 3.3e)
|
|
import models.media # noqa: F401 Media (media library, step 5.1)
|
|
import models.display_look # noqa: F401 DisplayLook (customer display looks, step 5.3)
|
|
import models.signage # noqa: F401 SignagePlaylist, SignageSlide, SignageSavedSlide (signage, 5.4a; library 2026-11-21)
|
|
import models.scene # noqa: F401 Scene (2026-11-21)
|
|
import models.tablet_order # noqa: F401 TabletOrder (ordering from a menu tablet, step 6.6)
|
|
import models.floor_plan # noqa: F401 FloorPlan, FloorItem (the table map, step 6.8)
|