Skip to content

layer creation: Updates in URL bar each result in a GET request #974

@nicholasjng

Description

@nicholasjng

JupyterGIS version

0.9.2

Description

When attempting to create a shapefile layer via URL, each manipulation of the URL inside the field in the layer creation dialog (like adding/removing characters etc.) dispatches a fetch request, which thrashes the data source unnecessarily. In the worst case, typing a ~100 character URL by hand instead of copypasting results in 100 nonsensical network requests.

This is evidenced by examining JupyterLab logs, as well as the barrage of "fetching failed" toasts that appear after a layer import attempt when typing a URL by yourself, or manipulating it as described.

The following screenshot highlights which field I mean (URL elided here):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions