-
Notifications
You must be signed in to change notification settings - Fork 16
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
Fix new device flag and refresh meta #923
Conversation
Your Render PR Server URL is https://chainsafex-dev-pr-923.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c1qqtc3s1gh86uf24ls0. |
Your Render PR Server URL is https://files-ui-dev-pr-923.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c1qqtcbs1gh86uf24m1g. |
Your Render PR Server URL is https://files-landing-dev-pr-923.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c1qqtcrs1gh86uf24mm0. |
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.
Made some comments on the code, will test it out now
packages/files-ui/src/Components/Modules/Settings/SavedBrowsers/index.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SavedBrowsers/index.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/Security/index.tsx
Outdated
Show resolved
Hide resolved
Here's what I tried. Logged in with Metamask, delete any saved browser. Relaunch my browser (so as to clear any session storage) and login with the same account: |
…ex.tsx Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
…hub.com/ChainSafe/files-ui into fix/tkey-new-device-flag-is-not-set-903
Ahhh nice catch. I've added a handler for this and am quickly testing out some of the other logic |
…s/index.tsx Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
…hub.com/ChainSafe/files-ui into fix/tkey-new-device-flag-is-not-set-903
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.
Just found a couple nits, works but perfectly!
packages/files-ui/src/Components/Modules/LoginModule/SignInMethods.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/LoginModule/SignInMethods.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SavedBrowsers/BrowserPanel.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
Closes #903
This PR ensures that the
isNewDevice
is set correctly in all instances.Also made sure that metadata and shares are refreshed when the Security page is loading, to prevent stale metadata being displayed.