This commit is contained in:
2021-09-20 18:53:08 +00:00
parent 7360ae9356
commit 36092ea684
2 changed files with 6 additions and 13 deletions

View File

@@ -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

View File

@@ -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;