From 87f8dabf4a0cb5b8130c14e005cefbb1a2ea9a45 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 4 Oct 2021 16:37:46 +0000 Subject: [PATCH] checkpoint before re-code event system for personal schedule to be cleaner and work better --- ayanova/devdocs/todo.txt | 12 +++++++++++- ayanova/src/views/home-schedule.vue | 11 +++++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index b4fe3204..3c25f9e2 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -26,7 +26,17 @@ Issues in svc-schedule day or category view once moreinfo then subsequent drags or extend causes moreinfo again, something isn't being cleared out on moreinfo I think - + click event and drag stepping on each other + potential solution: + dont' use event click at all, use enddrag extend which fires on mouse up of event + this can check and then do moreinfo as it's already handling dragging + see if it detects non vs drag and do accordingly? + Start drag and end drag should handle it all + on start capture time or mouse coords + on stop check if too little time or too short distance occured to be a drag and process as showmore else it's a drag + + + should there be a day view at all in svc sched? diff --git a/ayanova/src/views/home-schedule.vue b/ayanova/src/views/home-schedule.vue index cc99cf98..c508e956 100644 --- a/ayanova/src/views/home-schedule.vue +++ b/ayanova/src/views/home-schedule.vue @@ -67,7 +67,6 @@ :locale="languageName" :event-more-text="$ay.t('More')" :first-time="formUserOptions.firstTime" - @click:event="showMoreInfo" @click:more="viewDay" @click:date="viewDay" @change="fetchEvents" @@ -79,6 +78,7 @@ @mouseup:time="endDragExtend" @mouseleave.native="cancelDrag" > +