diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index bbe31d54..5f175c4d 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -50,11 +50,20 @@ CURRENT TODOs @@@@@@@@@@@ ROADMAP STAGE 2: -todo: RECORD HISTORY - - implement in stubbed out separate page - - Record history could be displayed on a timeline: https://vuetifyjs.com/en/components/timelines - - Defaults to showing most recent stuff first in order to satisfy most common requirement of who last edited - - Probably going to need a server route but let the UI drive it (timeline view requirements maybe?) +todo: RECORD HISTORY (HAS OUTSTANDING ITEMS) + - finish up current large User log view + - title weird + - Not using subtitle now but that might make the most sense for the name or something + - Like to see an option to view individual history as a button or open the record as another button + - maybe instead of the icon being enlarged etc, just move the open and history to an v-card-actions section in the v-card as is supposed to be + - Current view works for User view, make a dedicated Object view + - Make alternate template for small screen for both views, right now it's only suitable for above small (medium?) view + - could easily feed a report with slight modifications...hmm. + - make a todo entry in the report section below to include the ability of feeding reports from local data in addition to off the server + - Does it benefit from caching? (not really thinking so as this is a different animal than search but something to ponder a bit) + + + todo: Translate all ayatypes not translated "data": [ @@ -146,11 +155,10 @@ todo: ADDITIONAL EDIT FORM BUTTONS FUNCTIONALITY STUBBED OUT OR MADE INTO TODO'S - Check what is in RAVEN STAGE 1 cases on RockFish and make TODOs for them here - implement and componentize -todo: WIKI - - Implement in stubbed out existing separate page +todo: WIKI todo: ATTACHMENTS - - Implement in existing stubbed out separate page + diff --git a/ayanova/src/api/translation.js b/ayanova/src/api/translation.js index 4d4a11e6..1c07ce4e 100644 --- a/ayanova/src/api/translation.js +++ b/ayanova/src/api/translation.js @@ -111,6 +111,7 @@ export default { "Save", "Delete", "OK", + "Open", "Print", "Report", "WikiPage", diff --git a/ayanova/src/views/ay-history.vue b/ayanova/src/views/ay-history.vue index 88263c20..44c48828 100644 --- a/ayanova/src/views/ay-history.vue +++ b/ayanova/src/views/ay-history.vue @@ -12,24 +12,25 @@ > {{ getIconForObjectType(i.objectType) }}{{ + >{{ getIconForObjectType(i.objectType) }}{{ getNameForType(i.objectType) }}{{ i.name }}{{ i.name }} + {{ + getNameForType(i.objectType) + }} - {{ i }} - {{ i.date }} {{ getEventName(i.event) }} - {{ i.textra }} +
{{ i.date }} - {{ getEventName(i.event) }}
+
{{ i.textra }}
+ + + {{ $ay.t("History") }} + {{ + $ay.t("Open") + }} +
@@ -79,12 +80,10 @@ export default { }, methods: { openItem(item) { - if (item.canopen) { - window.$gz.eventBus.$emit("openobject", { - type: item.objectType, - id: item.objectId - }); - } + window.$gz.eventBus.$emit("openobject", { + type: item.objectType, + id: item.objectId + }); }, canOpen(otype) { return this.ayaTypes[otype].canopen; @@ -178,9 +177,8 @@ export default { languageName, hour12 ); - //for (let i = 0; i < vm.eventTypes.length; i) { + temp[i].index = i; //TODO: PAGING - //} } vm.obj = temp; //TODO: PAGING