-
Notifications
You must be signed in to change notification settings - Fork 6
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(client): provide the correct notebook search param for anon users #2479
Conversation
This fixes the "Start a session" button for anonymous users viewing a notebook in a project's files tab. Fixes #2477.
You can access the deployment of this PR at https://renku-ci-ui-2479.dev.renku.ch |
tests/cypress/e2e/project.spec.ts
Outdated
cy.contains("01-CountFlights.ipynb").should("be.visible"); | ||
cy.contains("01-CountFlights.ipynb").click(); | ||
cy.wait("@getCountFlights"); | ||
cy.get("#checkNotebookIcon", { timeout: 10_000 }) |
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.
Note: I think the UI is waiting for a kg request in this case; not sure how to avoid waiting for the button to go from "loading" to "Start a session" faster.
The code looks good. Do you mind if I review this after merging #2469? I found a tricky case while testing but I assume it's already handled there |
…rt-session-button
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.
Nice fix, this works well!
Tearing down the temporary RenkuLab deplyoment for this PR. |
This fixes the "Start a session" button for anonymous users viewing a notebook in a project's files tab.
Fixes #2477.
/deploy #persist #cypress