Alerts - maar35/film-festival-planner GitHub Wiki

Alerts

In the toolbar, two kinds of alerts are displayed, screening warnings and ticket problems. These situations are also apparent from symbols displayed on screening labels and click pads, but since they persist when the user navigates away from such screenings, they are summarized in the tool bar.

Warnings dialog

When the Screening Warnings or the Ticket Problems toolbar items are clicked, the Warnings dialog appears.

The Warnings dialog displays a list of all screenings that need alerts.

A screening in the list can be clicked to navigate to it's day schema and open it's Screening Info dialog.

To the right of each screening in the list is checkbox labeled 'Tickets' with the same effect as the 'Tickets bought' checkbox in the Screening Info dialog. This allows ticket problems to be solved within the Warnings dialog.

When changing the ticket status, the user is protected against unsaved changes

Screening warnings

Screening warnings concern unfortunate planned screenings.

Warning types are:

  • Multiple screenings of the same film attended
  • Screenings attended that overlap in time
  • Screening attended that is screened when the film fan is unavailable

In all these cases, a warning symbol (a yellow triangle with an exclamation mark ⚠️) appears in the click pad of the screening concerned.

If applicable, the warning type is displayed in the Screening Info dialog.

Ticket problems

Ticket problems concern the need for, or superfluousness of, tickets for screenings.

The ticket status values are:

Ticket Status Me attends Tickets bought Frame color
NoTicketsNeeded 𐄂 𐄂
MustBuyTickets 𐄂 $\color{rgb(176, 0, 176)} {\textsf{Purple}}$
MustSellTickets 𐄂 $\color{rgb(38, 255, 176)} {\textsf{Aqua}}$
TicketsArranged

Of these, MustBuyTickets and MustSellTickets are considered problems.

In case of ticket problems, the screening's click pad gets a colored frame, Purper for MustBuyTickets, Aqua for MustSellTickets. The screening label background will be colored Purple or Aqua likewise.