Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • E esap-general
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • ASTRON SDC
  • ESCAPE WP5
  • esap-general
  • Issues
  • #24
Closed
Open
Created Jul 26, 2021 by John Swinbank@swinbankOwner

IDAContext defaults to questionable URL for JupyterLab service

src/contexts/IDAContext.js line 12 provides a default URL for JupyterHub services corresponding to the SKAO JupyterHub system.

This URL is over-written in src/components/services/Interactive.js line 36 when the value selected by the user in the dropdown is changed.

If the user never adjusts the dropdown, then the default URL is never over-written. In this case, the Deploy button will redirect the user to the default set in IDAContext.js, regardless of what the service is actually selected in the dropdown.

That's bad enough as it stands, but what if there is only one service configured (e.g., following esap-api-gateway!100? In this case, the value which appears in the dropdown never changes (because there is nothing else to select), so if the default doesn't happen to match the only service configured then there's no way for the user to override it.

Assignee
Assign to
Time tracking