This commit is contained in:
@@ -23,6 +23,23 @@ todo: See if this has a use: as an aside there is a relative time formatter avai
|
|||||||
https://github.com/domaindrivendev/Swashbuckle.AspNetCore
|
https://github.com/domaindrivendev/Swashbuckle.AspNetCore
|
||||||
|
|
||||||
|
|
||||||
|
todo: keycodes mirror common menu options like save close back etc
|
||||||
|
Ok, half coded this then realized it would conflict with almost every browser and os combination plus whatever hotkey helper people have installed
|
||||||
|
https://stackoverflow.com/questions/3329420/what-are-cross-browser-and-cross-os-safe-keyboard-shortcuts-usable-for-web-appli
|
||||||
|
but, if I were to do it then this is how:
|
||||||
|
https://github.com/jaywcjlove/hotkeys
|
||||||
|
import hotkeys from "hotkeys-js";
|
||||||
|
//https://github.com/jaywcjlove/hotkeys/issues/115#issuecomment-654283151
|
||||||
|
Vue.prototype.$keys = hotkeys.noConflict(true);
|
||||||
|
todo: can I support keycodes for saving in AyaNova and other shit that are the same as in v7 or as much as possible, i.e. ctrl-s to save (or whatever was defined)
|
||||||
|
watch out the report editor uses a bunch of hotkeys pre-defined
|
||||||
|
What v7 used to support:
|
||||||
|
f1 - help, case (Keys.Alt | Keys.X) //Close form, alt-w new workorder, alt-m new pm workorder, alt-q new quote, alt-c new client, alt-u new unit, alt-p new part, ctrl-alt-g grid criteria for development,
|
||||||
|
IMPORTANT / DO THIS: insert date and time (localized) as text anywhere with a key combo
|
||||||
|
https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/1514
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo: service workers for monaco going in root of website folder, must be a config setting to move it into the proper place (not there)
|
todo: service workers for monaco going in root of website folder, must be a config setting to move it into the proper place (not there)
|
||||||
couldn't find anything about it, may need to post to ask, it's not the end of the world but kind of stupid looking as all the rest of the js is in subfolder
|
couldn't find anything about it, may need to post to ask, it's not the end of the world but kind of stupid looking as all the rest of the js is in subfolder
|
||||||
https://github.com/microsoft/monaco-editor-webpack-plugin/issues/126
|
https://github.com/microsoft/monaco-editor-webpack-plugin/issues/126
|
||||||
|
|||||||
@@ -3,20 +3,13 @@
|
|||||||
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
||||||
|
|
||||||
|
|
||||||
todo: keycodes mirror common menu options like save close back etc
|
|
||||||
https://github.com/jaywcjlove/hotkeys/issues/115
|
|
||||||
|
|
||||||
todo: can I support keycodes for saving in AyaNova and other shit that are the same as in v7 or as much as possible, i.e. ctrl-s to save (or whatever was defined)
|
|
||||||
watch out the report editor uses a bunch of hotkeys pre-defined
|
|
||||||
What v7 used to support:
|
|
||||||
f1 - help, case (Keys.Alt | Keys.X) //Close form, alt-w new workorder, alt-m new pm workorder, alt-q new quote, alt-c new client, alt-u new unit, alt-p new part, ctrl-alt-g grid criteria for development,
|
|
||||||
IMPORTANT / DO THIS: insert date and time (localized) as text anywhere with a key combo
|
|
||||||
https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/1514
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo: how to and search for memory leaks, excercise all forms and make sure now
|
todo: how to and search for memory leaks, excercise all forms and make sure now
|
||||||
|
https://developers.google.com/web/tools/chrome-devtools/memory-problems
|
||||||
|
https://nolanlawson.com/2020/02/19/fixing-memory-leaks-in-web-applications/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
5
ayanova/package-lock.json
generated
5
ayanova/package-lock.json
generated
@@ -11633,11 +11633,6 @@
|
|||||||
"integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",
|
"integrity": "sha512-7T/BxH19zbcCTa8XkMlbK5lTo1WtgkFi3GvdWEyNuc4Vex7/9Dqbnpsf4JMydcfj9HCg4zUWFTL3Za6lapg5/w==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"hotkeys-js": {
|
|
||||||
"version": "3.8.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/hotkeys-js/-/hotkeys-js-3.8.1.tgz",
|
|
||||||
"integrity": "sha512-YlhVQtyG9f1b7GhtzdhR0Pl+cImD1ZrKI6zYUa7QLd0zuThiL7RzZ+ANJyy7z+kmcCpNYBf5PjBa3CjiQ5PFpw=="
|
|
||||||
},
|
|
||||||
"hpack.js": {
|
"hpack.js": {
|
||||||
"version": "2.1.6",
|
"version": "2.1.6",
|
||||||
"resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
|
"resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
|
||||||
|
|||||||
@@ -24,7 +24,6 @@
|
|||||||
"dompurify": "^2.1.1",
|
"dompurify": "^2.1.1",
|
||||||
"fontsource-roboto": "^3.0.3",
|
"fontsource-roboto": "^3.0.3",
|
||||||
"github-markdown-css": "^4.0.0",
|
"github-markdown-css": "^4.0.0",
|
||||||
"hotkeys-js": "^3.8.1",
|
|
||||||
"jwt-decode": "^3.0.0",
|
"jwt-decode": "^3.0.0",
|
||||||
"luxon": "^1.25.0",
|
"luxon": "^1.25.0",
|
||||||
"marked": "^1.2.2",
|
"marked": "^1.2.2",
|
||||||
|
|||||||
@@ -232,6 +232,7 @@ Vue.prototype.$ay = {
|
|||||||
return locale.currencyLocalized(value);
|
return locale.currencyLocalized(value);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
new Vue({
|
new Vue({
|
||||||
vuetify: Vuetify,
|
vuetify: Vuetify,
|
||||||
router,
|
router,
|
||||||
|
|||||||
@@ -268,6 +268,7 @@ const FORM_CUSTOM_TEMPLATE_KEY = "Widget"; //<-- Should always be CoreBizObject
|
|||||||
export default {
|
export default {
|
||||||
async created() {
|
async created() {
|
||||||
let vm = this;
|
let vm = this;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await initForm(vm);
|
await initForm(vm);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user