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 19596 Build 38911: Build Diff cashtab-components-tests Build 38910: arc lint + arc unit
Event Timeline
web/cashtab-components/src/hoc/CashtabBase/CashtabBase.tsx | ||
---|---|---|
190 | 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 | 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.