This commit is contained in:
@@ -16,14 +16,31 @@ todo: See if this has a use: as an aside there is a relative time formatter avai
|
||||
does locale aware things like "5 days ago" or "8 years from now" etc
|
||||
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat
|
||||
|
||||
todo: hide swagger logo and branding in api explorer
|
||||
todo: hide swagger logo and branding in api explorer
|
||||
Is this really that important?
|
||||
also, in the docs is a section specifically saying I should do something because I'm using newtonsoft json not microsoft built in
|
||||
https://github.com/domaindrivendev/Swashbuckle.AspNetCore#systemtextjson-stj-vs-newtonsoft
|
||||
https://github.com/domaindrivendev/Swashbuckle.AspNetCore
|
||||
|
||||
|
||||
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: 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)
|
||||
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
|
||||
awaiting reply, if nothing by the time I get here then delete and wait for email notification or if I care enough again to bother with it (cosmetic)
|
||||
|
||||
@@ -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
|
||||
|
||||
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==",
|
||||
"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": {
|
||||
"version": "2.1.6",
|
||||
"resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz",
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
"dompurify": "^2.1.1",
|
||||
"fontsource-roboto": "^3.0.3",
|
||||
"github-markdown-css": "^4.0.0",
|
||||
"hotkeys-js": "^3.8.1",
|
||||
"jwt-decode": "^3.0.0",
|
||||
"luxon": "^1.25.0",
|
||||
"marked": "^1.2.2",
|
||||
|
||||
@@ -232,6 +232,7 @@ Vue.prototype.$ay = {
|
||||
return locale.currencyLocalized(value);
|
||||
}
|
||||
};
|
||||
|
||||
new Vue({
|
||||
vuetify: Vuetify,
|
||||
router,
|
||||
|
||||
@@ -268,6 +268,7 @@ const FORM_CUSTOM_TEMPLATE_KEY = "Widget"; //<-- Should always be CoreBizObject
|
||||
export default {
|
||||
async created() {
|
||||
let vm = this;
|
||||
|
||||
try {
|
||||
await initForm(vm);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user