h2oai / wave

Realtime Web Apps and Dashboards for Python and R
https://wave.h2o.ai
Apache License 2.0
3.9k stars 323 forks source link

Inform developers if they try to update a component or that does not exist. #2214

Open mtanco opened 6 months ago

mtanco commented 6 months ago

Is your feature request related to a problem? Please describe

When developing, especially large projects, users may try to update a component name and get no results because they have a typo. Today, wave will happily let you do q.page["my_card"].fake_component.content = "hi!" and give you no feedback that fake_component does not exist.

Describe the solution you'd like

A warning in my app code logs that says I am updating a component name that does not exist. A warning in my app code logs that says I am updating a component name that does exist but the parameter I am updating does not.

Ideally this would happen wherever I am developing: PyCharm, VS Code, Wave IDE