Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Provenance QA] Carbon provenance implementation (#2006)
* API: adds record provenance route * api: Fixed records provenance path * api: Added Record type * Candid retirement provenance page * Fetch provenance records in UI * Added provenance renderer * Improvements to the retirement provenance renderer * WIP * WIP * Improved retirement provenance page * Improve retirement provenance page * Improve retirement provenance page * api: Adds a route for retirements * api: fixed retirement provenance records route * Added a query retirement provenance by transaction id * Rename RecordModel into ProvenanceRecordModel * Fix retirements by id route * fix provenance page * provenance page: Added retirement card * Added user profile to retirement information * Added carbonmark profile info * carbon provenance added callapse button * Adds link to carbon provenance in single retirement page * Added link to pdf to carbon provenance * Carbon provenance: minor fix on page * Fix imports * Deployment Fixes * css fixes * Extract locales * Fix fonts size * Fix account and index concatenation * Implement carbon provenance algorithm * Fixed provenance source algorithm * Fixes verra link * Increase used API version in UI * Fetch provenance records relying 100% on the API * Reverted change to usermodel * Use carbonmark api version 5.0.0 * Update carbonmark/lib/constants.ts Co-authored-by: Michael Collins <[email protected]> * Added animation when hiding/showing transfers * Adds tests to klima retirement endpoint * Added tests for provenance records route * Added tests for provenance records route * Added klima retirements postman tests * Code review * Linting * Fix retirement route test * fix minwidth on timeline item * Extract locales * WIP * Fix timeline item mi height * Revert "WIP" This reverts commit 7431e41. * Linting * Fix records time display on carbon provenance page * Change retirements API routes * Synchronize with api retirements routes * Fixes provenance page crashing when there is no bridge serial nnumber * Skipping mumbai tests * dynamic search for retirements * Fixes retirements routes * Fix retirement route tests * camelcase retirement_index * Update carbonmark vs retirement routes * Fix postman tests for retirements * Adds hasProvenanceDetails to retirement model * Remove provenance links for moss retirements * Fix single retirement page when no project is associated * Adds test to retirements route * Update API minor version * fix ENV for preview environments * Extract locales * Fix generated files and api version * Extract locales * Fix ts-jest path * Restored package-lock * Restore jest config for api * No more serialisation field * Adds responsive features * Update used API version * Update wait for API script * Update API version * api update * Fix user display in retirement provenance page * Fix retirement provenance css * Update carbonmark/lib/waitForApi.ts Co-authored-by: selim <[email protected]> * Update carbonmark/components/SocialLinks/index.tsx Co-authored-by: selim <[email protected]> * Fix mui components imports * Update carbonmark/components/pages/Retirements/RetirementProvenance/index.tsx Co-authored-by: selim <[email protected]> * Improved slider * Rounded copy button * Fix icon color * Fix styles of quantity cartridge and timeline dots * factorize is numeric function * Refactored provenance component * Refactored splitProvenance function * Update carbonmark/components/pages/Retirements/RetirementProvenance/RetirementCard/index.tsx Co-authored-by: Michael Collins <[email protected]> * Removed important tag on sociallinks css * Linting * Enable wrapping on provenance timeline --------- Co-authored-by: Michael Collins <[email protected]> Co-authored-by: selim <[email protected]>
- Loading branch information