Add startDate and displayNewsletterRegistration fields#53
Conversation
|
Visit the preview URL for this PR (updated for commit 5f01a30): https://sunnytechwebsite--pr53-hugogresse-patch-1-f1o429cl.web.app (expires Mon, 19 Jan 2026 13:46:32 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: b96ac7ab85879442bb94dc448b41aeca0f34d16c |
There was a problem hiding this comment.
Pull request overview
This pull request adds two new fields to ticket objects in the tickets configuration file: startDate to specify when ticket sales begin, and displayNewsletterRegistration to control newsletter registration display.
Changes:
- Added
startDatefield with value "2026-01-27" to both ticket types - Added
displayNewsletterRegistrationboolean field to both ticket types
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "soldOut": false, | ||
| "highlighted": false, | ||
| "displayNewsletterRegistration": true, | ||
| "startDate": "2026-01-27", |
There was a problem hiding this comment.
Remove trailing whitespace after the comma at the end of this line.
| "available": false, | ||
| "soldOut": false, | ||
| "highlighted": true, | ||
| "startDate": "2026-01-27", |
There was a problem hiding this comment.
Remove trailing whitespace after the comma at the end of this line.
| "displayNewsletterRegistration": true, | ||
| "startDate": "2026-01-27", |
There was a problem hiding this comment.
The field order is inconsistent between ticket objects. In this ticket, displayNewsletterRegistration appears before startDate, but in the second ticket object (lines 24 and 26), startDate appears before displayNewsletterRegistration. Consider maintaining a consistent field order across all ticket objects.
No description provided.