This commit is contained in:
2018-11-16 19:44:50 +00:00
parent 56517ce6e2
commit 4f6dd4f06b
7 changed files with 34 additions and 30 deletions

View File

@@ -15,7 +15,6 @@
<v-icon>fa-glasses</v-icon> <v-icon>fa-glasses</v-icon>
</v-btn> </v-btn>
</v-toolbar> </v-toolbar>
<!-- <v-img :src="require('../assets/bw-logo.svg')" class="my-3" contain height="100"></v-img> -->
<v-list two-line subheader> <v-list two-line subheader>
<v-subheader>{{ lt("ClientApp")}}</v-subheader> <v-subheader>{{ lt("ClientApp")}}</v-subheader>
<v-list-tile avatar> <v-list-tile avatar>

View File

@@ -1,5 +1,6 @@
<template> <template>
<div> <div>
<h1>{{ lt("Log")}}</h1>
<span>{{log()}}</span> <span>{{log()}}</span>
</div> </div>
</template> </template>
@@ -9,15 +10,21 @@
//import lt from "../api/locale"; //import lt from "../api/locale";
import store from "../store"; import store from "../store";
import lt from "../api/locale";
export default { export default {
data() { data() {
return {}; return {};
}, },
beforeMount() {}, beforeMount() {
lt.fetch(["Log"]);
},
mounted() {}, mounted() {},
methods: { methods: {
log: function() { log: function() {
return store.state.logArray; return store.state.logArray;
},
lt: function(key) {
return lt.get(key);
} }
} }
}; };

View File

@@ -32,16 +32,12 @@ WEEK OF 2018-11-12 - RAVEN shell start work. YAY!
NEXT UP / CURRENTLY WORKING ON: NEXT UP / CURRENTLY WORKING ON:
- Do error handling properly!! Do some research about how to properly handle errors in vue app - Clean up error log view so it displays correctly with copyable text box and scrollbars of some kind
- 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 - Centralize the lt function, find out how to move it into the top so can just call it from anywhere
- About page should show or have link to go to the local error log "Support information" view - 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 - Dummy form with all RAVEN required input controls on it for testing

View File

@@ -1428,5 +1428,6 @@
"LicenseSerial": "Seriennummer der Lizenz", "LicenseSerial": "Seriennummer der Lizenz",
"LicenseExpiration": "Lizenziert bis", "LicenseExpiration": "Lizenziert bis",
"SupportedUntil":"Support- und Aktualisierungsdatum", "SupportedUntil":"Support- und Aktualisierungsdatum",
"LicensedOptions":"Lizenzoptionen" "LicensedOptions":"Lizenzoptionen",
"Log":"Protokoll"
} }

View File

@@ -1427,7 +1427,8 @@
"LicenseSerial":"License serial number", "LicenseSerial":"License serial number",
"LicenseExpiration":"License expiration date", "LicenseExpiration":"License expiration date",
"SupportedUntil":"Support and updates expiration date", "SupportedUntil":"Support and updates expiration date",
"LicensedOptions":"Licensed options" "LicensedOptions":"Licensed options",
"Log":"Log"
} }

View File

@@ -1428,5 +1428,6 @@
"LicenseSerial":"Número de serie de licencia", "LicenseSerial":"Número de serie de licencia",
"LicenseExpiration":"Licencia hasta el", "LicenseExpiration":"Licencia hasta el",
"SupportedUntil":"Soporte y actualizaciones fecha de caducidad", "SupportedUntil":"Soporte y actualizaciones fecha de caducidad",
"LicensedOptions":"Opciones de licencia" "LicensedOptions":"Opciones de licencia",
"Log":"Registro"
} }

View File

@@ -1413,21 +1413,20 @@
"WorkorderSummaryTemplate": "Modèle de résumé d'élément de bon de travail", "WorkorderSummaryTemplate": "Modèle de résumé d'élément de bon de travail",
"WorkorderSummaryWorkorderItem": "Infos de bon de travail à afficher", "WorkorderSummaryWorkorderItem": "Infos de bon de travail à afficher",
"Dispatch": "Répartir", "Dispatch": "Répartir",
"Accounting": "Comptabilité", "Accounting": "Comptabilité",
"Operations": "Console Opérateur", "Operations": "Console Opérateur",
"ClientApp":"Client", "ClientApp": "Client",
"Version":"Version", "Version": "Version",
"Server":"Serveur", "Server": "Serveur",
"SchemaVersion":"Version du schéma", "SchemaVersion": "Version du schéma",
"ServerTime":"Heure du serveur", "ServerTime": "Heure du serveur",
"TimeZone":"Fuseau horaire", "TimeZone": "Fuseau horaire",
"RegisteredUser":"Utilisateur inscrit", "RegisteredUser": "Utilisateur inscrit",
"DatabaseID":"ID base de données", "DatabaseID": "ID base de données",
"LicenseSerial":"Numéro de série de licence", "LicenseSerial": "Numéro de série de licence",
"LicenseExpiration":"Accordée sous licence jusqu'au", "LicenseExpiration": "Accordée sous licence jusqu'au",
"SupportedUntil":"Support et mises à jour date d'expiration", "SupportedUntil": "Support et mises à jour date d'expiration",
"LicensedOptions":"Options de licence" "LicensedOptions": "Options de licence",
"Log": "Enregistrement"
} }