Truncate `InvalidCallbackReturnValue` size
Open
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
Would you consider truncating/ellipsisizing the {bad_val} output of
?
Sometimes the output can be humongous, which affects browser rendering 😕
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in dash/_validate.py around lines 238-253 and inspect how InvalidCallbackReturnValue formats bad_val. Define the truncation and ellipsis behavior for oversized values while keeping normal values readable; the issue is complete when humongous output no longer harms browser rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100