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

fix(ui): show jupyter badge only after the pod is running #416

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

Alputer
Copy link
Member

@Alputer Alputer commented Nov 18, 2024

Closes #408

@Alputer Alputer requested a review from tiborsimko November 18, 2024 11:03
@Alputer Alputer self-assigned this Nov 18, 2024
@Alputer Alputer requested a review from mdonadoni November 18, 2024 12:54
Alputer added a commit to Alputer/reana-ui that referenced this pull request Nov 18, 2024
@Alputer Alputer force-pushed the interactive-session-status-fix branch from f534986 to 07ca1a7 Compare November 18, 2024 16:24
Alputer added a commit to Alputer/reana-ui that referenced this pull request Nov 20, 2024
@Alputer Alputer changed the title fix(ui): show jupyter badge only after the pod is running (#416) fix(ui): show jupyter badge only after the pod is running Nov 25, 2024
@@ -38,7 +38,7 @@ export default function WorkflowActionsPopup({ workflow, className }) {
const isDeleted = status === "deleted";
const isDeletedUsingWorkspace = isDeleted && size.raw > 0;
const isRunning = status === "running";
const isSessionOpen = sessionStatus === "created";
const isSessionOpen = sessionStatus === "running";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works nicely 👍

BTW, now that we have a new design, we could amend the text "Click on the Jupyter logo to access it" to say something like "Click on the Jupyter notebook badge to access it."

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cosmetics: for the commit log, please use capital letter for Jupyter:

fix(ui): show Jupyter badge only after notebook is running (#416)

@Alputer Alputer force-pushed the interactive-session-status-fix branch from 07ca1a7 to 35c98b5 Compare January 15, 2025 16:55
@tiborsimko tiborsimko merged commit 35c98b5 into reanahub:master Jan 16, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show Jupyter icon when only when notebook is available
2 participants