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

Release v2-testnet-4.0.1 #1793

Merged
merged 208 commits into from
Dec 16, 2024
Merged

Release v2-testnet-4.0.1 #1793

merged 208 commits into from
Dec 16, 2024

Conversation

jaybuidl
Copy link
Member

@jaybuidl jaybuidl commented Dec 16, 2024

PR-Codex overview

This PR focuses on reorganizing and updating various components and utilities in the kleros-app repository. It includes the addition of new functionalities, enhancements to existing features, and some refactoring for better code management.

Detailed summary

  • Deleted unused files and configurations.
  • Added new utilities for user management (addUser, fetchUser, updateEmail, loginUser).
  • Updated Coherency components to Coherence.
  • Enhanced styles and layouts in several components.
  • Introduced ScrollTop functionality for smoother navigation.
  • Improved error handling in GraphQL requests.
  • Updated TypeScript configurations and dependencies.

The following files were skipped due to too many changes: kleros-app/vite.config.js, eslint-config/package.json, kleros-app/scripts/publish.sh, web/src/pages/Dashboard/JurorInfo/Header.tsx, web/src/pages/Resolver/index.tsx, web/src/pages/Cases/CaseDetails/Voting/VotesDetails/index.tsx, web/src/components/EnsureAuth.tsx, web/src/pages/Home/TopJurors/JurorCard/JurorTitle.tsx, web/src/hooks/useGenesisBlock.ts, web/src/pages/Dashboard/index.tsx, web/src/pages/Settings/EmailConfirmation/index.tsx, web/src/layout/Header/navbar/DappList.tsx, web/src/utils/wrapWithToast.ts, kleros-sdk/package.json, web/src/pages/Home/TopJurors/JurorCard/MobileCard.tsx, web/src/components/TxnHash.tsx, web/src/layout/Header/navbar/index.tsx, web/src/pages/Home/CourtOverview/BarChart.tsx, web/src/components/Popup/MiniGuides/JurorLevels.tsx, web/src/consts/index.ts, kleros-app/src/lib/atlas/utils/uploadToIpfs.ts, web/src/components/Field.tsx, web/src/pages/Courts/CourtDetails/StakePanel/SimulatorPopup/QuantityToSimulate.tsx, web/src/pages/GetPnk/index.tsx, web/src/pages/Cases/index.tsx, web/src/hooks/usePNKData.tsx, web/src/layout/Header/DesktopHeader.tsx, contracts/deploy/00-home-chain-arbitration-university.ts, subgraph/core-neo/subgraph.yaml, web/src/assets/svgs/icons/book-open.svg, web/src/components/Verdict/DisputeTimeline.tsx, web/src/utils/userLevelCalculation.ts, web/src/hooks/queries/useEvidences.ts, web/src/pages/Cases/AttachmentDisplay/Header.tsx, web/src/pages/Home/Community/Element.tsx, web/src/components/DisputeView/DisputeCardView.tsx, web/src/layout/Header/navbar/Menu/Settings/Notifications/FormContactDetails/index.tsx, web/src/pages/Home/CourtOverview/Stats.tsx, web/src/pages/Home/index.tsx, contracts/deploy/00-randomizer-rng.ts, web/src/components/ExtraStatsDisplay.tsx, web/src/pages/Dashboard/Courts/CourtCard/CourtName.tsx, web/src/pages/Resolver/Policy/index.tsx, web-devtools/src/layout/Header/navbar/index.tsx, web/src/pages/Cases/AttachmentDisplay/index.tsx, web/src/consts/community-elements.tsx, web/src/components/DisputeView/DisputeListView.tsx, web/src/layout/Header/Logo.tsx, services/bots/mainnet-neo/compose.yml, web/src/assets/svgs/socialmedia/youtube.svg, web-devtools/src/assets/svgs/socialmedia/youtube.svg, web/src/assets/svgs/icons/ethereum-vote.svg, web/src/layout/Header/navbar/Product.tsx, contracts/test/arbitration/staking-neo.ts, web/src/layout/Header/navbar/Menu/Settings/Notifications/FormContactDetails/EmailVerificationInfo.tsx, web/src/pages/Resolver/NavigationButtons/SubmitDisputeButton.tsx, web/src/assets/svgs/socialmedia/ghost-blog.svg, web-devtools/src/assets/svgs/socialmedia/ghost-blog.svg, contracts/test/integration/index.ts, web/src/layout/Header/navbar/Menu/Help.tsx, contracts/deploy/00-rng.ts, contracts/deploy/change-sortition-module-rng.ts, web/src/components/LightButton.tsx, web/src/pages/Home/CourtOverview/Chart.tsx, web/src/layout/Footer/index.tsx, web/src/assets/svgs/socialmedia/slack.svg, web/src/components/CasesDisplay/index.tsx, web-devtools/src/assets/svgs/socialmedia/slack.svg, kleros-app/package.json, web/src/pages/Cases/CaseDetails/Voting/VotesDetails/AccordionTitle.tsx, subgraph/core-university/subgraph.yaml, web/src/assets/svgs/icons/close-circle.svg, web/src/layout/Header/navbar/Menu/index.tsx, web/src/assets/svgs/socialmedia/reddit.svg, web-devtools/src/assets/svgs/socialmedia/reddit.svg, web/src/assets/svgs/icons/calendar.svg, contracts/test/arbitration/staking.ts, web/src/pages/Cases/CaseDetails/Evidence/SubmitEvidenceModal.tsx, web/src/pages/Home/CourtOverview/ExtraStats.tsx, contracts/package.json, web/src/components/DisputeView/DisputeInfo/DisputeInfoCard.tsx, package.json, web-devtools/package.json, kleros-app/eslint.config.mjs, web/src/layout/Header/navbar/Explore.tsx, web/src/components/ErrorFallback.tsx, web/src/hooks/queries/useHomePageBlockQuery.ts, web/src/assets/svgs/socialmedia/etherscan.svg, web-devtools/src/assets/svgs/socialmedia/etherscan.svg, web/src/pages/Cases/CaseDetails/Voting/VotingHistory.tsx, web/src/pages/Courts/CourtDetails/StakePanel/StakeWithdrawPopup/Header.tsx, web/src/assets/svgs/icons/law-balance.svg, web/src/components/DisputePreview/DisputeContext.tsx, web/src/pages/Courts/CourtDetails/Description.tsx, kleros-app/README.md, web/src/pages/Courts/CourtDetails/index.tsx, web/src/assets/svgs/socialmedia/github.svg, web-devtools/src/assets/svgs/socialmedia/github.svg, web/src/components/StatDisplay.tsx, web/src/pages/Courts/CourtDetails/StakePanel/StakeWithdrawPopup/index.tsx, contracts/deploy/00-chainlink-rng.ts, web/src/assets/svgs/socialmedia/discord.svg, web-devtools/src/assets/svgs/socialmedia/discord.svg, web/src/components/DisputePreview/Policies.tsx, web/src/pages/Courts/CourtDetails/StakePanel/InputDisplay.tsx, web/eslint.config.mjs, web/src/pages/Courts/CourtDetails/StakePanel/index.tsx, web/src/app.tsx, contracts/deploy/00-home-chain-arbitration-neo.ts, web/src/assets/svgs/icons/law-balance-hourglass.svg, web/src/pages/Cases/CaseDetails/Evidence/index.tsx, web/package.json, contracts/src/rng/mock/ChainlinkVRFCoordinatorMock.sol, contracts/deploy/00-home-chain-arbitration.ts, web/src/pages/Courts/CourtDetails/StakePanel/StakeWithdrawPopup/stakeSteps.tsx, web/src/pages/Courts/CourtDetails/StakePanel/SimulatorPopup/index.tsx, web/src/assets/svgs/icons/code.svg, web/src/components/Verdict/FinalDecision.tsx, contracts/src/rng/RandomizerRNG.sol, contracts/scripts/keeperBot.ts, web/src/assets/svgs/header/kleros-court.svg, web/src/components/EvidenceCard.tsx, contracts/test/rng/index.ts, contracts/README.md, contracts/src/rng/ChainlinkRNG.sol, contracts/config/courts.v2.mainnet-neo.json, contracts/test/arbitration/draw.ts, kleros-app/src/lib/atlas/providers/AtlasProvider.tsx, web/src/context/AtlasProvider.tsx, contracts/deployments/arbitrum/BlockHashRNG.json, web/src/pages/Courts/CourtDetails/StakePanel/StakeWithdrawButton.tsx, web/src/pages/Courts/CourtDetails/Stats.tsx, web/src/assets/svgs/footer/secured-by-kleros.svg, contracts/deployments/arbitrumSepoliaDevnet/DisputeKitClassicUniversity_Proxy.json, contracts/deployments/arbitrumSepoliaDevnet/SortitionModuleUniversity_Proxy.json, contracts/deployments/arbitrumSepoliaDevnet/DisputeKitClassicUniversity.json, contracts/deployments/arbitrumSepoliaDevnet/SortitionModuleUniversity.json, contracts/deployments/arbitrum/ChainlinkVRFCoordinator.json, contracts/deployments/arbitrumSepolia/ChainlinkVRFCoordinator.json, contracts/deployments/arbitrumSepoliaDevnet/ChainlinkVRFCoordinator.json, contracts/deployments/arbitrumSepoliaDevnet/KlerosCoreUniversity_Proxy.json, contracts/deployments/arbitrumSepoliaDevnet/KlerosCoreUniversity.json, contracts/config/policies.v2.mainnet-neo.json, contracts/deployments/arbitrum/ChainlinkRNG.json, contracts/deployments/arbitrumSepolia/ChainlinkRNG.json, contracts/deployments/arbitrumSepoliaDevnet/ChainlinkRNG.json, contracts/deployments/arbitrumSepoliaDevnet/DisputeResolverUniversity.json, contracts/deployments/arbitrumSepoliaDevnet/SortitionModuleUniversity_Implementation.json, contracts/deployments/arbitrumSepoliaDevnet/DisputeKitClassicUniversity_Implementation.json, contracts/deployments/arbitrumSepoliaDevnet/KlerosCoreUniversity_Implementation.json, yarn.lock

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

jaybuidl and others added 30 commits November 8, 2024 02:28
fix(subgraph): subgraph-mainfest-fix
fix(web): display-stake-button-error
Copy link
Contributor

coderabbitai bot commented Dec 16, 2024

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

122 files out of 259 files are above the max files limit of 75. Please upgrade to Pro plan to get higher limits.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for kleros-v2-neo ready!

Name Link
🔨 Latest commit 906dd58
🔍 Latest deploy log https://app.netlify.com/sites/kleros-v2-neo/deploys/67607f9678fb6c00081b3db2
😎 Deploy Preview https://deploy-preview-1793--kleros-v2-neo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for kleros-v2-testnet ready!

Name Link
🔨 Latest commit 906dd58
🔍 Latest deploy log https://app.netlify.com/sites/kleros-v2-testnet/deploys/67607f968595d8000893c4c9
😎 Deploy Preview https://deploy-preview-1793--kleros-v2-testnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for kleros-v2-university ready!

Name Link
🔨 Latest commit 906dd58
🔍 Latest deploy log https://app.netlify.com/sites/kleros-v2-university/deploys/67607f9632d1390008f1ca94
😎 Deploy Preview https://deploy-preview-1793--kleros-v2-university.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for kleros-v2-testnet-devtools ready!

Name Link
🔨 Latest commit 906dd58
🔍 Latest deploy log https://app.netlify.com/sites/kleros-v2-testnet-devtools/deploys/67607f965304730008c6592e
😎 Deploy Preview https://deploy-preview-1793--kleros-v2-testnet-devtools.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jaybuidl jaybuidl marked this pull request as ready for review December 16, 2024 19:30
@jaybuidl jaybuidl changed the title Release Release v2-testnet-4.0.1 Dec 16, 2024
@jaybuidl jaybuidl merged commit 158122b into master Dec 16, 2024
22 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants