datasette / datasette/datasette-plot

JS Error

Open
#7 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
28
Forks
3
PR merge metrics
No merged PRs in 30d

Description

The plot button does not show up and I get this error in the console:

Uncaught (in promise) TypeError: Cannot read properties of null (reading 'insertAdjacentElement')
    at Module.E9 (main.min.js:1:300215)

datasette, version 1.0a16
datasette-plot, version 0.1.0

Downgrading datasette to version 1.0a15 does work.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the missing plot button with datasette 1.0a16 and datasette-plot 0.1.0, then compare against datasette 1.0a15 where it works. Start from the main.min.js error at E9 and identify why the expected element is null. Done means the button appears and the console error no longer occurs with the newer Datasette version.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.