Skip to content

Commit

Permalink
📇 swaping binder for jupyter in ui (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejpurves authored Dec 21, 2023
1 parent 92e1ea9 commit 0855783
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/jupyter/src/BinderBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function BinderBadge({ binder }: { binder?: string }) {
<div className="inline-block m-1 opacity-80 hover:opacity-100">
<a
href={binder}
title={`Launch Binder Session: ${binder}`}
title={`Launch Jupyter Session: ${binder}`}
target="_blank"
rel="noopener noreferrer"
className="text-inherit hover:text-inherit"
Expand Down
2 changes: 1 addition & 1 deletion packages/jupyter/src/ConnectionStatusTray.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function ConnectionStatusTray({ waitForSessions }: { waitForSessions?: bo
}, [options, busy, ready, error]);

const host = options?.thebe?.useBinder
? 'Binder'
? 'Jupyter'
: options?.thebe?.useJupyterLite
? 'JupyterLite'
: 'Local Server';
Expand Down
6 changes: 3 additions & 3 deletions packages/jupyter/src/controls/Buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,20 +88,20 @@ export function LaunchBinder({ type, location }: { type: 'link' | 'button'; loca
>
<div className="flex items-center h-full">
{icon}
<span>Open in Binder</span>
<span>Open in Jupyter</span>
</div>
</a>
);
}

let label = 'Launch Binder';
let label = 'Launch Jupyter';
let title = 'Click to start a new compute session';
if (error) {
label = 'Launch Error';
title = error;
} else if (connecting) {
label = 'Launching...';
title = 'Connecting to binder, please wait';
title = 'Starting a jupyter server, please wait';
}

return (
Expand Down

0 comments on commit 0855783

Please sign in to comment.