From 6f8040c397f5cc81f5acbc2a7bb76e53acdd04f3 Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Fri, 25 Sep 2026 01:48:08 +0200 Subject: [PATCH] Menu counts for open reports and moderation, item tooltips in warehouse and Lumishop - Reports: the menu item shows how many reports are still open (not archived), for everyone with reports.view. The reports live in the bot, so the count sits in settings.reports_nav_cache and is fetched at most every 2 minutes with a short timeout (reports_nav_open()); the reports page refreshes it right away, also after archiving. reports_api_request() takes a timeout. - Moderation: the menu count now matches the "Freigabe" tab - waiting items plus reported items that are still visible (moderation_open_counts(), internal calendar entries only for calendar.leadership), with a title like "2 warten auf Freigabe, 1 gemeldet". - Warehouse and Lumishop cards get an info bubble on mouse hover or keyboard focus (not on touch): large image, category, stock, Lumishop price and the last movement in the warehouse; price, availability, amount in open requests and whether the own Lumipunkte suffice in the shop. Weapons and armour with the same name in the gear catalogue also show grade, level and base stats. Content is rendered as a