Skip to content
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

feat: points page #176

Merged
merged 15 commits into from
May 22, 2024
Merged

feat: points page #176

merged 15 commits into from
May 22, 2024

Conversation

schmanu
Copy link
Member

@schmanu schmanu commented May 21, 2024

What this PR changes

  • Adds new page for points
  • Shows total points gained for global activities
  • Shows global leaderboard
  • Shows global activities and campaign info

Copy link

github-actions bot commented May 21, 2024

Branch preview

✅ Deploy successful!

https://activities_new_page--governance.review-react-br.5afe.dev

Copy link

github-actions bot commented May 21, 2024

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@schmanu schmanu requested a review from jmealy May 21, 2024 10:23
@@ -19,6 +19,7 @@ const digitRotations: Record<number, number> = {
const BoostCounter = ({
value,
direction,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prettier out of control?

Comment on lines 120 to 121
[Chains.SEPOLIA]: 'fa9f462b-8e8c-4122-aa41-2464e919b721',
[Chains.MAINNET]: 'fa9f462b-8e8c-4122-aa41-2464e919b721',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same campaign ids on both chains?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mainnet does not exist yet. Will be created momentarily and then replaced :)

const ownEntry = useOwnCampaignRank(campaign?.resourceId)
const { data: ownEntry, isLoading } = useOwnCampaignRank(campaign?.resourceId)

console.log(ownEntry, isLoading)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you forgot to remove that.

@schmanu schmanu merged commit fc5a4c3 into dev May 22, 2024
5 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators May 22, 2024
@schmanu schmanu deleted the activities/new-page branch May 22, 2024 09:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants