Closed Harman-singh-waraich closed 2 weeks ago
The changes involve modifications to two components, Coherency.tsx
in the Header and JurorCard sections. In the Header component, the displayed content is updated from "Votes" to "Coherency," and the tooltip message is revised for clarity, indicating the percentage of coherent votes. In the JurorCard component, a new Tooltip
component is introduced to display the coherence ratio, which is calculated using a newly defined getPercent
function. These updates focus on improving the clarity of information regarding juror votes.
File Path | Change Summary |
---|---|
web/src/pages/Home/TopJurors/Header/Coherency.tsx | Updated content from "Votes" to "Coherency" and revised tooltip message for clarity. |
web/src/pages/Home/TopJurors/JurorCard/Coherency.tsx | Added Tooltip component to display coherence ratio; introduced getPercent function for calculation. |
Coherency
component, which is directly related to the updates made in the Coherency.tsx
file of the main PR, specifically regarding the display of voting statistics and tooltip messages.Type: FeatureπΏ
, Package: Web
, Type: Enhancement :sparkles:
In the land of votes so bright,
Coherency takes the spotlight.
With tooltips clear, the message flows,
A rabbit's joy in knowledge grows! πβ¨
Clarity reigns, as we hop along,
Celebrating changes, a cheerful song!
Name | Link |
---|---|
Latest commit | a709812582d6dd2cc3ab97c4fd365a7e8d11209f |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-testnet/deploys/672cbcffa148cf0008c59d77 |
Deploy Preview | https://deploy-preview-1739--kleros-v2-testnet.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | a709812582d6dd2cc3ab97c4fd365a7e8d11209f |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-neo/deploys/672cbcff53928f0008b4f8d8 |
Deploy Preview | https://deploy-preview-1739--kleros-v2-neo.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | a709812582d6dd2cc3ab97c4fd365a7e8d11209f |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-university/deploys/672cbcff26dd0d0008ad653b |
Deploy Preview | https://deploy-preview-1739--kleros-v2-university.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Name | Link |
---|---|
Latest commit | a709812582d6dd2cc3ab97c4fd365a7e8d11209f |
Latest deploy log | https://app.netlify.com/sites/kleros-v2-testnet-devtools/deploys/672cbcff4ff07b0008c318b1 |
Deploy Preview | https://deploy-preview-1739--kleros-v2-testnet-devtools.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Code Climate has analyzed commit a7098125 and detected 0 issues on this pull request.
View more on Code Climate.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
PR-Codex overview
This PR updates the
Coherency
component in theJurorCard
and modifies the associated styles and tooltip messages to enhance clarity and functionality.Detailed summary
Coherency
component to display aTooltip
with the percentage of coherent votes.getPercent
function to calculate the percentage of coherent votes.::before
content from "Votes" to "Coherency".Summary by CodeRabbit
New Features
Bug Fixes