From 6ded0339d732bffc25ec0cb8942bbad58c34a4bc Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Thu, 5 Sep 2024 23:17:49 -0700 Subject: [PATCH] Set max notes length to 1024 Fixes #10636 --- docs/CHANGELOG.md | 1 + src/app/inventory/spreadsheets.ts | 3 ++- src/app/item-popup/NotesArea.tsx | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index af5b7152b2..b79f26af5b 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -8,6 +8,7 @@ * Added `is:dupeperks` search that shows items that either are a duplicate of another item's perks, or a subset of another item's perks (taking into account which column perks appear in). * Added a Loadouts CSV export, accessible from the Settings page. * Improved how conditional stats for perks are calculated, including fixups for exotic catalyst stats, Enhanced Bipod, and more. +* The notes text area now has a maximum editable size of 1024 characters, up from 120. ## 8.35.1 (2024-09-01) diff --git a/src/app/inventory/spreadsheets.ts b/src/app/inventory/spreadsheets.ts index c2faffbaa9..31bd92f8eb 100644 --- a/src/app/inventory/spreadsheets.ts +++ b/src/app/inventory/spreadsheets.ts @@ -1,6 +1,7 @@ import { CustomStatDef, DestinyVersion } from '@destinyitemmanager/dim-api-types'; import { currentAccountSelector } from 'app/accounts/selectors'; import { customStatsSelector, languageSelector } from 'app/dim-api/selectors'; +import { maxLength } from 'app/item-popup/NotesArea'; import { LoadoutsByItem, loadoutsByItemSelector } from 'app/loadout/selectors'; import { buildStatInfo, getColumns } from 'app/organizer/Columns'; import { SpreadsheetContext } from 'app/organizer/table-types'; @@ -311,7 +312,7 @@ export function importTagsNotesFromCsv(files: File[]): ThunkResult