This commit is contained in:
@@ -6,26 +6,17 @@ PRIORITY - ALWAYS Lowest level stuff first, i.e. TODO at server, api route chang
|
|||||||
|
|
||||||
|
|
||||||
todo: notification
|
todo: notification
|
||||||
it's time, this is a big deal and it's tied to infrastructure shit so qualifies as an early thing to be done
|
https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3783
|
||||||
add CLIENT long polling notification route check
|
polling example code:
|
||||||
add dummy route for above then flesh out
|
https://davidwalsh.name/javascript-polling
|
||||||
- Currently there is no UI area for notification display, maybe the settings one there would become that and
|
https://javascript.info/long-polling
|
||||||
there are other ways to do settings already devised see specs / cases
|
|
||||||
- Notifications for OPS jobs? (Notify me when done kind of thing?)
|
|
||||||
todo: OPS notification created for failed jobs
|
|
||||||
also maybe direct immediate email bypassing generator?
|
|
||||||
Add backup fail to this will stub out for now
|
|
||||||
This is a bit outdated, lots of decisions already made and worked out in cases / spec docs
|
|
||||||
https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3507
|
|
||||||
- Need way to acknowledge receipt of long poll info from client to server so that it can be removed or something?
|
|
||||||
- maybe successfull sending clears it regardless of client?
|
|
||||||
https://github.com/vuetifyjs/vuetify/blob/3513d76774ce4ed02c34220ba6389fa0f42467c1/packages/docs/src/components/app/Notifications.vue
|
https://github.com/vuetifyjs/vuetify/blob/3513d76774ce4ed02c34220ba6389fa0f42467c1/packages/docs/src/components/app/Notifications.vue
|
||||||
|
|
||||||
|
|
||||||
todo: PickLists based on AyaPickList at server, need one for each type, so far have widget and user only
|
todo: PickLists based on AyaPickList at server, need one for each type, so far have widget and user only
|
||||||
Not sure if should just make them all or...??
|
Not sure if should just make them all or...??
|
||||||
Maybe when I hit a form that uses it, that's when I really need it?
|
Maybe when I hit a form that uses it, that's when I really need it?
|
||||||
|
todo: help links for individual extensions? (button I guess since no menu on them)
|
||||||
todo: rockfish, can't do purchase for raven or view it I think
|
todo: rockfish, can't do purchase for raven or view it I think
|
||||||
todo: rockfish, upgrade to latest bootstrap, out of date Currently
|
todo: rockfish, upgrade to latest bootstrap, out of date Currently
|
||||||
todo: rockfish, trial license fetched On date not updating? (not showing in UI)
|
todo: rockfish, trial license fetched On date not updating? (not showing in UI)
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
/* xeslint-disable */
|
/* xeslint-disable */
|
||||||
import decode from "jwt-decode";
|
import decode from "jwt-decode";
|
||||||
import initialize from "./initialize";
|
import initialize from "./initialize";
|
||||||
|
import notifypoll from "./notifypoll";
|
||||||
|
|
||||||
export function processLogin(authResponse, loggedInWithKnownPassword) {
|
export function processLogin(authResponse, loggedInWithKnownPassword) {
|
||||||
return new Promise(async function(resolve, reject) {
|
return new Promise(async function(resolve, reject) {
|
||||||
@@ -82,12 +83,15 @@ export function processLogin(authResponse, loggedInWithKnownPassword) {
|
|||||||
reject(err);
|
reject(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//start notification polling
|
||||||
|
notifypoll.startPolling();
|
||||||
resolve();
|
resolve();
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
export function processLogout() {
|
export function processLogout() {
|
||||||
|
notifypoll.stopPolling();
|
||||||
if (window.$gz.store.state.authenticated) {
|
if (window.$gz.store.state.authenticated) {
|
||||||
window.$gz.store.commit(
|
window.$gz.store.commit(
|
||||||
"logItem",
|
"logItem",
|
||||||
|
|||||||
5
ayanova/src/api/notifypoll.js
Normal file
5
ayanova/src/api/notifypoll.js
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
/* xeslint-disable */
|
||||||
|
|
||||||
|
let _timerId = null;
|
||||||
|
|
||||||
|
export default { startPolling() {}, stopPolling() {} };
|
||||||
Reference in New Issue
Block a user