T2550
Depends on D12317
GetAddress component detects if user has Cashtab installed or not. If not, button becomes a link to install Cashtab.
Differential D12318
[Cashtab] [extension address passing p5] Add detection of Cashtab installation to GetAddress.tsx bytesofman on Oct 19 2022, 17:51. Authored by
Details
T2550 Depends on D12317 GetAddress component detects if user has Cashtab installed or not. If not, button becomes a link to install Cashtab. cd web/cashtab-components npm run storybook The GetAddress component still displays as a button
Diff Detail
Event TimelineComment Actions
Comment Actions The fix to this is not ideal. However, the component here is designed as a proof of concept / example. Actual implementations will vary depending on the website. The right way to do this would be to upgrade the entire cashtab-components library to use hooks instead of classes. New task for this in T2756. Since this is a separate task, I don't think this should hold up this extension feature. |