plotly / plotly/dash

Raise a warning when generating a component with an unknown prop type

Open
#1,884 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Is your feature request related to a problem? Please describe.
Request to raise a warning or error if a user tries to generate a component with an unknown prop type in Python.
In this issue here when working on the reference docs (https://github.com/plotly/ddk-dash-docs/pull/632) - we discovered that there are some components that expose props that won't work in Python.

Describe the solution you'd like
A warning or error when generating components with unknown prop types

Describe alternatives you've considered
I've opened issues to remove specific props that won't work in Python on some components.

@alexcjohnson

Contributor guide

Open the contributing guide

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

The issue names Python component generation and a reference-docs pull request, but no source files or tests. Start by locating the component generator and its prop-type handling, then determine how unknown types should be reported. It is done when unsupported prop types are detected consistently and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.