Skip to content

Conversation

kemuru
Copy link
Contributor

@kemuru kemuru commented Aug 14, 2025

PR-Codex overview

This PR focuses on updating the text descriptions in the LabelArgs object within the CardLabels component to provide clearer and more user-friendly messages.

Detailed summary

  • Updated text values for EvidenceTime, NotDrawn, CanVote, Voted, and DidNotVote to be more user-friendly.
  • Changed text for Funded to "You funded an appeal" for clarity.

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

Summary by CodeRabbit

  • Style
    • Updated dispute card label wording for clarity:
      • Evidence time (lowercase)
      • You were not drawn
      • You can vote now
      • You voted
      • You did not vote
      • You funded an appeal
    • "Appeal possible" label unchanged; no functional or behavioral changes.

@kemuru kemuru requested a review from a team as a code owner August 14, 2025 22:33
Copy link

netlify bot commented Aug 14, 2025

Deploy Preview for kleros-v2-university failed. Why did it fail? →

Name Link
🔨 Latest commit 4a451a5
🔍 Latest deploy log https://app.netlify.com/projects/kleros-v2-university/deploys/68a059375bf7780007c0a117

Copy link

netlify bot commented Aug 14, 2025

Deploy Preview for kleros-v2-testnet ready!

Name Link
🔨 Latest commit 4a451a5
🔍 Latest deploy log https://app.netlify.com/projects/kleros-v2-testnet/deploys/68a05937aeff600008745352
😎 Deploy Preview https://deploy-preview-2088--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 project configuration.

Copy link
Contributor

coderabbitai bot commented Aug 14, 2025

Walkthrough

Updated user-facing label strings in DisputeView CardLabels; keys, logic, rendering, and APIs unchanged. Only several label text values were modified.

Changes

Cohort / File(s) Summary
UI label updates
web/src/components/DisputeView/CardLabels/index.tsx
Adjusted label strings: EvidenceTime -> "Evidence time", NotDrawn -> "You were not drawn", CanVote -> "You can vote now", Voted -> "You voted", DidNotVote -> "You did not vote", Funded -> "You funded an appeal"; CanFund remains "Appeal possible". No logic/API changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

Package: Web

Suggested reviewers

  • alcercu

Poem

I twitch my whiskers, hop with glee,
Small words polished for all to see.
A nimble hop, a tidy cheer,
Labels clearer, smiles appear.
— your rabbit reviewer 🐇

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between b19b82d and 4a451a5.

📒 Files selected for processing (1)
  • web/src/components/DisputeView/CardLabels/index.tsx (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • web/src/components/DisputeView/CardLabels/index.tsx
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
  • GitHub Check: Redirect rules - kleros-v2-testnet
  • GitHub Check: Header rules - kleros-v2-testnet
  • GitHub Check: Redirect rules - kleros-v2-university
  • GitHub Check: Redirect rules - kleros-v2-testnet-devtools
  • GitHub Check: Redirect rules - kleros-v2-testnet
  • GitHub Check: Pages changed - kleros-v2-testnet
  • GitHub Check: Header rules - kleros-v2-testnet-devtools
  • GitHub Check: Header rules - kleros-v2-university
  • GitHub Check: Header rules - kleros-v2-testnet
  • GitHub Check: Pages changed - kleros-v2-testnet-devtools
  • GitHub Check: Pages changed - kleros-v2-university
  • GitHub Check: Pages changed - kleros-v2-testnet
  • GitHub Check: contracts-testing
  • GitHub Check: Analyze (javascript)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/label-text-improvements

🪧 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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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 Aug 14, 2025

Deploy Preview for kleros-v2-neo ready!

Name Link
🔨 Latest commit 4a451a5
🔍 Latest deploy log https://app.netlify.com/projects/kleros-v2-neo/deploys/68a059375544a2000817c905
😎 Deploy Preview https://deploy-preview-2088--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 project configuration.

Copy link

netlify bot commented Aug 14, 2025

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

Name Link
🔨 Latest commit 4a451a5
🔍 Latest deploy log https://app.netlify.com/projects/kleros-v2-testnet-devtools/deploys/68a05937ff72ea00082584e8
😎 Deploy Preview https://deploy-preview-2088--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 project configuration.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
web/src/components/DisputeView/CardLabels/index.tsx (1)

68-68: Tone nit: prefer neutral phrasing over “forgot.”

“You forgot to vote” may read as accusatory. Consider a neutral alternative like “You didn’t vote” or “No vote cast” to avoid blame-y tone.

Proposed change:

-  DidNotVote: { text: "You forgot to vote", icon: ForgotToVoteIcon, color: "purple" },
+  DidNotVote: { text: "You didn't vote", icon: ForgotToVoteIcon, color: "purple" },
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 3d211cc and cabc743.

📒 Files selected for processing (1)
  • web/src/components/DisputeView/CardLabels/index.tsx (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (15)
  • GitHub Check: Redirect rules - kleros-v2-neo
  • GitHub Check: Header rules - kleros-v2-neo
  • GitHub Check: Pages changed - kleros-v2-neo
  • GitHub Check: Redirect rules - kleros-v2-testnet
  • GitHub Check: Redirect rules - kleros-v2-testnet
  • GitHub Check: Header rules - kleros-v2-testnet
  • GitHub Check: Header rules - kleros-v2-testnet
  • GitHub Check: Redirect rules - kleros-v2-university
  • GitHub Check: Header rules - kleros-v2-university
  • GitHub Check: Pages changed - kleros-v2-testnet
  • GitHub Check: Pages changed - kleros-v2-testnet
  • GitHub Check: Pages changed - kleros-v2-university
  • GitHub Check: SonarCloud
  • GitHub Check: contracts-testing
  • GitHub Check: Analyze (javascript)
🔇 Additional comments (2)
web/src/components/DisputeView/CardLabels/index.tsx (2)

64-67: Voice consistency and clarity improvements look good.

Switching to second-person phrasing (“You …”) improves clarity and keeps messaging consistent across statuses. The updated casing (“Evidence time”) also aligns with sentence case. No logic changes introduced. LGTM.

Also applies to: 70-70


66-66: Confirm copy accuracy during commit phase (“commit” vs “vote”).

This label is shown for both “commit” and “vote” periods (see Line 125). “You can vote” might be slightly imprecise during “commit.” If product intent is to keep generic copy, all good; otherwise, consider differentiating commit vs vote phrasing.

Would you like me to propose a minimal conditional copy tweak that preserves existing logic and only adjusts the string based on period?

coderabbitai[bot]
coderabbitai bot previously approved these changes Aug 14, 2025
coderabbitai[bot]
coderabbitai bot previously approved these changes Aug 14, 2025
Copy link

@jaybuidl jaybuidl merged commit 5ca5c3b into dev Aug 18, 2025
20 of 24 checks passed
@jaybuidl jaybuidl added Type: Enhancement ✨ Package: Web Court web frontend Type: UX User Experience labels Aug 18, 2025
@jaybuidl jaybuidl deleted the chore/label-text-improvements branch August 20, 2025 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: Web Court web frontend Type: Enhancement ✨ Type: UX User Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants