From f6bd91ea9beef64e0ff0865560219a64a367bb5b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 22 May 2022 12:00:01 -0300 Subject: divide referenced-by lists by configurable groups ...instead of hard-coding 'em --- src/data/things.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/data/things.js') diff --git a/src/data/things.js b/src/data/things.js index 8f460e4..18efac4 100644 --- a/src/data/things.js +++ b/src/data/things.js @@ -1388,13 +1388,22 @@ WikiInfo.propertyDescriptors = { update: {validate: isURL} }, - // Feature toggles + divideTrackListsByGroupsByRef: Thing.common.referenceList(Group), + // Feature toggles enableFlashesAndGames: Thing.common.flag(false), enableListings: Thing.common.flag(false), enableNews: Thing.common.flag(false), enableArtTagUI: Thing.common.flag(false), enableGroupUI: Thing.common.flag(false), + + // Update only + + groupData: Thing.common.wikiData(Group), + + // Expose only + + divideTrackListsByGroups: Thing.common.dynamicThingsFromReferenceList('divideTrackListsByGroupsByRef', 'groupData', find.group), }; // -> Language -- cgit 1.3.0-6-gf8a5