The current setup is confusing. Make depth bars cumulative so it looks like any other exchange OrderBook.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCfe5c41c6eb8b: [Cashtab] Show cumulative depth bars on OrderBook to match normal exchange UX
npm test, check screenshots.
can also check the dev site at https://cashtab-local-dev.netlify.app/ (make sure to hard refresh)
I considered adding this to integration tests but I think the impact of confirming css widths is detrimental. The calc here is not particularly complicated and it's immediately obvious if stuff is loading improperly.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (cashtab-tests) failed.
Failed tests logs:
====== CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer ====== Error: expect(received).toBeInTheDocument() received value must be an HTMLElement or an SVGElement. Received has value: undefined at __EXTERNAL_MATCHER_TRAP__ (/work/cashtab/node_modules/expect/build/index.js:325:30) at Object.throwingMatcher [as toBeInTheDocument] (/work/cashtab/node_modules/expect/build/index.js:326:15) at Object.toBeInTheDocument (/work/cashtab/src/components/Agora/__tests__/index.test.js:650:11)
Each failure log is accessible here:
CashTab Unit Tests: <Agora /> We can see multiple offers, some we made, others we did not, and we can cancel an offer