From 68239afbbb7397579ed06d0f781039857b9e574b Mon Sep 17 00:00:00 2001 From: Thomas Durieux <5577568+tdurieux@users.noreply.github.com> Date: Sun, 29 Nov 2026 12:35:46 +0000 Subject: [PATCH] fix(tables): keep text placeholders as values, reset per file, bound scatter labels - 'none', 'NA' and '-' are empty only in number and date columns; in text columns they are categories. - The table viewer is keyed per file, so a search or filter in one CSV doesn't carry over to the next. - A scatter chart with more than 500 text x values is refused instead of measuring every label (and spreading 100k values into Math.max). - Gist CSV rows are cached per file object instead of a 1 MB string key built on every render. Co-Authored-By: Claude Opus 5.5 --- public/partials/gist.htm | 2 +- public/partials/pageView.htm | 2 +- public/script/review-pages.js | 14 ++++++++++---- public/script/table-analysis.js | 15 +++++++++++---- public/script/table-chart.js | 11 ++++++++--- test/table-analysis.test.js | 14 +++++++++++++- 6 files changed, 44 insertions(+), 14 deletions(-) diff --git a/public/partials/gist.htm b/public/partials/gist.htm index 39d7f7e..f6a70ca 100644 --- a/public/partials/gist.htm +++ b/public/partials/gist.htm @@ -68,7 +68,7 @@
- +
diff --git a/public/partials/pageView.htm b/public/partials/pageView.htm index 935f6ba..72b680d 100644 --- a/public/partials/pageView.htm +++ b/public/partials/pageView.htm @@ -94,7 +94,7 @@ {{ gotoError || 'Line, or line:column' }} - +