-
Notifications
You must be signed in to change notification settings - Fork 9
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: Credit Class Page "Additional Info" improvements #1980
Conversation
✅ Deploy Preview for regen-website ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
tACK
- "MEASURED GHGS"
- "CO-BENEFITS"
- AGGREGATED PROJECTS is "True"
- schema:duration is rendered as text (e.g. 10 years)
- list height greater than paragraph line height
- custom buffer pool account display with name and link
// We probably want to simplify this to be just a @list instead, | ||
// but keeping as is, until C04 class metadata is updated accordingly. |
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.
Should we create a followup task blocked by regen-network/regen-registry-standards#57?
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.
done: #1983
// Keeping both regen:walletAddress and regen:address for now, | ||
// until C04 class metadata gets fixed. | ||
// But ultimately, we should just use regen:address. |
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.
Also relevant to regen-network/regen-registry-standards#57
if (isString || isNumber) { | ||
if (isNumber) { | ||
formattedValue = formatNumber({ num: value }); | ||
} else if (rdfType === 'xsd:date') { | ||
formattedValue = formatDate(value); | ||
} else if (rdfType?.includes('Duration')) { |
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.
currently just "Duration" inclusion checking this but ultimately once this: regen-network/regen-registry-standards#57 (comment) is fixed, we should check for schema:Duration
equality
Description
Closes: regen-network/rnd-dev-team#1756
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...
How to test
https://deploy-preview-1980--regen-registry.netlify.app/credit-classes/C62
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...