This commit is contained in:
@@ -14,8 +14,7 @@
|
||||
<v-btn large icon to="/log">
|
||||
<v-icon>fa-glasses</v-icon>
|
||||
</v-btn>
|
||||
</v-toolbar>
|
||||
<!-- <v-img :src="require('../assets/bw-logo.svg')" class="my-3" contain height="100"></v-img> -->
|
||||
</v-toolbar>
|
||||
<v-list two-line subheader>
|
||||
<v-subheader>{{ lt("ClientApp")}}</v-subheader>
|
||||
<v-list-tile avatar>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>{{ lt("Log")}}</h1>
|
||||
<span>{{log()}}</span>
|
||||
</div>
|
||||
</template>
|
||||
@@ -9,15 +10,21 @@
|
||||
|
||||
//import lt from "../api/locale";
|
||||
import store from "../store";
|
||||
import lt from "../api/locale";
|
||||
export default {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
beforeMount() {},
|
||||
beforeMount() {
|
||||
lt.fetch(["Log"]);
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
log: function() {
|
||||
return store.state.logArray;
|
||||
},
|
||||
lt: function(key) {
|
||||
return lt.get(key);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -31,17 +31,13 @@ WEEK OF 2018-11-12 - RAVEN shell start work. YAY!
|
||||
// eslint-disable-next-line
|
||||
|
||||
NEXT UP / CURRENTLY WORKING ON:
|
||||
|
||||
- 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
|
||||
- Clean up error log view so it displays correctly with copyable text box and scrollbars of some kind
|
||||
|
||||
- Centralize the lt function, find out how to move it into the top so can just call it from anywhere
|
||||
- pre-fetch: noticed it's not pausing long enough to get teh fetched text at times (log view)
|
||||
- Need everything to stay on hold until the fetch of localized text is completed for that view somehow
|
||||
- fetch in router? or how can I hold things off in vue lifecycle until it's done with the fetch of the keys?
|
||||
|
||||
|
||||
- Dummy form with all RAVEN required input controls on it for testing
|
||||
|
||||
@@ -1428,5 +1428,6 @@
|
||||
"LicenseSerial": "Seriennummer der Lizenz",
|
||||
"LicenseExpiration": "Lizenziert bis",
|
||||
"SupportedUntil":"Support- und Aktualisierungsdatum",
|
||||
"LicensedOptions":"Lizenzoptionen"
|
||||
"LicensedOptions":"Lizenzoptionen",
|
||||
"Log":"Protokoll"
|
||||
}
|
||||
|
||||
@@ -1427,7 +1427,8 @@
|
||||
"LicenseSerial":"License serial number",
|
||||
"LicenseExpiration":"License expiration date",
|
||||
"SupportedUntil":"Support and updates expiration date",
|
||||
"LicensedOptions":"Licensed options"
|
||||
"LicensedOptions":"Licensed options",
|
||||
"Log":"Log"
|
||||
|
||||
|
||||
}
|
||||
@@ -1428,5 +1428,6 @@
|
||||
"LicenseSerial":"Número de serie de licencia",
|
||||
"LicenseExpiration":"Licencia hasta el",
|
||||
"SupportedUntil":"Soporte y actualizaciones fecha de caducidad",
|
||||
"LicensedOptions":"Opciones de licencia"
|
||||
"LicensedOptions":"Opciones de licencia",
|
||||
"Log":"Registro"
|
||||
}
|
||||
@@ -1413,21 +1413,20 @@
|
||||
"WorkorderSummaryTemplate": "Modèle de résumé d'élément de bon de travail",
|
||||
"WorkorderSummaryWorkorderItem": "Infos de bon de travail à afficher",
|
||||
|
||||
|
||||
"Dispatch": "Répartir",
|
||||
"Accounting": "Comptabilité",
|
||||
"Operations": "Console Opérateur",
|
||||
"ClientApp":"Client",
|
||||
"Version":"Version",
|
||||
"Server":"Serveur",
|
||||
"SchemaVersion":"Version du schéma",
|
||||
"ServerTime":"Heure du serveur",
|
||||
"TimeZone":"Fuseau horaire",
|
||||
"RegisteredUser":"Utilisateur inscrit",
|
||||
"DatabaseID":"ID base de données",
|
||||
"LicenseSerial":"Numéro de série de licence",
|
||||
"LicenseExpiration":"Accordée sous licence jusqu'au",
|
||||
"SupportedUntil":"Support et mises à jour date d'expiration",
|
||||
"LicensedOptions":"Options de licence"
|
||||
|
||||
"ClientApp": "Client",
|
||||
"Version": "Version",
|
||||
"Server": "Serveur",
|
||||
"SchemaVersion": "Version du schéma",
|
||||
"ServerTime": "Heure du serveur",
|
||||
"TimeZone": "Fuseau horaire",
|
||||
"RegisteredUser": "Utilisateur inscrit",
|
||||
"DatabaseID": "ID base de données",
|
||||
"LicenseSerial": "Numéro de série de licence",
|
||||
"LicenseExpiration": "Accordée sous licence jusqu'au",
|
||||
"SupportedUntil": "Support et mises à jour date d'expiration",
|
||||
"LicensedOptions": "Options de licence",
|
||||
"Log": "Enregistrement"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user