Skip to content

Feature: Add support for multi-type dances.

Anselm Lingnau requested to merge feature/multi-type-dances into main

This MR adds the notion of “multi-type dances”, i.e., dances which are published as “Reel or Jig”, etc.

Rather than making the relationship between dances and dance types an m:n relationship, we add the dance types R/J, R/S, J/S, and R/J/S. In addition, the following changes are made:

  • “Complex dance search” is modified so that a search for reels will return dances of type R, R/J, R/S, and R/J/S (with analogous chagnes for the other dance types).
  • Dance list items that contain dances support the notion of an “effective dance type”, which is the one that governs the background colour of the item. When a multi-type dance is added to a dance list, it is assigned an effective dance type which the user can change later.

Merge request reports

Loading