Item Tags and Filters

Sometimes there are large data sets where you want to present a subset at a time to your user.

Matchoo achieves this through categories. Within the editor categories can be applied to either rows or columns. When pack is processed for publishing each cell with text, image, equation, etc becomes a card. It's categories are the combination of all categories on the row and any applied to the column (in the fields editor).



The two images above show the periodic table being setup. To the left we have a "classification" tag, to the right the elements location in the table. Note that having two separate columns is for editing ease only - when processed all categories in a row are collapsed together.

The image below shows the other place tags can be added, in the field editor. All cards created for that field (i.e. a column in the editor) will have any tags applied to the field as well as any tags on their row.

One other thing of note - on the left hand side we're in multi edit mode. Multi edit mode is toggled with the icon at the bottom right, it allows users to copy/delete/move batches of items AND when editing categories applies the edits to all selected rows.




So how can these tags be used?

Tags are used in game modes. For simple data we don't bother with tags - game modes will automatically create cards from fields and assume all in a row match.

For something like the periodic table though it's easier to edit in one place and then have the game modes specific which tags they are going to use.

An example of this is in the Multiple Choice game mode:



Here we can specify question and answer filters. Filters are a top level construct - you'll find a filter section next to the list of packages and list of levels. This means that by using the same tag names on different packs you can reuse filters.


The image above shows the details of a very simple filter. Filters specify which tags they are interested in. 

Word of warning! Its fairly easy to create filters that don't make sense so be a bit careful. For instance in this case if MatchAll consisted of G1 and G2 the filter will fail as on elements are in both groups at the same time. A variation on this theme is a game mode that specifies Group1 filter for its Questions and Group2 for it's answers. It won't be able to find any Question/Answer pairs that work.

That being said they provide a powerful took in deciding what data to present to the user!

Comments

Popular Posts