a3d24927d47869adad80e2f5cde2d529582bcbcd
Replace the binary nip85OnlyMode boolean with a statsMode enum that supports three options: - "nip85-only": Show only pre-computed NIP-85 stats (fastest, may be empty) - "manual-only": Always calculate stats from relay queries (slower, guaranteed) - "both": Use NIP-85 when available with manual fallback (recommended default) Updated components: - AppContext: Changed nip85OnlyMode to statsMode with StatsMode type - AppProvider: Updated Zod schema to validate three-mode enum - useTrending.ts: Implemented logic for all three modes in useEventStats and useBatchEventStats - AdvancedSettings: Replaced switch with radio group for better UX Default remains "nip85-only" for optimal performance. Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
Description
Languages
TypeScript
95.7%
Java
1.5%
JavaScript
0.9%
Swift
0.9%
CSS
0.5%
Other
0.4%