Page MenuHomePhabricator

[build-xec-apps][p3] Added chronik demo components
AbandonedPublic

Authored by bytesofman on Dec 20 2022, 20:42.

Details

Reviewers
kieran709
Group Reviewers
Restricted Project
Summary

Depends on D12932, related to T2264. Added chronik-demo to the pages dir, added ChronikMethodCard to the components dir, installed react-json-pretty to make the json more readable and util to allow polyfills.

Test Plan

cd web/build-xec-apps && gatsby develop
navigate to localhost8000/chronik-demo
input data into each ChronikMethodCard
ensure that each card returns a response
input invalid data into each ChronikMethodCard
ensure "Please enter valid input" appears in the result field

Diff Detail

Repository
rABC Bitcoin ABC
Branch
build-xec-apps
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21652
Build 42944: Build Diff
Build 42943: arc lint + arc unit

Event Timeline

removed unnecessary test prop from JSONPretty component

bytesofman requested changes to this revision.Jan 3 2023, 18:45

See feedback on D12932

This revision now requires changes to proceed.Jan 3 2023, 18:45
bytesofman abandoned this revision.
bytesofman edited reviewers, added: kieran709; removed: bytesofman.

Diff is a good proof of concept. Not high priority with current resourcing.