This commit is contained in:
2018-11-16 00:59:10 +00:00
parent f5724f40cb
commit 869322032e
3 changed files with 16 additions and 6 deletions

View File

@@ -14,5 +14,8 @@ export default {
msg = Date.now() + "|" + msg; msg = Date.now() + "|" + msg;
buffer.push(msg); buffer.push(msg);
store.commit("setLog", buffer.toArray()); store.commit("setLog", buffer.toArray());
},
getLogText(){
//TODO: iterate the array from store, convert timestamps to local date and time and arrange as a block of multiline text to display in the UI
} }
}; };

View File

@@ -7,7 +7,7 @@
<script> <script>
/* xeslint-disable */ /* xeslint-disable */
//import logger from "../utils/logit"; import logger from "../utils/logit";
//import lt from "../api/locale"; //import lt from "../api/locale";
//import store from "../store"; //import store from "../store";
export default { export default {
@@ -18,7 +18,7 @@ export default {
mounted() {}, mounted() {},
methods: { methods: {
log: function() { log: function() {
return this.$store.state.logBuffer; logger.getLogText();
} }
} }
}; };

View File

@@ -32,11 +32,18 @@ WEEK OF 2018-11-12 - RAVEN shell start work. YAY!
NEXT UP / CURRENTLY WORKING ON: NEXT UP / CURRENTLY WORKING ON:
- About page with server license info, server version / client version - Do error handling properly!! Do some research about how to properly handle errors in vue app
- Need a log that can be displayed in UI
- Also should show or have link to go to the local error log "Support information" view - Need to handled unexpected errors
- Search for terms I already localized via google on microsoft localization search page to confirm they are correct or change them - window.onerror handler?
- Vue error handler: https://vuejs.org/v2/api/#errorHandler ?
- Send errors back to server?
- some kind of trick with requesting an image but including the error stuff in the query parameter or something?
- Add an error log view that a user can go to without logging in that shows the local error log - Add an error log view that a user can go to without logging in that shows the local error log
- About page should show or have link to go to the local error log "Support information" view
- Dummy form with all RAVEN required input controls on it for testing - Dummy form with all RAVEN required input controls on it for testing
- As if a widget but not actual widget api calls yet so can expand this form later and save time - As if a widget but not actual widget api calls yet so can expand this form later and save time
- Document a release procedure while doing the next step: - Document a release procedure while doing the next step: