Page MenuHomePhabricator

[build-xec-apps][p2] Added chronik logic
AbandonedPublic

Authored by bytesofman on Dec 20 2022, 19:41.

Details

Reviewers
kieran709
Group Reviewers
Restricted Project
Summary

Depends on D12931, related to T2264. Logic and object pertaining to the chronik methods. Inclds: 1. object that contains method descriptions, code blocks, names, references to helper functions with space for an icon to be added later, 2. chronik methods and 3. chronik helper functions.

Test Plan

cd web/build-xec-apps/src/utilities
check logic and formatting of chronikHandlers and chronikHelpers, provide any critique regarding the implementation of these functions

cd web/build-xec-apps/assets
navigate to chronikMethods
check formatting of chronikMethods obj, provide any critique regarding the layout of this obj

Diff Detail

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

Event Timeline

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

The end result here is okay after checking out part 3. However, it's important to consider how this stuff will look to a reviewer. It's not just a matter of splitting it into parts -- it should build up in a logical way so that testing is straightforward.

In this case, it's not possible to test this code at all -- the test plan involves manually reading several functions.

A better way to present this stack would be

  1. Boilerplate
  2. Change the landing page at localhost:8000
  3. Add the chronik test page with one function
  4. Add the other functions
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.