This commit is contained in:
2021-02-10 16:16:33 +00:00
parent aa5a952aa4
commit d7cc0ce407
24 changed files with 62 additions and 67 deletions

View File

@@ -10,16 +10,6 @@ MISC ITEMS THAT CAME UP
## CLIENT MISC ITEMS
todo: customer popup notes need to pop pop pop, forgot to code for that before
It's been requested for a couple of other places as well so I need a re-usable solution for this
maybe it requires dismissal rather than what I was thinking of which is a self closing alert as people may want to read it for a while.
However, I also find that incredibly annoying but I guess that's the point :)
todo: vendor add popup notes and implement on form
case 3300
todo: if a menu item has no icon, can it be shown to the left and exclude the space taken up by the icon?
see CSR form for example
todo: Date input shows higher than other components in forms
date only input read only format see CSR form created field
@@ -36,15 +26,14 @@ todo: Attachments button should indicate attachments:
(Says add attachment when none)
todo: WHEN HAVE WORKORDER FORM customer popup notes need to pop pop pop, forgot to code for that before
It's been requested for a couple of other places as well so I need a re-usable solution for this
maybe it requires dismissal rather than what I was thinking of which is a self closing alert as people may want to read it for a while.
However, I also find that incredibly annoying but I guess that's the point :)
## SERVER MISC ITEMS
todo: many biz objects are not using new PUT methodology
Might be because new methodology assumes complete PUT object as a entire replacement not a partial update
some of these objects (User) do partial updates so....
also this includes *all* of the initial workorder object so there's that
might be that they don't need it but for consistency should check into it
todo: how to add locale keys in future after release without erasing all data?
todo: userbiz validate can delete has funky error
todo: bugbug filter on a phone number field results in error at server as unsupported type
make sure all types are supported
@@ -119,6 +108,14 @@ todo: actual customer reports so can figure out datalist for bringing other name
todo: server boot up message should show the port it's listening on if possible or configured to listen on
Users may well not know what port they are using and this will ease that greatly
todo: many biz objects are not using new PUT methodology
Might be because new methodology assumes complete PUT object as a entire replacement not a partial update
some of these objects (User) do partial updates so....
also this includes *all* of the initial workorder object so there's that
might be that they don't need it but for consistency should check into it
todo: how to add locale keys in future after release without erasing all data?
########################################################################################################################
########################################################################################################################
########################################################################################################################

View File

@@ -381,7 +381,7 @@ export default {
}
},
props: {
source: String
source: { type: String, default: null }
},
methods: {
afterLeave() {

View File

@@ -181,8 +181,8 @@ export default {
};
},
props: {
ayaType: Number,
ayaId: Number,
ayaType: { type: Number, default: null },
ayaId: { type: Number, default: null },
readonly: Boolean
},
computed: {},

View File

@@ -32,7 +32,7 @@ export default {
},
props: {
label: { type: String, default: null },
rules: { type: Array, default: null },
rules: { type: Array, default: undefined },
value: { type: Number, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },

View File

@@ -156,9 +156,9 @@ export default {
type: String,
required: true
},
title: String,
title: { type: String, default: null },
showMoreButton: { type: Boolean, default: false },
addUrl: String,
addUrl: { type: String, default: null },
count: { type: Number, default: 0 },
updateFrequency: { type: Number, default: 60000 },
maxListItems: { type: Number, default: 10 },

View File

@@ -355,8 +355,8 @@ export default {
}
}),
props: {
dataListKey: String,
activeFilterId: Number
dataListKey: { type: String, default: null },
activeFilterId: { type: Number, default: null }
},
methods: {
async saveAndExit() {

View File

@@ -88,8 +88,8 @@ export default {
}
}),
props: {
dataListKey: String,
activeFilterId: Number
dataListKey: { type: String, default: null },
activeFilterId: { type: Number, default: null }
},
methods: {
async deleteFilter() {

View File

@@ -437,8 +437,8 @@ export default {
};
},
props: {
formKey: String,
dataListKey: String,
formKey: { type: String, default: null },
dataListKey: { type: String, default: null },
clientCriteria: {
type: String,
default: undefined

View File

@@ -62,14 +62,13 @@ export default {
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
}),
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
testId: String
testId: { type: String, default: null }
},
computed: {
hasErrors() {

View File

@@ -32,13 +32,13 @@ export default {
};
},
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
testId: String
testId: { type: String, default: null }
},
computed: {
dateValue() {

View File

@@ -101,13 +101,13 @@ export default {
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
}),
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: String,
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
testId: String
testId: { type: String, default: null }
},
computed: {
hasErrors() {

View File

@@ -47,13 +47,13 @@ export default {
},
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
testId: String
testId: { type: String, default: null }
},
computed: {
splitValue() {

View File

@@ -33,8 +33,8 @@ export default {
};
},
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
value: { type: Number, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },

View File

@@ -85,16 +85,15 @@
//{"data":{"testTSDaysWMS":"22.10:15:22.0330000","testTSHMS":"05:16:33","testTS_DHMS":"5.10:15:33","testTS_MS":"00:15:33","testTS_S":"00:00:33","testTS_D":"22.00:00:00"}}
export default {
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
showSeconds: { type: Boolean, default: true },
showDays: { type: Boolean, default: true },
testId: String
testId: { type: String, default: null }
},
computed: {
hasErrors() {

View File

@@ -17,7 +17,7 @@
export default {
data: () => ({}),
props: {
errorBoxMessage: String
errorBoxMessage: { type: String, default: null }
}
};
</script>

View File

@@ -121,7 +121,7 @@ export default {
}
},
props: {
dataListSelection: Object
dataListSelection: { type: Object, default: null }
}
};

View File

@@ -61,7 +61,7 @@ export default {
}
},
props: {
dataListSelection: Object
dataListSelection: { type: Object, default: null }
}
};
</script>

View File

@@ -173,7 +173,7 @@ export default {
}
},
props: {
dataListSelection: Object
dataListSelection: { type: Object, default: null }
}
};
</script>

View File

@@ -44,14 +44,14 @@ export default {
};
},
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: { type: Number, default: 0 },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
limitSelectionTo: { type: String, default: null }, //"inside" - no customer roles, "outside" - no non-customer roles
testId: String
testId: { type: String, default: null }
},
computed: {
selectedValue() {

View File

@@ -68,13 +68,13 @@ export default {
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
}),
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: String,
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
testId: String
testId: { type: String, default: null }
},
computed: {
hasErrors() {

View File

@@ -35,14 +35,13 @@ export default {
},
props: {
label: String,
rules: Array,
label: { type: String, default: null },
rules: { type: Array, default: undefined},
errorMessages: { type: Array, default: null },
value: { type: String, default: null },
readonly: { type: Boolean, default: false },
disabled: { type: Boolean, default: false },
testId: String
testId: { type: String, default: null }
},
computed: {
timeValue() {

View File

@@ -392,8 +392,8 @@ export default {
},
props: {
value: { type: String, default: "" },
ayaType: Number,
ayaId: Number,
ayaType: { type: Number, default: null },
ayaId: { type: Number, default: null },
readonly: Boolean
},
watch: {

View File

@@ -319,7 +319,7 @@ export default {
name: null,
serial: 0,
dollarAmount: null,
active: null,
active: true,
userType: 2, //defaulted here to something valid
startDate: null,
endDate: null,

View File

@@ -1,5 +1,6 @@
// https://docs.cypress.io/guides/guides/plugins-guide.html
/* eslint-disable import/no-extraneous-dependencies, global-require */
/* esXXXXXlint-disable import/no-extraneous-dependencies, global-require */
/* eslint-disable global-require */
const webpack = require("@cypress/webpack-preprocessor");
module.exports = (on, config) => {