Skip to content

Multiple render when editing sql  #5226

@JerryYuanJ

Description

@JerryYuanJ

Issue Summary

When the result of a query is bug, and you're editing the sql in panel, you can feel that the user input is delayed and the page looks stuck for a little while.

Steps to Reproduce

  1. Open a edit source page which has a huge result table
  2. try to edit the sql and you can see the problem
    (You can check the log which I put it in "viz-lib/src/visualizations/table/Renderer.jsx", it shows that every time I change the sql value the result visualization re-renders)

redash-bug

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?

Technical details:

  • Redash Version: 9.0.0-beta
  • Browser/OS: Chrome/Mac
  • How did you install Redash: local

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions