This commit is contained in:
@@ -47,7 +47,18 @@ All platforms and browsers
|
|||||||
- 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
|
- 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.
|
- 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.
|
||||||
|
|
||||||
- FORM MENU
|
- FORM MENU / NAVIGATION BAR / OVERFLOW MENU
|
||||||
|
- According to official specs:
|
||||||
|
- Nav bar should show where you are in the title part
|
||||||
|
- Name of form or object in nav bar itself, possibly an icon also indicating the item in question?
|
||||||
|
- It should change colour when in a sub screen and not the main screen with only a back button
|
||||||
|
- I like being able to go anywhere any time from the navigation menu so I'm not sure I can support only a back button, but I can see having a back button
|
||||||
|
- I like it changing colour to indicate it's become contextual in the overflow and options
|
||||||
|
- So, when in any main view it's standard coloured but as soon as you're editing a record or in any form that demands a contextual menu item then it flips to black
|
||||||
|
- It should have the most used features surfaced adn the least in an overflow 3 dots menu to the far right.
|
||||||
|
- Search, save, whatever is most used on that form
|
||||||
|
- As the screen gets smaller items progressively move into the overflow until, at the smallest they are all in the overflow
|
||||||
|
- So what I'm reading is I should enable only one app bar at the top and morph it for states where appropriate
|
||||||
- Try to make a menu in the top bar APP.VUE and if not then explore options inside the form
|
- Try to make a menu in the top bar APP.VUE and if not then explore options inside the form
|
||||||
- Is a fab appropriate for save and new the most common options??
|
- Is a fab appropriate for save and new the most common options??
|
||||||
- See the best way to do this, either in the very top bar or in somethign in the page itself
|
- See the best way to do this, either in the very top bar or in somethign in the page itself
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</v-list-tile>
|
</v-list-tile>
|
||||||
</v-list>
|
</v-list>
|
||||||
</v-navigation-drawer>
|
</v-navigation-drawer>
|
||||||
<v-toolbar v-if="isAuthenticated" color="primary" dark fixed app>
|
<v-toolbar v-if="isAuthenticated" :color="contextAppBar.isContextual?'secondary':'primary'" dark fixed app>
|
||||||
<v-toolbar-side-icon @click.stop="drawer = !drawer"></v-toolbar-side-icon>
|
<v-toolbar-side-icon @click.stop="drawer = !drawer"></v-toolbar-side-icon>
|
||||||
<v-toolbar-title style="width: 300px" class="ml-0 pl-3">
|
<v-toolbar-title style="width: 300px" class="ml-0 pl-3">
|
||||||
<v-avatar size="32px" tile>
|
<v-avatar size="32px" tile>
|
||||||
@@ -48,6 +48,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
/* xeslint-disable */
|
||||||
import aboutInfo from "./api/aboutinfo";
|
import aboutInfo from "./api/aboutinfo";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -77,6 +78,9 @@ export default {
|
|||||||
navItems() {
|
navItems() {
|
||||||
return this.$store.state.navItems;
|
return this.$store.state.navItems;
|
||||||
},
|
},
|
||||||
|
contextAppBar() {
|
||||||
|
return this.$store.state.contextAppBar;
|
||||||
|
},
|
||||||
copyright() {
|
copyright() {
|
||||||
return aboutInfo.copyright;
|
return aboutInfo.copyright;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -18,7 +18,12 @@ export default new Vuex.Store({
|
|||||||
roles: 0,
|
roles: 0,
|
||||||
localeText: {},
|
localeText: {},
|
||||||
navItems: [],
|
navItems: [],
|
||||||
logArray: []
|
logArray: [],
|
||||||
|
contextAppBar: {
|
||||||
|
isContextual: false,
|
||||||
|
icon: "",
|
||||||
|
title: ""
|
||||||
|
}
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
login(state, data) {
|
login(state, data) {
|
||||||
@@ -58,6 +63,12 @@ export default new Vuex.Store({
|
|||||||
state.logArray.length - MaxLogLength
|
state.logArray.length - MaxLogLength
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
setContextAppBar(state, data) {
|
||||||
|
state.contextAppBar = data;
|
||||||
|
},
|
||||||
|
setNonContextAppBar(state) {
|
||||||
|
state.contextAppBar = { isContextual: false };
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
actions: {}
|
actions: {}
|
||||||
|
|||||||
@@ -127,6 +127,7 @@ export default {
|
|||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.$store.commit("setNonContextAppBar");
|
||||||
this.clientInfo.version = aboutInfo.version;
|
this.clientInfo.version = aboutInfo.version;
|
||||||
this.$gzapi
|
this.$gzapi
|
||||||
.get("ServerInfo")
|
.get("ServerInfo")
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<HelloWorld/>
|
<HelloWorld/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -8,6 +8,9 @@ import HelloWorld from "../components/HelloWorld";
|
|||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
HelloWorld
|
HelloWorld
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.$store.commit("setNonContextAppBar");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -171,6 +171,9 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.$store.commit("setContextAppBar", {
|
||||||
|
isContextual: true
|
||||||
|
});
|
||||||
this.getDataFromApi();
|
this.getDataFromApi();
|
||||||
},
|
},
|
||||||
components: {},
|
components: {},
|
||||||
|
|||||||
@@ -47,6 +47,9 @@ export default {
|
|||||||
this.$gzHandleFormError(err);
|
this.$gzHandleFormError(err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
this.$store.commit("setNonContextAppBar");
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
WidgetList,
|
WidgetList,
|
||||||
WarehouseTop,
|
WarehouseTop,
|
||||||
|
|||||||
@@ -64,6 +64,9 @@ export default {
|
|||||||
errorBadCreds: false
|
errorBadCreds: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
this.$store.commit("setNonContextAppBar");
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
login() {
|
login() {
|
||||||
if (this.input.username != "" && this.input.password != "") {
|
if (this.input.username != "" && this.input.password != "") {
|
||||||
|
|||||||
Reference in New Issue
Block a user