-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: add debug menu to specify endpoint for mobile token server #5049
feat: add debug menu to specify endpoint for mobile token server #5049
Conversation
@@ -0,0 +1,58 @@ | |||
import {Button} from '@atb/components/button'; | |||
import {ThemeText} from '@atb/components/text'; | |||
import {storage} from '@atb/storage'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regarding storage, we recently created usePersistedBoolState
.
We might want to either create one for string as well, or make the existing one general purpose. @gorandalum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, it is possible to refactor it into a more generic usePersistedState
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will make the refactor on another PR 👍🏼
045809b
to
eeaa294
Compare
nudging @rosvik 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apologies for the slow response 🫣 Looks good 👍
@rosvik no worries! lots of stuff happened last week, thank you for the review! |
closes https://github.com/AtB-AS/kundevendt/issues/20084
Pretty much self-explanatory, adds debug menu for specifying the mobile token server endpoint.
If there's a better alternative than using the
storage
function I would love to know more about it 😄mobile.token.debug.webm