-
Notifications
You must be signed in to change notification settings - Fork 25
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: add link to check.ipfs.network on block fetch failure - Fixes #447 #469
base: master
Are you sure you want to change the base?
feat: add link to check.ipfs.network on block fetch failure - Fixes #447 #469
Conversation
Thank you for submitting this PR!
Getting other community members to do a review would be great help too on complex PRs (you can ask in the chats/forums). If you are unsure about something, just leave us a comment.
We currently aim to provide initial feedback/triaging within two business days. Please keep an eye on any labelling actions, as these will indicate priorities and status of your contribution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove all translation changes from this PR except for the addition of the new property in the public/locales/en/explore.json?
we can update translations via a separate PR and the transifex service.
@@ -13,7 +13,7 @@ | |||
}, | |||
"AboutIpld": { | |||
"paragraph1":"<0>IPLD is <1>the data model of the content-addressable web.</1> It allows us to treat all hash-linked data structures as subsets of a unified information space, unifying all data models that link data with hashes as instances of IPLD.</0>", | |||
"paragraph2": "<0>Content addressing through hashes has become a widely-used means of connecting data in distributed systems, from the blockchains that run your favorite cryptocurrencies, to the commits that back your code, to the web’s content at large. Yet, whilst all of these tools rely on some common primitives, their specific underlying data structures are not interoperable.</0>", | |||
"paragraph2": "<0>Content addressing through hashes has become a widely-used means of connecting data in distributed systems, from the blockchains that run your favorite cryptocurrencies, to the commits that back your code, to the web's content at large. Yet, whilst all of these tools rely on some common primitives, their specific underlying data structures are not interoperable.</0>", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please undo this change.
@@ -1,7 +1,7 @@ | |||
import { type TFunction } from 'i18next' | |||
|
|||
export default class IpldExploreError extends Error { | |||
constructor (private readonly options: Record<string, string | number>) { | |||
constructor (protected readonly options: Record<string, string | number>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to switch this to protected if we have a getter
Add link to check.ipfs.network on block fetch failure
This PR adds a link to check.ipfs.network when a block cannot be retrieved, allowing users to investigate why a block was unable to be fetched.
Changes
Testing
The changes can be tested by:
Fixes #447