-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leaderboard app with query #1864
Leaderboard app with query #1864
Conversation
…inator/leaderboard-app-with-query # Conflicts: # packages/web/env-config.js.template # packages/web/src/dev/Engage.tsx # packages/web/src/dev/LeaderBoard.tsx # packages/web/src/dev/LeaderBoardApp.tsx # packages/web/static/locales/en/dev.json
@@ -97,10 +94,11 @@ function sorter(alpha: Competitor, bravo: Competitor) { | |||
return -1 | |||
} | |||
|
|||
const PORTIONS = 8 | |||
const Portions = 8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the change? for consts all caps is really more common, with Pascalcase I tend to think interfaces or classes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true, the linter was complaining, but we can revert
@@ -9,7 +9,7 @@ const environments = { | |||
projectId: 'celo-faucet', | |||
}, | |||
LEADERBOARD: { | |||
uri: "http://localhost:8080/v1/graphql", | |||
uri: "http://localhost:4000/graphiql", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume eventually this will be a non localhost URL?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it should be the one of blockscout
Seems circleci is having some issues. probably |
* new stack area before too much crazy * Freeze the illustration as we scroll past it * Mobile and tablet sizes working * fix hash link scroll to correct offset * Add leaderboard * Add browse code button to full stack area and update title of features area * Order those imports * Add connection footer to build page * More copying of files from other branch over * Add alignment options to social channels * JK * Add back translations * add Transcieve graphic * mathemagic * Reduce lines and cleanup code * Wait 2 seconds before running animation * The great celo stake off * That sweet baking * Set max height for graphic * Three mode stickiness * Engagement area of build page with mobile support * Fix Buttons on Firebox being wrong sized * Add space between buttons * When scrolling up our little illogical re attaches to the flow * This works. Maybe I can make better * Highlight ALL layers when code * Little fixes * Build updates * Updates to engage * Merging Diminator leaderboard into aaronmgdr /build (#1860) * - make page / baklava - leaderboard app with graphql fetch * fix lint * port leaderboard app to dev page * remove unused packages * expand leaderboard and env vars * Let the games begin * Lint fix * Leaderboard app with query (#1864) * cherry pick leaderboard app * web site changes * it was changed now * cleanup * fix duplicate import * Fuck yeah * Some improvements * lockfile changes * Add terms link * Always be linting * Fix lint errors * Lint * Show leaderboard and handle empty array * Fix env config * Prettify template
Description
This PR requires branch
aaronmgdr/build4
Implements the dynamic leaderboard app using a graphql query and leaderboard script:
#1810
Tested
Tested by running locally.
Related issues
To check
I'm not sure how
env-config.js.template
works