diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index cb1f8e94..5e0f9b64 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -11,33 +11,10 @@ ____________ ## CURRENT STAGE: -todo: BAckend inapp notification form - Thinking of Vuetify List component https://vuetifyjs.com/en/components/lists/ - I'm pretty sure somewhere I've used this kind of layout with actions before, maybe in attachments or history? - Layout: - 3 LINE style - Listed in order from newest at top to oldest at bottom - AVATAR to left side which is icon of ayatype - TITLE which is the event type translation AND object name and date - SUBTITLE which is the message if applicable - ACTION buttons open object, delete notification, open subscription - POSSIBLE: Items approaching 90 days old should show differently to indicate they are about to be deleted, like faded or something? - - TODO: Vuetify List - Layout: 3 LINE style Listed in order from newest at top - to oldest at bottom AVATAR to left side which is icon of ayatype TITLE which - is the event type translation AND object name SUBTITLE which is the message - if applicable ACTION buttons open object, delete notification - -todo: add Client app notification form -todo: Add backend routes to support client app notification - - -todo: subscribe to widget CRUD events -todo: get delivery of widget CRUD events -todo: ops and backup notify add code todo: ops and backup subscribe and confirm delivery and proper handling +todo: do I add server operations problem notify when server has an unhandled exception? todo: //Open question - do we need a priority level for notifications, i.e. if system is having backup issue slightly more important than something run of the mill? //or, maybe it's an option to popup if this occurs so user can decide if they want to see a red notice or not diff --git a/ayanova/src/views/home-notifications.vue b/ayanova/src/views/home-notifications.vue index 53ba26c7..40610a49 100644 --- a/ayanova/src/views/home-notifications.vue +++ b/ayanova/src/views/home-notifications.vue @@ -16,8 +16,10 @@ >{{ i.uicreated }} - {{ i.uievent }} {{ i.icon }}{{ i.uiayatype }} + >
{{ i.message }}
@@ -26,7 +28,9 @@ {{ $ay.t("NotifySubscription") }} - {{ $ay.t("Open") }} + {{ + $ay.t("Open") + }} @@ -145,6 +149,15 @@ export default { let temp = res.data; + //Nice touch to show super faded just before deletion but don't have time for this fuckery at the moment + // let dtNow = window.$gz.DateTime.local(); + // let dtToday = window.$gz.DateTime.local( + // dtNow.year, + // dtNow.month, + // dtNow.day + // ); + // let dtPrecipice = dtToday.plus({ days: -85 }).toUTC(); + let timeZoneName = window.$gz.locale.getBrowserTimeZoneName(); let languageName = window.$gz.locale.getBrowserLanguages(); let hour12 = window.$gz.store.state.locale.hour12; @@ -173,7 +186,7 @@ export default { "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla tristique aliquam luctus. Suspendisse molestie lacus ac varius cursus. Praesent facilisis sem quam, vitae tincidunt ligula porttitor maximus. Sed quis mi commodo, dictum nunc sed, elementum leo. In tincidunt porta risus, et tristique orci congue at."; } if (temp[i].name == "~SERVER~") { - temp[i].name = vm.$t("Server"); + temp[i].name = vm.$ay.t("Server"); } }