enterprisemediawiki / SemanticActions

An action tracking system for a Semantic MediaWiki
MIT License
3 stars 2 forks source link

Filter board column on more than one label #38

Open darenwelsh opened 2 years ago

darenwelsh commented 2 years ago

Some potential issues after initially thinking this through:

darenwelsh commented 2 years ago

For the optional "None of these labels" column, a different approach would be to

  1. query for actions that meet the criteria of each column
  2. make an array of these actions represented in defined columns
  3. make another array of actions using the filters for the whole board
  4. make a new array based on the diff of the first two arrays
  5. use that diff array to define which actions to show in the optional "None of these labels" column
darenwelsh commented 2 years ago

Decision: For now, only accommodate AND conditions for multiple labels defining a column. For example, if someone lists Label:In work and Label:Urgent to define a column, only show actions that have both labels.