Skip to content

Add editable-code box component to be able to edit the SQL query #70

@gadenbuie

Description

@gadenbuie

A module function that's attached to a querychat instance that:

  1. Shows the SQL code in with highlighting
  2. The SQL code is editable
  3. Edits update the query being applied
  4. Even better: update the query in the tool history (update dashboard tool)
  5. Even even better: Update the query and result and regenerate (query tool)

Prior art:

  1. I used Prism Code Editor for light-weight code editing in the brand.yml example app
  2. That could easily be turned into a module here in querychat that we use for editable code blocks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions