This commit is contained in:
@@ -72,13 +72,16 @@ All platforms and browsers
|
||||
- TO TEST: Calendar on iPad in two occasions with ff and opera the calendar date could not be selected until a time was changed then the date worked. Before that it would always stay the same no matter what selection was made and the UI would not show a change on select or press of date either.
|
||||
|
||||
- Navigation guard: navigate away with unsaved changes should warn and prevent but have option to continue anyway
|
||||
- Logout needs the same request
|
||||
- Logout needs the same request
|
||||
|
||||
|
||||
### RETEST ALL DEVICES WHEN GET TO HERE #####
|
||||
|
||||
|
||||
End to end action
|
||||
|
||||
|
||||
TODO UNDER CONSTRUCTION
|
||||
- show under construction page in every item that has no current view so it's clear it's not just buggy and blank but purposefully so
|
||||
TODO: RIGHTS FOR LIST
|
||||
- TODO LIST OBJECT RESEARCH / DECISION
|
||||
- TODO: ?? DECISION server widget lists and other lists
|
||||
@@ -89,6 +92,7 @@ TODO: RIGHTS FOR LIST
|
||||
- WidgetList should check if even possible to read any part of record, if not then no link to edit
|
||||
- WidgetList should check if Own record possible and check the list object for owner ID (maybe all lists will need to provide owner ID's?)
|
||||
TODO: Persist view on return
|
||||
- useful info here: https://vuejsdevelopers.com/2017/04/16/vue-js-browser-button-ux/
|
||||
- there's another item like this below somewhere.
|
||||
- Widget list, refresh page causes items per page to reset back to 5 from custom setting, it should cache that shit at least for a session anyway
|
||||
- Although people probably would want this to be saved to survive sessions
|
||||
|
||||
@@ -124,19 +124,6 @@ export default {
|
||||
break;
|
||||
case "logout":
|
||||
vm.$router.push({ name: "login" });
|
||||
// if (vm.formState && vm.formState.dirty) {
|
||||
// vm.$gzdialog.confirmLeaveUnsaved(vm).then(dialogResult => {
|
||||
// if (dialogResult == true) {
|
||||
// processLogout();
|
||||
// vm.$router.push({ name: "login" });
|
||||
// } else {
|
||||
// return;
|
||||
// }
|
||||
// });
|
||||
// } else {
|
||||
// processLogout();
|
||||
// vm.$router.push({ name: "login" });
|
||||
// }
|
||||
break;
|
||||
case "nav":
|
||||
vm.$router.push({ name: item.data });
|
||||
|
||||
@@ -99,6 +99,8 @@ export default {
|
||||
}
|
||||
},
|
||||
beforeRouteEnter(to, from, next) {
|
||||
//very important as this in conjunction with the menu options means
|
||||
//navigation guards work properly by just sending people here
|
||||
next(() => {
|
||||
auth.logout();
|
||||
next();
|
||||
|
||||
Reference in New Issue
Block a user