From a7c56f8d433c6e9a6a86859d221be63b7c6da84a Mon Sep 17 00:00:00 2001 From: c0de Date: Fri, 29 Dec 2023 11:24:16 -0600 Subject: [PATCH] rework test to have reaction counts --- test.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index b4f8034..16fd47b 100644 --- a/test.py +++ b/test.py @@ -64,18 +64,21 @@ template_vars = { }, ], }, + "gallery": { + "max_reactions_per_card": 10, + }, "gallery_items": [ { "src": "https://files.c0defox.es/Pictures/arctic-fox.jpg", "description": "An arctic fox :3", "title": "fox", - "reactions": ["heart-fill", "backpack4", "balloon-fill", "bag-x-fill"], + "reactions": {"heart-fill":4, "backpack4":1, "balloon-fill":45, "bag-x-fill":0}, }, { "src": "https://files.c0defox.es/Pictures/arctic-fox.jpg", "description": "An arctic fox :3", "title": "fox", - "reactions": [], + "reactions": {"heart-fill":1024, "bag-x-fill":50}, }, { "src": "https://files.c0defox.es/Pictures/arctic-fox.jpg",