From 8ed57f6e4bd50390102608074dd356f2cf6b01ca Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 30 Nov 2020 23:39:18 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 17 ++++++++++------- ayanova/src/components/gz-data-table.vue | 7 ++++++- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 2df095ef..1483e558 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -5,15 +5,10 @@ MISC ITEMS THAT CAME UP - -todo: v8migrate "Client" locale key stays "client" doesn't change to "Customer" - appears that the method - var v8key = Translatev7TranslationKey(v7item.Key); - is not being called during migrate - todo: gz-data-table make sure unbounded notes column is bounded by some length restriction mobile format is ok, it cuts off at one line, but for desktop we should have a sane limit as right now it's completely unbounded this should apply to any column that displays text but particularly just the plain text ones + todo: picklist empty null vs zero test with customer and headofficeid should have the empty selection pre-selected or maybe I need to do away with that since the clear button does the same thing? @@ -31,7 +26,9 @@ todo: Uifielddatatype Phone and TimeSpan support at client, translation keys etc gz-data-table.vue ay-data-list-view.vue - +todo: User list selection box is for...? + Report also doesn't seem to work on that form, wtf? + remove it if there isn't a purpose to it and bulk ops are not supported todo: search form weirdness ICONS @@ -45,6 +42,12 @@ todo: search form weirdness todo: notification queue? Is there a need for a form where can see all queued notifications and delete them or something in case of issues? or maybe just a single clear it all out button? +todo: tag search is unguessable without reading docs, could there be a hint or something? + FAQ of the day? + How to use form controls link in the controls? + a hint? + Bueller.....? + todo: TEST ON SERVER CUSTOMER STUFF ............................................................ diff --git a/ayanova/src/components/gz-data-table.vue b/ayanova/src/components/gz-data-table.vue index 22fb05a6..8294e9f1 100644 --- a/ayanova/src/components/gz-data-table.vue +++ b/ayanova/src/components/gz-data-table.vue @@ -356,7 +356,7 @@ /* Xeslint-disable */ //////////////////////////////////////////////////////////////////////////////////////////////////////////// import relativeDatefilterCalculator from "../api/relative-date-filter-calculator.js"; - +const MAX_TEXT_COLUMN_LENGTH = 1024; export default { data() { return { @@ -749,6 +749,11 @@ function buildRecords(listData, columndefinitions) { hour12 ); break; + case 4: //text + if (display.length > MAX_TEXT_COLUMN_LENGTH) { + display = display.substring(0, MAX_TEXT_COLUMN_LENGTH) + "..."; + } + break; case 7: //decimal display = window.$gz.locale.decimalLocalized(display, languageName); break;