vaadin / vaadin/observability-kit
Disregard property changed events for initial values
@MatthewVaadin is already working on this.
Since Sep 5, 2022.
- Dominant language
- Java
- Stars
- 7
- Forks
- 5
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 25
Description
Lots of Vaadin components dispatch property change events even for initial values. That is due to how Polymer works, which triggers property changed events even if the property has not been set before. This has the effect that showing a large form in its initial state will already add a lot of event spans, even if the user did not interact with the form yet.
We should look into whether we can skip creating these event spans if they refer to setting the initial property value. That might be possible by comparing the value of the event with the value of Element.getProperty.
This should cover at least value-changed events, but we can also try to cover other events like opened-changed.
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.