This commit is contained in:
2019-11-14 23:10:45 +00:00
parent fc6b8be048
commit eed91ae67a
4 changed files with 19 additions and 28 deletions

View File

@@ -87,6 +87,8 @@ TODO: Widget edit form, new record gives following error because custom field no
- Why is this not displaying right in the UI error box? It just says "Validation error Object did not pass validation" and nothing else!? - Why is this not displaying right in the UI error box? It just says "Validation error Object did not pass validation" and nothing else!?
TODO: Make sure can easily make new record in Widget form before getting into deeper stuff or making any other object forms.
TODO: Widget edit form, new record sb dates pre-filled in? Server involved? How to handle new record initial date set? TODO: Widget edit form, new record sb dates pre-filled in? Server involved? How to handle new record initial date set?
- Don't start blank basically - Don't start blank basically
- some objects may be configurable what the default date/time range is so maybe enable that for widget to test - some objects may be configurable what the default date/time range is so maybe enable that for widget to test
@@ -171,6 +173,7 @@ TODO: Clean up TODO list, have only actionable, not completed items.
TODO: NOW THAT FORM IS THERE MOSTLY, CLEAN UP CODE FOR RE-USE in many other forms TODO: NOW THAT FORM IS THERE MOSTLY, CLEAN UP CODE FOR RE-USE in many other forms
- Look for things to componentize - Look for things to componentize
- Can I componentize the whole form itself so that I have all the basic requirements built in and can just customize certain things for each object type?
- Look for things that are not specific to the widget edit form but can be abstracted away for other forms - Look for things that are not specific to the widget edit form but can be abstracted away for other forms
- Don't need to replicate common code so put it somewhere else - Don't need to replicate common code so put it somewhere else
- Are any of the controls better as a component and self contained to save the size of the form code and complexity? - Are any of the controls better as a component and self contained to save the size of the form code and complexity?

View File

@@ -6925,9 +6925,9 @@
} }
}, },
"core-js": { "core-js": {
"version": "3.3.6", "version": "3.4.1",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.3.6.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.4.1.tgz",
"integrity": "sha512-u4oM8SHwmDuh5mWZdDg9UwNVq5s1uqq6ZDLLIs07VY+VJU91i3h4f3K/pgFvtUQPGdeStrZ+odKyfyt4EnKHfA==" "integrity": "sha512-KX/dnuY/J8FtEwbnrzmAjUYgLqtk+cxM86hfG60LGiW3MmltIc2yAmDgBgEkfm0blZhUrdr1Zd84J2Y14mLxzg=="
}, },
"core-js-compat": { "core-js-compat": {
"version": "3.3.3", "version": "3.3.3",
@@ -18398,14 +18398,14 @@
"dev": true "dev": true
}, },
"vuetify": { "vuetify": {
"version": "2.1.9", "version": "2.1.10",
"resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.1.9.tgz", "resolved": "https://registry.npmjs.org/vuetify/-/vuetify-2.1.10.tgz",
"integrity": "sha512-52CgEyPoGYHba5yocYKBB/LXcikoWzj9jCDTH8LlzH/hvjzkgsuEtFwUustGHyV9GstRaNZOrk4nuUWbPZc3kQ==" "integrity": "sha512-hFc6XNYc2YE3HisxCH5VezRFtGQ2RwTvBy7eN+b67UuiGIhvEUR9h3uO4NUuulmvKPKJ4rONN+L9sVszgMBlJQ=="
}, },
"vuetify-loader": { "vuetify-loader": {
"version": "1.3.0", "version": "1.3.1",
"resolved": "https://registry.npmjs.org/vuetify-loader/-/vuetify-loader-1.3.0.tgz", "resolved": "https://registry.npmjs.org/vuetify-loader/-/vuetify-loader-1.3.1.tgz",
"integrity": "sha512-emKS3GWpx+0kWRHfoxpDpLR4HaXvhDn9bYNQf+IaaD5iU5S3xktDyS0egG7dp/oHLQr1U/Ui9g2ElhZUkdgRqw==", "integrity": "sha512-ZUGo248CdREWNNk/eETU7or64Xmgily0Dfw61Hj0BDG9fpN0E0bzC7dWwC3BXj3psZjFxLl7ff7KV8qxR4maoA==",
"dev": true, "dev": true,
"requires": { "requires": {
"loader-utils": "^1.2.0" "loader-utils": "^1.2.0"
@@ -18446,9 +18446,9 @@
} }
}, },
"vuex": { "vuex": {
"version": "3.1.1", "version": "3.1.2",
"resolved": "https://registry.npmjs.org/vuex/-/vuex-3.1.1.tgz", "resolved": "https://registry.npmjs.org/vuex/-/vuex-3.1.2.tgz",
"integrity": "sha512-ER5moSbLZuNSMBFnEBVGhQ1uCBNJslH9W/Dw2W7GZN23UQA69uapP5GTT9Vm8Trc0PzBSVt6LzF3hGjmv41xcg==" "integrity": "sha512-ha3jNLJqNhhrAemDXcmMJMKf1Zu4sybMPr9KxJIuOpVcsDQlTBYLLladav2U+g1AvdYDG5Gs0xBTb0M5pXXYFQ=="
}, },
"vuex-persistedstate": { "vuex-persistedstate": {
"version": "2.7.0", "version": "2.7.0",

View File

@@ -12,7 +12,7 @@
}, },
"dependencies": { "dependencies": {
"@babel/polyfill": "^7.7.0", "@babel/polyfill": "^7.7.0",
"core-js": "^3.3.6", "core-js": "^3.4.1",
"dayjs": "^1.8.17", "dayjs": "^1.8.17",
"jwt-decode": "^2.2.0", "jwt-decode": "^2.2.0",
"nprogress": "^0.2.0", "nprogress": "^0.2.0",
@@ -20,8 +20,8 @@
"typeface-roboto": "0.0.54", "typeface-roboto": "0.0.54",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vuetify": "^2.1.9", "vuetify": "^2.1.10",
"vuex": "^3.0.1", "vuex": "^3.1.2",
"vuex-persistedstate": "^2.7.0" "vuex-persistedstate": "^2.7.0"
}, },
"devDependencies": { "devDependencies": {
@@ -46,7 +46,7 @@
"sass-loader": "^7.3.1", "sass-loader": "^7.3.1",
"vue-cli-plugin-vuetify": "^1.1.1", "vue-cli-plugin-vuetify": "^1.1.1",
"vue-template-compiler": "^2.6.10", "vue-template-compiler": "^2.6.10",
"vuetify-loader": "^1.3.0" "vuetify-loader": "^1.3.1"
}, },
"eslintConfig": { "eslintConfig": {
"root": true, "root": true,

View File

@@ -82,18 +82,6 @@ export default {
tagName = tagName.length > 255 ? tagName.substr(0, 255 - 1) : tagName; tagName = tagName.length > 255 ? tagName.substr(0, 255 - 1) : tagName;
return tagName; return tagName;
//
// //This may be naive when we get international customers but for now supporting utf-8 and it appears it's safe to do this with unicode
// inObj = inObj.ToLowerInvariant();
// //No spaces in tags, replace with dashes
// inObj = inObj.Replace(" ", "-");
// //Remove multiple dash sequences
// inObj = System.Text.RegularExpressions.Regex.Replace(inObj, "-+", "-");
// //Ensure doesn't start or end with a dash
// inObj = inObj.Trim('-');
// //No longer than 255 characters
// inObj = StringUtil.MaxLength(inObj, 255);
// return inObj;
}, },
/////////////////////////////// ///////////////////////////////
// Quick hash for trivial purposes // Quick hash for trivial purposes