diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 9ff23a66..09f0a53d 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -11,7 +11,10 @@ ____________ ## CURRENT STAGE: -todo: notification general default created on general notify is creating every time, not just if it's needed +todo: Notify subscription grid showing all notifications for all users due to no way to filter to just current user automatically + I could add a system to inject a where clause into the query + or I could convert that view and any that are not based on core biz objects into a simple list and datagrid without sort and filter additions + like the backup list or other lists recently worked on todo: notification system docs It's complex and needs a clear documentation about how it all works @@ -19,6 +22,11 @@ todo: notification system docs Big overview then drill down ########################## + +todo: Am I forgetting to unsubscribe from event handler in every form for menu click? + See home-notify-subscriptions beforeDestroy() event which has a block to unsubscribe to clicks + Make sure that's the case everywhere + todo: generated user names have numbers in them and are not the same as the id. Do they need numbers? Can it just keep an internal list of used names and bump or query the db to see if it's already used because there are not that many generated users generally. @@ -183,6 +191,10 @@ todo: INSTALLER This stage is to consolidate the basics and set the final shell form. A lot of it might be rundundent +TODO: GRIDS I'm still on the fence with the grid sort and filter system + Filter is ok, it's complex and people don't expect it to be super easy, but sort is a bit of a palaver + it seems too difficult to make a quick sort change, can it be supported to just click on column headings? + todo: Go through all cases, just glance over them and make sure nothing was missed that impacts the basic shell stuff before I get into the real world objects todo: notification system? diff --git a/ayanova/src/api/gzutil.js b/ayanova/src/api/gzutil.js index 9cc0c7b1..c8f05e17 100644 --- a/ayanova/src/api/gzutil.js +++ b/ayanova/src/api/gzutil.js @@ -278,7 +278,18 @@ export default { source.slice(start + Math.abs(delCount)) ); }, - + /////////////////////////////// + // Format tags for display + // + // + // @param {String} tags raw from server + // @return {string} A new string with the tags formatted or an empty string if no tags + formatTags: function(tags) { + if (tags && tags.length > 0) { + return tags.join(", "); + } + return ""; + }, /////////////////////////////// // ICON FOR *ALL* OBJECT TYPES //(used for search results and event log / history) diff --git a/ayanova/src/views/home-notify-subscriptions.vue b/ayanova/src/views/home-notify-subscriptions.vue index 471bc331..5fd21682 100644 --- a/ayanova/src/views/home-notify-subscriptions.vue +++ b/ayanova/src/views/home-notify-subscriptions.vue @@ -1,47 +1,122 @@