This commit is contained in:
@@ -14,5 +14,8 @@ export default {
|
||||
msg = Date.now() + "|" + msg;
|
||||
buffer.push(msg);
|
||||
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
|
||||
}
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<script>
|
||||
/* xeslint-disable */
|
||||
|
||||
//import logger from "../utils/logit";
|
||||
import logger from "../utils/logit";
|
||||
//import lt from "../api/locale";
|
||||
//import store from "../store";
|
||||
export default {
|
||||
@@ -18,7 +18,7 @@ export default {
|
||||
mounted() {},
|
||||
methods: {
|
||||
log: function() {
|
||||
return this.$store.state.logBuffer;
|
||||
logger.getLogText();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -32,11 +32,18 @@ WEEK OF 2018-11-12 - RAVEN shell start work. YAY!
|
||||
|
||||
NEXT UP / CURRENTLY WORKING ON:
|
||||
|
||||
- About page with server license info, server version / client version
|
||||
|
||||
- Also should show or have link to go to the local error log "Support information" view
|
||||
- Search for terms I already localized via google on microsoft localization search page to confirm they are correct or change them
|
||||
- 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
|
||||
- Need to handled unexpected errors
|
||||
- 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
|
||||
- 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
|
||||
- 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:
|
||||
|
||||
Reference in New Issue
Block a user