Technical Debt List #1410
Replies: 4 comments 4 replies
-
@MosCD3 @fc-santos @timbl-ont @jcdrouin21 @thiagoromanos FYI. Feel free to add to or comment on this list |
Beta Was this translation helpful? Give feedback.
-
Thanks @bryce-mcmath. I think the list captures much of what we are tracking and have raised in Bifold meetings. A couple of notes:
|
Beta Was this translation helpful? Give feedback.
-
@bryce-mcmath not sure if this would be part of the technical debt list, but one problem with the wallet currently is if the user changes phone, they have to go through the whole process again to obtain the credentials from the issuers they had before. |
Beta Was this translation helpful? Give feedback.
-
Here is another technical debt: maybe remove any components or views that are not being used anywhere anymore. Here are a few examples:
|
Beta Was this translation helpful? Give feedback.
-
This is an ongoing list of noted technical debt. If you are a Bifold maintainer, feel free to add to this list, if you are not you should still be able to add a comment with your suggestion and one of the maintainers will add it on your behalf.
Refactor✅mainStack
into it's own filePR: #1426
this is a simple one, it is currently unlike all the other stacks and is tightly coupled with its parentRootStack
componentcurrent approach is at risk of causing re-rendering issuesMerge✅NewQRView.tsx
withQRScanner.tsx
PR: #1440
NewQRView.tsx
is essentially the scan screen that is gated behind the developer setting, "Use connection inviter capability"Maintaining both views separately requires a bit of doubled effort and they are similar enough that they cause SonarCloud duplication failures.Should be merged and handle the different behaviour as one componentUpgrade React Native version
PR: #1439
Componentize and rename
QRScanner.tsx
ScanScreenContent.tsx
or something along those linesProof request logic
Refactor
useInitializeAgent
and use of@credo-ts/react-hooks
lib so we can remove the patchwalletSecret
as a parameterwalletSecret
dependencies and early returnsAgentProvider
at a lower level in the component tree around only the components / stacks that are past auth. Example: https://github.com/animo/paradym-wallet/blob/cc8e5edf35c1b1e7ff86073a020b1392acd94f72/apps/paradym/app/_layout.tsxState load, onboarding, and initialization logic
Simplify OCA logic
useBranding
hook and maker wider use of itoca
packageNavigation structure / componentization
Screens
enum should only be for one screen, none used more than once in different stacks. eg.Screens.EnterPIN
being used in two separate stacks for both wallet unlock and biometrics change confirmation would becomeScreens.EnterPIN
for the former andScreens.VerifyPIN
for the latter, with only components in commonFolder structure
Releases
@bifold
namespace (or@bifold-wallet
, whichever is available)Expo Support
Credential card component should be generalized
Remove unused / dead components
Beta Was this translation helpful? Give feedback.
All reactions