From f9cb9671c4e72150f8341e29461d836d5763b568 Mon Sep 17 00:00:00 2001 From: Kevin Deng Date: Thu, 20 Aug 2026 05:47:35 +0900 Subject: [PATCH] Add display option to hide comparison columns (#15) --- app/components/CharCells.vue | 27 +++++-- app/components/CharRowItem.vue | 20 ++++-- app/components/CharTable.vue | 6 +- app/components/FilterBar.vue | 35 ++++----- app/components/HeroOverprint.vue | 117 +++++++++++++++---------------- app/components/OptionsMenu.vue | 54 +++++++++++++- app/components/OverprintChar.vue | 64 ++++++++++++----- app/composables/chars.ts | 117 ++++++++++++++++++++++--------- app/composables/prefs.ts | 101 +++++++++++++++++++++++++- app/locales/ja-jp.ts | 10 ++- app/locales/zh-cn.ts | 9 ++- app/locales/zh-hk.ts | 9 ++- app/locales/zh-tw.ts | 9 ++- app/pages/char/[key].vue | 62 ++++++++++------ app/utils/han-number.ts | 12 ++++ scripts/tests/columns.test.ts | 105 +++++++++++++++++++++++++++ shared/links.ts | 22 ++++-- shared/listings.ts | 15 +++- shared/row.ts | 33 +++++++++ 19 files changed, 643 insertions(+), 184 deletions(-) create mode 100644 app/utils/han-number.ts create mode 100644 scripts/tests/columns.test.ts diff --git a/app/components/CharCells.vue b/app/components/CharCells.vue index 445040d..3932f13 100644 --- a/app/components/CharCells.vue +++ b/app/components/CharCells.vue @@ -1,5 +1,5 @@