Superfluid S6 campaign dashboard -- data logic + presentation - #50
Open
thalescb wants to merge 1 commit into
Open
Superfluid S6 campaign dashboard -- data logic + presentation#50thalescb wants to merge 1 commit into
thalescb wants to merge 1 commit into
Conversation
- superfluid-api.js: standalone API client + reward calculations + data transformations. Reviewable as pure JS, no DOM dependencies. - index.html: presentation layer importing the module. Dark mode, responsive, Chart.js visualizations. - Season toggle: switch between S6 (live) and S5 (test data, 2611 users) to verify correctness. - Leaderboard with pagination, reward calculator, pool cards, CTAs. - Event caching across season toggles for instant switching. Replaces previous single-file approach with proper code/presentation separation per team review standards.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
Live campaign dashboard for the Superfluid SUP Rewards Season 6 campaign, fetching directly from the Superfluid Points API.
Architecture
Features
How to review
The data logic lives entirely in superfluid-api.js. Key functions:
How to test
Serve locally with python -m http.server 8081 --directory projects/superfluid-s4/dashboard then open http://localhost:8081. Use the S5 toggle to see real data (campaign 511, 2611 participants).
Closes #42