Commit Graph

116 Commits

Author SHA1 Message Date
ad7baf3885 Force UI update before generating ticket PDF
Added a zero-delay timeout to ensure the UI is updated before calling the PDF generation service. This helps prevent potential UI rendering issues when generating tickets.
2025-11-28 11:08:26 +01:00
39c7003ddd Add success snackbar on theater save
Introduces a success snackbar notification when the theater layout is successfully saved in the designer component. Also adds a custom style for the success snackbar in the theme.
2025-11-28 11:04:34 +01:00
23f681fbd3 Add middle class styling and adjust button margin
Introduced a new .middle CSS class for vertical centering in theater-layout-designer component. Updated ticket-validation button margin from mt-3 to mt-2 for improved spacing.
2025-11-28 01:52:05 +01:00
1f9c84ea36 Add ticket validation feature for employees
Introduces ticket validation and result components for employee access control, including UI for scanning and manual code entry. Updates routing, guards, and navigation for mobile support and improves ticket status handling. Also adds ngx-scanner-qrcode dependency and minor UI fixes.
2025-11-28 01:38:12 +01:00
9e2e5c5a1d Add ticket validation route and update navbar
Introduces new routes for ticket validation accessible to employees and updates the navbar to display navigation items based on user roles. Also adds role-based tooltips and icons to the navbar, and removes unnecessary finalize import in pay-for-order component.
2025-11-26 18:32:23 +01:00
a17c97e629 Add reservation code download feature
Introduces a download button in the reservation success component to allow users to download their reservation code as a text file. Adds utility methods in PdfService for downloading text and JSON files, and integrates the new download functionality into the component.
2025-11-26 12:40:49 +01:00
624ff820da Add PDF ticket generation and download feature
Introduces PDF ticket generation using html2canvas and jsPDF, including a new PdfTicketComponent for ticket rendering and a PdfService for PDF creation. Updates purchase success flow to allow users to download tickets as PDFs, adds progress feedback, and includes a test route and component for development. Also refactors order form with a fake fill helper and improves UI details.
2025-11-26 11:54:42 +01:00
ea9912d048 obfuscate admin password 2025-11-23 22:46:27 +01:00
a9d57ffee1 menu header und leere reihen 2025-11-23 17:15:30 +01:00
3a8fc2cc63 kinosaal designer 2025-11-23 16:43:22 +01:00
2ecaf2d526 Add smooth scrolling and loading spinner to statistics
Introduces smooth scrolling navigation between movie and show statistics sections, updates the header with an icon, and adds loading spinners during data fetch. Also exposes the loading service as public and refactors code for improved readability.
2025-11-23 00:31:31 +01:00
c2823c4c2b Revamp navbar layout and styling
Updated the navbar HTML structure for improved layout and visual hierarchy. Enhanced styling by removing redundant background color from CSS and adding new classes for borders, padding, and hover effects. Introduced a left arrow indicator for active and hovered navigation items.
2025-11-23 00:31:18 +01:00
2dd9bdf6f2 Sprint #5 2025-11-22 23:34:37 +01:00
Marcel-Anker
c10da6f213 add sort with angular material 2025-11-22 16:25:04 +01:00
Marcel-Anker
6c13b5ab3f Merge branch 'main' of git.infinimotion.de:infinimotion/frontend 2025-11-22 11:24:09 +01:00
Marcel-Anker
a288b38ee1 pathetic attempt to implement a filter for statistics 2025-11-22 11:20:24 +01:00
a7dacb2831 Merge branch 'main' of git.infinimotion.de:infinimotion/frontend 2025-11-21 15:55:48 +01:00
ade5479a74 Add functionality to cancel tickets
Introduces a cancel order confirmation dialog and integrates it into the order flow. Refactors error and success components to support singular/plural seat messaging and retry actions. Updates navigation and button behaviors for better user experience. Fixes minor UI and logic issues in reservation, purchase, and conversion flows.
2025-11-21 15:53:42 +01:00
3db3876a8b Add pay-for-order component for ticket payment
Introduces PayForOrderComponent with form validation and error handling for ticket payment by order code. Updates routing, navigation, and module declarations to support the new feature.
2025-11-21 02:32:43 +01:00
11ba07d550 Cleanup http.service.ts 2025-11-21 00:22:14 +01:00
3bc5b9cd3a Add cancellation and conversion error/success flows
Introduces new components for cancellation and conversion error/success states, updates routing and UI to support resuming and cancelling orders, and refactors seat selection and order handling logic to accommodate these new flows. Also improves seat selection feedback and error handling throughout the checkout process.
2025-11-20 23:19:16 +01:00
cb5758474e npm audit fix 2025-11-20 14:49:11 +01:00
Kevin Szarafin
5b5f86a4c8 Changed Pricelist layout, changed schriftgröße etc 2025-11-20 14:35:41 +01:00
Kevin Szarafin
2efd78a29c Loading seat prices from api, layout changes not final 2025-11-20 14:13:50 +01:00
53bbef417b Bugfix conflict info 2025-11-19 23:14:52 +01:00
711ad39dd6 Add selection conflict info component and handle seat conflicts
Introduces SelectionConflictInfoComponent to display seat selection conflicts when a seat is removed due to external booking. Removes ShoppingCartComponent and its references. Updates SelectedSeatsService to track conflict state and modifies TheaterOverlayComponent to detect and handle seat conflicts, updating the UI accordingly.
2025-11-19 19:53:13 +01:00
Kevin Szarafin
cf917b580e Merge branch 'main' of git.infinimotion.de:infinimotion/frontend 2025-11-19 16:37:56 +01:00
Kevin Szarafin
f37d9b4478 Pricelist hinzugefügt 2025-11-19 16:34:21 +01:00
1ef223c199 increase angular size budget 2025-11-19 11:33:59 +01:00
Marcel-Anker
cdf45876be merge upsi fix 🦏🍆🤡 2025-11-19 11:26:01 +01:00
Marcel-Anker
4e7a2a9e0a merging main 2025-11-19 11:11:23 +01:00
Marcel-Anker
3587af0e70 add two tables for statistics for movies and shows 2025-11-19 11:08:34 +01:00
Marcel-Anker
ecb31432e1 add helperfunction for date formating 2025-11-19 11:08:04 +01:00
Marcel-Anker
8ca5317795 loading data from api asynchronously and dynamically setting page number. loading onInit 2025-11-19 11:07:47 +01:00
Marcel-Anker
0aca7ace80 npm install 2025-11-19 11:04:31 +01:00
Marcel-Anker
172b0af9ab add api methods for getting statistics data for movies and shows 2025-11-19 11:04:20 +01:00
Marcel-Anker
26f2dd2165 removed redundant ; 2025-11-19 11:03:29 +01:00
b619d744c1 Add inactivity timeout and polling control to seat overlay
Introduces user inactivity tracking and timeout for seat polling in TheaterOverlayComponent. Polling is paused after 2 minutes of inactivity or when the user advances past step 1, with a snackbar notification and resume option. Refactors polling logic, adds step change event to OrderComponent, and updates custom theme for snackbar styling.
2025-11-19 10:59:34 +01:00
f4eb700ab4 Add zoom and device detection with warning component
Introduces DeviceDetectionService and ZoomDetectionService to detect mobile devices and browser zoom level. Adds ZoomWarningComponent to display warnings for unsupported mobile devices and non-optimal browser zoom, and integrates it into the app layout. Updates routing to allow mobile access for the 'poc-model' route.
2025-11-18 23:00:18 +01:00
78144d7447 Update routing and UI for performance checkout
Changed route paths and parameters for performance checkout to use '/performance/:performanceId/checkout' instead of '/selection/performance/:id'. Updated related components to use new route and param names. Improved UI spacing and styling in several components for better layout and consistency.
2025-11-18 21:00:29 +01:00
Marcel-Anker
43398c2be8 Merge branch 'main' of git.infinimotion.de:infinimotion/frontend 2025-11-18 14:01:07 +01:00
Marcel-Anker
bc274c0e0b providing statistic data in statistic component 2025-11-18 14:01:00 +01:00
4408bc9b84 Next Sprint. Juhuuu! 2025-11-17 23:37:34 +01:00
fba895a3bb Add transactional order creation API integration
Introduces saveAddOrder method in HttpService to POST orders and tickets transactionally. Refactors OrderComponent to use the new API for submitting orders and tickets in a single transaction, improving data consistency.
2025-11-17 23:06:42 +01:00
e5fcdfe212 Improve movie search & title fix 2025-11-17 22:42:17 +01:00
bd56f3242e Handle empty seats and rows in theater layout
Updated seat and row data structures to allow null values for seats and states, enabling the display of empty seat spaces and rows. Adjusted rendering logic and styles to visually represent gaps in seating, and enhanced the converter to fill missing seats and rows with placeholders.
2025-11-15 16:34:20 +01:00
be680da692 Add auto-refresh polling to theater overlay
Introduces periodic polling to refresh seat and performance data in TheaterOverlayComponent using RxJS interval and Angular signals. Polling is paused when the component is destroyed or manually via new methods, and the template is updated to use the seatsPerRow signal.
2025-11-15 02:28:43 +01:00
e5707709bf Refactor order process to fix flicker bug 2025-11-15 01:53:13 +01:00
4ec3795697 Styling 2025-11-15 00:41:18 +01:00
de5990db91 Merge branch 'main' of git.infinimotion.de:infinimotion/frontend 2025-11-14 17:56:39 +01:00