This commit is contained in:
@@ -21,9 +21,12 @@ Just put up latest build to server now...
|
||||
TEST RESULTS
|
||||
|
||||
All platforms and browsers
|
||||
- Initially outdated, had to force a refresh to make it load the latest version
|
||||
- IN PROGRESS: Initially outdated, had to force a refresh to make it load the latest version
|
||||
- STATUS: I'm going to do another update and see if it's handled properly
|
||||
- I thought they would update automatically via the loader code?!?
|
||||
- Login user name field auto capitalizes first character on phones, need that to not do it
|
||||
-
|
||||
- FIXED: Login user name field auto capitalizes first character on phones, need that to not do it
|
||||
- Login, doesn't have any ui if failed login, maybe a red frowny face icon? :)
|
||||
- need clear buttons on pw and login
|
||||
- Numeric input fields don't give numeric keyboard
|
||||
- Save on broken rules in Widget edit form it's not clear that save does nothing if there are broken rules. Button should be deactivated or there should be a message if you click on it or something.
|
||||
@@ -41,7 +44,7 @@ All platforms and browsers
|
||||
- Application name is all lowercase "ayanova" when installed to device, must be something in the manifest files?
|
||||
- Check about page localization code, is it firing in the right place because on Edge and iPad firefox it didn't show localized at first until a refresh so it fetched the keys but didn't display properly
|
||||
- Calendar on iPad in two occasions with ff and opera the calendar date could not be selected until a time was changed then the date worked. Before that it would always stay the same no matter what selection was made and the UI would not show a change on select or press of date either.
|
||||
|
||||
|
||||
|
||||
|
||||
iPad
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable no-console */
|
||||
|
||||
//INFO: https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-pwa
|
||||
import { register } from "register-service-worker";
|
||||
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
|
||||
@@ -17,6 +17,12 @@
|
||||
prepend-icon="fa-user"
|
||||
label="User"
|
||||
required
|
||||
clearable
|
||||
autocomplete="off"
|
||||
autocorrect="off"
|
||||
autocapitalize="off"
|
||||
spellcheck="false"
|
||||
:error="errorBadCreds"
|
||||
></v-text-field>
|
||||
</v-flex>
|
||||
<v-flex>
|
||||
@@ -27,6 +33,8 @@
|
||||
label="Password"
|
||||
type="password"
|
||||
required
|
||||
clearable
|
||||
:error="errorBadCreds"
|
||||
></v-text-field>
|
||||
</v-flex>
|
||||
<v-flex class="text-xs-center" mt-1>
|
||||
@@ -51,12 +59,15 @@ export default {
|
||||
input: {
|
||||
username: "manager",
|
||||
password: "l3tm3in"
|
||||
}
|
||||
},
|
||||
errorBadCreds: false
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
login() {
|
||||
if (this.input.username != "" && this.input.password != "") {
|
||||
this.errorBadCreds = false;
|
||||
var that = this;
|
||||
auth
|
||||
.authenticate(this.input.username, this.input.password)
|
||||
.then(() => {
|
||||
@@ -64,8 +75,15 @@ export default {
|
||||
})
|
||||
.catch(function(error) {
|
||||
/* xeslint-disable-next-line */
|
||||
if (
|
||||
error.message &&
|
||||
error.message.includes("ErrorUserNotAuthenticated")
|
||||
) {
|
||||
that.errorBadCreds = true;
|
||||
// alert("BAD CREDENTIALS - BOO!");
|
||||
}
|
||||
//console.log(error);
|
||||
alert("login failed: " + error);
|
||||
// alert("login failed: " + error);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user