-
Notifications
You must be signed in to change notification settings - Fork 2
fix: performance issues #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| this.selectionList.searchValue = this.searchValue; | ||
| } | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do all editors have the same property and update code? If so we can move it into the baseclass BaseElementEditor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, fixed that
oscd-publisher.ts
Outdated
| @search-change=${this.handleSearchChange('Report')} | ||
| ></report-control-editor>`; | ||
| case 'GOOSE': | ||
| return html`<gse-control-editor | ||
| .doc=${this.doc} | ||
| .editCount=${this.editCount} | ||
| .searchValue=${this.filterValues.GOOSE} | ||
| @search-change=${this.handleSearchChange('GOOSE')} | ||
| ></gse-control-editor>`; | ||
| case 'SampledValue': | ||
| return html`<sampled-value-control-editor | ||
| .doc=${this.doc} | ||
| .editCount=${this.editCount} | ||
| .searchValue=${this.filterValues.SampledValue} | ||
| @search-change=${this.handleSearchChange('SampledValue')} | ||
| ></sampled-value-control-editor>`; | ||
| case 'DataSet': | ||
| return html`<data-set-editor | ||
| .doc=${this.doc} | ||
| .editCount=${this.editCount} | ||
| .searchValue=${this.filterValues.DataSet} | ||
| @search-change=${this.handleSearchChange('DataSet')} | ||
| ></data-set-editor>`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the @search-change still relevant? It seems like the value is stored when the tab changes and I dont see any search-change events being fired
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No you are right, I forgot to remove them, just fixed it
closes #4