Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABW-2488 - Refactor around dApp Login Auth and UnAuth #747

Closed
wants to merge 1 commit into from

Conversation

raf-rdx
Copy link
Contributor

@raf-rdx raf-rdx commented Jan 12, 2024

Description

This is Draft work for improving code around DAppAuthorizedLogin and DAppUnauthorizedLogin.

What I did so far is to find common code and I created delegate that serves this for both Authorised and Unauthorised view models.

Here are my findings:

  1. WIth regards to Composable there isn't much code that can be reused. Let me know your thoughts if it makes sense to use One composable but I got a feeling that it will be just moving code around and having them split actually makes sense I think.

  2. I tried to reuse as much as I could in View Models however I was hoping there will be more. Let me also know the way I did this with delegate is fine.

Would like to hear you thoughts on how else it can be improved in terms of common code for both authorised and unauthorised paths.

@micbakos-rdx
Copy link
Contributor

Closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants