h2oai / h2oai/wave

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

Open
#2,214 0 comments 1 reaction 0 assignees View on GitHub
devx feature
Dominant language
Python
Stars
4.3k
Forks
371
Avg merge
26d 1h
Merged PRs (30d)
1

Description

#### 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

Contributor guide

Open the contributing guide

Research direction

Start by tracing the q.page["my_card"].fake_component.content update path in the Python API. Determine how missing component names and missing parameters are currently handled, then verify that both cases produce warnings in application logs; IDE-specific reporting is also requested but not defined further.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.