This commit is contained in:
@@ -10,16 +10,6 @@ MISC ITEMS THAT CAME UP
|
|||||||
## CLIENT MISC ITEMS
|
## 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
|
todo: Date input shows higher than other components in forms
|
||||||
date only input read only format see CSR form created field
|
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)
|
(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
|
## 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: userbiz validate can delete has funky error
|
||||||
todo: bugbug filter on a phone number field results in error at server as unsupported type
|
todo: bugbug filter on a phone number field results in error at server as unsupported type
|
||||||
make sure all types are supported
|
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
|
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
|
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?
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
|
|||||||
@@ -381,7 +381,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
source: String
|
source: { type: String, default: null }
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
afterLeave() {
|
afterLeave() {
|
||||||
|
|||||||
@@ -181,8 +181,8 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
ayaType: Number,
|
ayaType: { type: Number, default: null },
|
||||||
ayaId: Number,
|
ayaId: { type: Number, default: null },
|
||||||
readonly: Boolean
|
readonly: Boolean
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
label: { type: String, default: null },
|
label: { type: String, default: null },
|
||||||
rules: { type: Array, default: null },
|
rules: { type: Array, default: undefined },
|
||||||
value: { type: Number, default: null },
|
value: { type: Number, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
|
|||||||
@@ -156,9 +156,9 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
title: String,
|
title: { type: String, default: null },
|
||||||
showMoreButton: { type: Boolean, default: false },
|
showMoreButton: { type: Boolean, default: false },
|
||||||
addUrl: String,
|
addUrl: { type: String, default: null },
|
||||||
count: { type: Number, default: 0 },
|
count: { type: Number, default: 0 },
|
||||||
updateFrequency: { type: Number, default: 60000 },
|
updateFrequency: { type: Number, default: 60000 },
|
||||||
maxListItems: { type: Number, default: 10 },
|
maxListItems: { type: Number, default: 10 },
|
||||||
|
|||||||
@@ -355,8 +355,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
props: {
|
props: {
|
||||||
dataListKey: String,
|
dataListKey: { type: String, default: null },
|
||||||
activeFilterId: Number
|
activeFilterId: { type: Number, default: null }
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async saveAndExit() {
|
async saveAndExit() {
|
||||||
|
|||||||
@@ -88,8 +88,8 @@ export default {
|
|||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
props: {
|
props: {
|
||||||
dataListKey: String,
|
dataListKey: { type: String, default: null },
|
||||||
activeFilterId: Number
|
activeFilterId: { type: Number, default: null }
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async deleteFilter() {
|
async deleteFilter() {
|
||||||
|
|||||||
@@ -437,8 +437,8 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
formKey: String,
|
formKey: { type: String, default: null },
|
||||||
dataListKey: String,
|
dataListKey: { type: String, default: null },
|
||||||
clientCriteria: {
|
clientCriteria: {
|
||||||
type: String,
|
type: String,
|
||||||
default: undefined
|
default: undefined
|
||||||
|
|||||||
@@ -62,14 +62,13 @@ export default {
|
|||||||
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
|
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
|
||||||
}),
|
}),
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: { type: String, default: null },
|
value: { type: String, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
|
testId: { type: String, default: null }
|
||||||
testId: String
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
hasErrors() {
|
hasErrors() {
|
||||||
|
|||||||
@@ -32,13 +32,13 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: { type: String, default: null },
|
value: { type: String, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
testId: String
|
testId: { type: String, default: null }
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
dateValue() {
|
dateValue() {
|
||||||
|
|||||||
@@ -101,13 +101,13 @@ export default {
|
|||||||
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
|
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
|
||||||
}),
|
}),
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: String,
|
value: { type: String, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
testId: String
|
testId: { type: String, default: null }
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
hasErrors() {
|
hasErrors() {
|
||||||
|
|||||||
@@ -47,13 +47,13 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: { type: String, default: null },
|
value: { type: String, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
testId: String
|
testId: { type: String, default: null }
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
splitValue() {
|
splitValue() {
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
value: { type: Number, default: null },
|
value: { type: Number, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
|
|||||||
@@ -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"}}
|
//{"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 {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: { type: String, default: null },
|
value: { type: String, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
|
|
||||||
showSeconds: { type: Boolean, default: true },
|
showSeconds: { type: Boolean, default: true },
|
||||||
showDays: { type: Boolean, default: true },
|
showDays: { type: Boolean, default: true },
|
||||||
testId: String
|
testId: { type: String, default: null }
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
hasErrors() {
|
hasErrors() {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data: () => ({}),
|
data: () => ({}),
|
||||||
props: {
|
props: {
|
||||||
errorBoxMessage: String
|
errorBoxMessage: { type: String, default: null }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
dataListSelection: Object
|
dataListSelection: { type: Object, default: null }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
dataListSelection: Object
|
dataListSelection: { type: Object, default: null }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
dataListSelection: Object
|
dataListSelection: { type: Object, default: null }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -44,14 +44,14 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: { type: Number, default: 0 },
|
value: { type: Number, default: 0 },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
limitSelectionTo: { type: String, default: null }, //"inside" - no customer roles, "outside" - no non-customer roles
|
limitSelectionTo: { type: String, default: null }, //"inside" - no customer roles, "outside" - no non-customer roles
|
||||||
testId: String
|
testId: { type: String, default: null }
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
selectedValue() {
|
selectedValue() {
|
||||||
|
|||||||
@@ -68,13 +68,13 @@ export default {
|
|||||||
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
|
defaultLocale: window.$gz.locale.getBrowserFirstLanguage().split("-", 1)[0]
|
||||||
}),
|
}),
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: String,
|
value: { type: String, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
testId: String
|
testId: { type: String, default: null }
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
hasErrors() {
|
hasErrors() {
|
||||||
|
|||||||
@@ -35,14 +35,13 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
label: String,
|
label: { type: String, default: null },
|
||||||
rules: Array,
|
rules: { type: Array, default: undefined},
|
||||||
errorMessages: { type: Array, default: null },
|
errorMessages: { type: Array, default: null },
|
||||||
value: { type: String, default: null },
|
value: { type: String, default: null },
|
||||||
readonly: { type: Boolean, default: false },
|
readonly: { type: Boolean, default: false },
|
||||||
disabled: { type: Boolean, default: false },
|
disabled: { type: Boolean, default: false },
|
||||||
|
testId: { type: String, default: null }
|
||||||
testId: String
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
timeValue() {
|
timeValue() {
|
||||||
|
|||||||
@@ -392,8 +392,8 @@ export default {
|
|||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
value: { type: String, default: "" },
|
value: { type: String, default: "" },
|
||||||
ayaType: Number,
|
ayaType: { type: Number, default: null },
|
||||||
ayaId: Number,
|
ayaId: { type: Number, default: null },
|
||||||
readonly: Boolean
|
readonly: Boolean
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
|||||||
@@ -319,7 +319,7 @@ export default {
|
|||||||
name: null,
|
name: null,
|
||||||
serial: 0,
|
serial: 0,
|
||||||
dollarAmount: null,
|
dollarAmount: null,
|
||||||
active: null,
|
active: true,
|
||||||
userType: 2, //defaulted here to something valid
|
userType: 2, //defaulted here to something valid
|
||||||
startDate: null,
|
startDate: null,
|
||||||
endDate: null,
|
endDate: null,
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
// https://docs.cypress.io/guides/guides/plugins-guide.html
|
// 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");
|
const webpack = require("@cypress/webpack-preprocessor");
|
||||||
|
|
||||||
module.exports = (on, config) => {
|
module.exports = (on, config) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user