Fix/wide tsfile table and chart rendering#24
Merged
HTHou merged 2 commits intoJun 17, 2026
Conversation
…crash Wide table-model TsFiles (thousands of measurements) crashed the browser in both the Data Preview and Chart views by rendering every column/series at once. Data Preview (DataTable.vue): - Paginate field columns (default 50/page) with a column search box; render only the current column window and flatten only visible columns per row. - Enable virtual row scrolling. Chart (ChartPanel.vue, TableFilterPanel.vue, TreeFilterPanel.vue): - Default-select only the first 8 numeric fields instead of all fields on load. - Refuse to render and show a warning when a query returns more than 50 series. Backend (DataService.java): - Hard-cap chart series at 200 per request as a performance safety net. i18n: add column-pagination and chart-series-limit strings (zh-CN, en-US).
The /view/** resource handler applied max-age=3600 uniformly, so index.html (the entry point referencing content-hashed asset filenames) was cached for up to an hour. After a deploy, browsers kept loading the old index.html and thus the old asset references, masking the new build. Split the caching: - /view/assets/** (content-hashed build output): max-age=1y, public, immutable. - index.html and SPA routes: no-cache (revalidate every load) so a new deployment is picked up immediately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.