From 36092ea6846bc18461398ccbad6d8f27b7d3acb4 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 20 Sep 2021 18:53:08 +0000 Subject: [PATCH] --- ayanova/src/views/home-reminder.vue | 2 +- ayanova/src/views/home-schedule.vue | 17 +++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/ayanova/src/views/home-reminder.vue b/ayanova/src/views/home-reminder.vue index bfc00cc0..2f65512c 100644 --- a/ayanova/src/views/home-reminder.vue +++ b/ayanova/src/views/home-reminder.vue @@ -273,7 +273,7 @@ export default { startDate: null, stopDate: null, userId: window.$gz.store.state.userId, - color: "#FFFFFFFF" + color: "#EBEBEBFF" //very light gray or it will be invisible in white schedule control }, //mStartDate = new SmartDate(DBUtil.CurrentWorkingDateTime);//case 1967 set starting date so can't save with no date //mStopDate = new SmartDate(DBUtil.CurrentWorkingDateTime.AddHours(1));//case 1967 starting default diff --git a/ayanova/src/views/home-schedule.vue b/ayanova/src/views/home-schedule.vue index 028e6bfc..e24c6ca0 100644 --- a/ayanova/src/views/home-schedule.vue +++ b/ayanova/src/views/home-schedule.vue @@ -333,18 +333,11 @@ TODO NEXT: More info: checkbox beside each item below that can be shown in wo Needs a refresh button at top + Issue + needs a fast click to open an item for more info, related to 100ms?? + if too slow a click it ignores it - bugproof hexcolor function at server in case it gets bogus data, then just return neutral gray and log error - 2021-09-20 11:02:43.8205|ERROR|Microsoft.EntityFrameworkCore.Query|An exception occurred while iterating over the results of a query for context type 'AyaNova.Models.AyContext'. -System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length') - at System.String.Substring(Int32 startIndex, Int32 length) - at AyaNova.Api.Controllers.ScheduleController.TextColor(String hexcolor) in C:\data\code\raven\server\AyaNova\Controllers\ScheduleController.cs:line 218 - at AyaNova.Api.Controllers.ScheduleController.MakeReviewSchedItem(Review v, PersonalScheduleParams p) in C:\data\code\raven\server\AyaNova\Controllers\ScheduleController.cs:line 187 - at lambda_method10879(Closure , QueryContext , DbDataReader , ResultContext , SingleQueryResultCoordinator ) - at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync() - - TESTING: drag/extend in all views working? touch mode still can do all ops @@ -482,7 +475,7 @@ export default { this.dragged = false; this.dragTimeout = setTimeout(() => { this.dragged = true; - }, 100); // Minimal delay to be regarded as drag instead of click + }, 200); // Minimal delay to be regarded as drag instead of click this.dragEvent = event; this.dragTime = null; @@ -499,7 +492,7 @@ export default { this.dragged = false; this.dragTimeout = setTimeout(() => { this.dragged = true; - }, 100); // Minimal delay to be regarded as extend instead of click + }, 200); // Minimal delay to be regarded as extend instead of click //this.dragEvent = event; this.extendEvent = event;