Skip to content

Beta 0.0.1 #17

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

Open
wants to merge 67 commits into
base: master
Choose a base branch
from
Open

Beta 0.0.1 #17

wants to merge 67 commits into from

Conversation

alcercu
Copy link
Contributor

@alcercu alcercu commented Dec 2, 2024

No description provided.

@alcercu alcercu requested a review from jaybuidl December 2, 2024 18:14
Copy link

netlify bot commented Dec 2, 2024

Deploy Preview for kleros-library-of-justice ready!

Name Link
🔨 Latest commit 9435500
🔍 Latest deploy log https://app.netlify.com/projects/kleros-library-of-justice/deploys/6840176be0da080008e201d2
😎 Deploy Preview https://deploy-preview-17--kleros-library-of-justice.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.

dependabot bot and others added 30 commits February 10, 2025 11:38
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.22.0 to 3.28.9.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@2cb752a...9e8d078)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.17.6 to 22.13.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@kleros/kleros-sdk](https://github.com/kleros/kleros-v2) from 2.1.10 to 2.2.0.
- [Release notes](https://github.com/kleros/kleros-v2/releases)
- [Commits](https://github.com/kleros/kleros-v2/compare/@kleros/kleros-sdk@2.1.10...@kleros/kleros-sdk@2.2.0)

---
updated-dependencies:
- dependency-name: "@kleros/kleros-sdk"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [viem](https://github.com/wevm/viem) from 2.21.53 to 2.23.2.
- [Release notes](https://github.com/wevm/viem/releases)
- [Commits](https://github.com/wevm/viem/compare/viem@2.21.53...viem@2.23.2)

---
updated-dependencies:
- dependency-name: viem
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) from 0.460.0 to 0.475.0.
- [Release notes](https://github.com/lucide-icons/lucide/releases)
- [Commits](https://github.com/lucide-icons/lucide/commits/0.475.0/packages/lucide-react)

---
updated-dependencies:
- dependency-name: lucide-react
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.6.0 to 2.11.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@1b05615...4d991eb)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
You were experiencing out-of-date views due to the default caching behavior of the urql GraphQL client (`cacheExchange`).

This change modifies the client initialization in `src/app/api/utils.ts` to use the `network-only` request policy. This ensures that all GraphQL queries made through this client bypass its cache and fetch fresh data from the network, resolving the stale data issue.

Manual testing is recommended to confirm the fix and check for any performance implications.
Fix: Set urql client requestPolicy to network-only to prevent stale data
…ns/checkout-4.2.2

chore(deps): bump actions/checkout from 3.5.2 to 4.2.2
…variance-authority-0.7.1

chore(deps): bump class-variance-authority from 0.7.0 to 0.7.1
…ript-5.7.3

chore(deps-dev): bump typescript from 5.6.3 to 5.7.3
…ntl-3.26.3

chore(deps): bump next-intl from 3.25.1 to 3.26.3
…ub/codeql-action-3.28.9

chore(deps): bump github/codeql-action from 2.22.0 to 3.28.9
…node-22.13.4

chore(deps-dev): bump @types/node from 20.17.6 to 22.13.4
…/kleros-sdk-2.2.0

chore(deps): bump @kleros/kleros-sdk from 2.1.10 to 2.2.0
…-security/harden-runner-2.11.0

chore(deps): bump step-security/harden-runner from 2.6.0 to 2.11.0
….23.2

chore(deps): bump viem from 2.21.53 to 2.23.2
…-react-0.475.0

chore(deps): bump lucide-react from 0.460.0 to 0.475.0
The Attachment link in the Evidence component is now rendered only if evidence.fileURI has a value. This prevents a broken link from showing when no attachment is available.
…ength.

Here's what I did:
- I made the Attachment link render conditionally based on whether it's a valid IPFS path (meaning it starts with '/ipfs/').
- I also refactored conditions into constants to make sure everything complies with the 80-character line limit.
Conditionally render Attachment link in Evidence component
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants