This commit is contained in:
@@ -49,12 +49,12 @@ CURRENT TODOs
|
|||||||
|
|
||||||
@@@@@@@@@@@ ROADMAP STAGE 2:
|
@@@@@@@@@@@ ROADMAP STAGE 2:
|
||||||
|
|
||||||
todo: change all testing data-cy attributes to conditional see ay-customize for example
|
|
||||||
- :data-cy="!!enableCypress ? item.key : false"
|
|
||||||
- Really need at this point a way to not have to add a fucking data property to *every* fucking form but rather a central location available to all vue from main or window
|
|
||||||
- dig into that and see if it's possible again and how to do it because then all forms could be simplified a great deal.
|
|
||||||
|
|
||||||
todo: is there a way to not have to specify "name" 5 times in a text field on widget form (for example), maybe can use this.ref??
|
todo: is there a way to not have to specify "name" 5 times in a text field on widget form (for example), maybe can use this.ref??
|
||||||
|
- Yes, but it involves wrapping the v-text-field into my own component
|
||||||
|
- Then I can pass name as the ref and the component will handle the rest
|
||||||
|
- However, this is not a super bad idea because it adds abstraction above vuetify, but then really how realistic is it to just swap out vuetify?
|
||||||
|
|
||||||
|
|
||||||
todo: add tests for the following:
|
todo: add tests for the following:
|
||||||
- customize form form
|
- customize form form
|
||||||
|
|||||||
@@ -19,11 +19,12 @@ function dealWithError(msg, vm) {
|
|||||||
|
|
||||||
//In some cases the error may not be translatable, if this is not a debug run then it should show without the ?? that translating puts in keys not found
|
//In some cases the error may not be translatable, if this is not a debug run then it should show without the ?? that translating puts in keys not found
|
||||||
//so it's not as weird looking to the user
|
//so it's not as weird looking to the user
|
||||||
if (!vm.$ay.dev && msg.includes("??")) {
|
//vm may be null here so check window gz for dev
|
||||||
|
if (!window.$gz.dev && msg.includes("??")) {
|
||||||
msg = msg.replace("??", "");
|
msg = msg.replace("??", "");
|
||||||
}
|
}
|
||||||
window.$gz.store.commit("logItem", msg);
|
window.$gz.store.commit("logItem", msg);
|
||||||
if (vm.$ay.dev) {
|
if (window.$gz.dev) {
|
||||||
let errMsg =
|
let errMsg =
|
||||||
"DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" +
|
"DEV ERROR errorHandler::devShowUnknownError - unexpected error: \r\n" +
|
||||||
msg;
|
msg;
|
||||||
|
|||||||
Reference in New Issue
Block a user