Replaced all instance of CashTab with Cashtab in cashtab-components. Related to task T2537.
Details
- Reviewers
bytesofman - Group Reviewers
Restricted Project - Commits
- rABC1224b79d4b42: [cashtab-components] Replace all instances of CashTab with Cashtab
cd web
grep -r 'CashTab' cashtab-components/ should return no results
cd cashtab
grep -r 'CashTab' extension/ should return no results (excluding files in dist dir)
Then:
cd web/cashtab
npm run extension
confirm that clicking on a cashtab badge button still opens the extension
cd web/cashtab-components
npm run storybook
Confirm that storybook runs
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- replace-cashTab-with-cashtab
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 19604 Build 38927: Build Diff cashtab-components-tests · cashtab-tests Build 38926: arc lint + arc unit
Event Timeline
web/cashtab-components/src/hoc/CashtabBase/CashtabBase.tsx | ||
---|---|---|
190 ↗ | (On Diff #34303) | This is correct -- but this is also a good example of why we are using a mono-repo here. This change impacts how the components communicate with the browser extension. See web/cashtab/src/extension/src/background.js This change needs to be made there as well Also review the README.md and web/cashtab/extension/src/contentscript.js files |
web/cashtab-components/src/hoc/CashtabBase/CashtabBase.tsx | ||
---|---|---|
190 ↗ | (On Diff #34303) | Good catch thank you. Should I also update instances of 'CashTab' in the extension/dist dir? |
- Bump version number for extension and cashtab-components
- Test plan needs to include:
cd web/cashtab npm run extension cd web/cashtab-components npm run storybook
& confirm that clicking on a cashtab badge button still opens the extension
I don't think it is related to this diff, but in storybook, all of the CashtabButton components are throwing this error.
Bumped extension version in web/cashtab/extension/public/manifest.json, and cashtab-components storybook version in web/cashtab-components/package.json. Updated test plan per review feedback.