This commit is contained in:
2020-11-05 21:34:13 +00:00
parent 6addc4a38b
commit 0150b46b2e
6 changed files with 23 additions and 17 deletions

View File

@@ -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)