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

Internet accounts are not shown on FileSelector after refresh in Add track panel #4122

Closed
cmdcolin opened this issue Dec 11, 2023 · 3 comments · Fixed by #4125
Closed

Internet accounts are not shown on FileSelector after refresh in Add track panel #4122

cmdcolin opened this issue Dec 11, 2023 · 3 comments · Fixed by #4125
Labels
bug Something isn't working

Comments

@cmdcolin
Copy link
Collaborator

Steps to reproduce

  1. Open Add track panel
  2. Open a track behind HTTP basic auth
  3. This creates an HTTP basic auth internet account
  4. Then open the Add track panel again, observe the new internet account buttons on the FileSelector
  5. Refresh the page, observe that the FileSelector is not showing the new internet account buttons
  6. However, the internet accounts do exist

The cause of this bug is presumably an interaction between observable and react hook state

The file selector with usestate is initialized before the autorun on the rootModel adds the internet accounts

@cmdcolin cmdcolin added the enhancement New feature or request label Dec 11, 2023
@cmdcolin
Copy link
Collaborator Author

note that even listing the http basic internet accounts may be removed but this bug will still exist

@cmdcolin
Copy link
Collaborator Author

xref #2743

@cmdcolin
Copy link
Collaborator Author

note 2: opening an http basic bam file actually generates two http basic internet accounts...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant