This commit is contained in:
@@ -55,6 +55,11 @@ import localeText from "../api/locale";
|
|||||||
import pagedList from "../api/pagedlist";
|
import pagedList from "../api/pagedlist";
|
||||||
import WidgetEdit from "../components/inventorywidgetedit";
|
import WidgetEdit from "../components/inventorywidgetedit";
|
||||||
export default {
|
export default {
|
||||||
|
init() {
|
||||||
|
localeText.fetch(["Widget", "WidgetList"]).then(() => {
|
||||||
|
// alert("inventorywidgetlist::FULLY INITIALIZED");
|
||||||
|
});
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
WidgetEdit
|
WidgetEdit
|
||||||
},
|
},
|
||||||
@@ -104,12 +109,12 @@ export default {
|
|||||||
this.getDataFromApi();
|
this.getDataFromApi();
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
methods: {//todo: clean up this shit with locale text, or maybe it's ok, not sure
|
methods: {
|
||||||
init(parentLocaleText) {
|
// init() {
|
||||||
parentLocaleText.fetch(["Widget", "WidgetList"]).then(() => {
|
// localeText.fetch(["Widget", "WidgetList"]).then(() => {
|
||||||
alert("inventorywidgetlist::FULLY INITIALIZED");
|
// alert("inventorywidgetlist::FULLY INITIALIZED");
|
||||||
});
|
// });
|
||||||
},
|
// },
|
||||||
lt: function(key) {
|
lt: function(key) {
|
||||||
return localeText.get(key);
|
return localeText.get(key);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -72,8 +72,8 @@ export default {
|
|||||||
beforeRouteEnter(to, from, next) {
|
beforeRouteEnter(to, from, next) {
|
||||||
//get lt, roles, populate top level components accordingly
|
//get lt, roles, populate top level components accordingly
|
||||||
lt.fetch(["Inventory"]).then(() => {
|
lt.fetch(["Inventory"]).then(() => {
|
||||||
//attempt to init widgetlist before it's mounted!?
|
//init widgetlist
|
||||||
WidgetList.methods.init(lt);
|
WidgetList.init();
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ INITIAL TESTING NOTES:
|
|||||||
- Check the rights to the list before it gets the data
|
- Check the rights to the list before it gets the data
|
||||||
- Edit / Trash buttons in grid are too small on a phone with fat fingers
|
- Edit / Trash buttons in grid are too small on a phone with fat fingers
|
||||||
|
|
||||||
|
- Should list or any widgets fetch data automatically on display or should they have some way of requesting it to save bandwidth? (TTM CADILLAC PROBLEM?)
|
||||||
|
- Should the list be narrow to start and expand on demand?
|
||||||
- Login needs to scroll higher or logo smaller on sm so that the keyboard doesn't obscure the login lines
|
- Login needs to scroll higher or logo smaller on sm so that the keyboard doesn't obscure the login lines
|
||||||
- Need a test user that has access to every possible role so that I can see all the roles for testing purposes
|
- Need a test user that has access to every possible role so that I can see all the roles for testing purposes
|
||||||
- About page has too big of margins on each side of display
|
- About page has too big of margins on each side of display
|
||||||
@@ -31,7 +32,7 @@ INITIAL TESTING NOTES:
|
|||||||
- TODO: Will need currency symbol, date format, numeric format from user settings at server
|
- TODO: Will need currency symbol, date format, numeric format from user settings at server
|
||||||
- rather than try to use local browser settings which is fraught with peril will need to be specified at server itself
|
- rather than try to use local browser settings which is fraught with peril will need to be specified at server itself
|
||||||
- Wherever I am currently storing time zone that's where these other settings need to be
|
- Wherever I am currently storing time zone that's where these other settings need to be
|
||||||
|
|
||||||
|
|
||||||
- Make the copyright banner at bottom left aligned, right now it seems weird in small iPhone size when it breaks to two lines (make text smaller?)
|
- Make the copyright banner at bottom left aligned, right now it seems weird in small iPhone size when it breaks to two lines (make text smaller?)
|
||||||
- Change server api page favicon to look like a SERVER version of the AyaNova logo, not the same one as the client uses [ fuck it, why? TTM!]
|
- Change server api page favicon to look like a SERVER version of the AyaNova logo, not the same one as the client uses [ fuck it, why? TTM!]
|
||||||
|
|||||||
Reference in New Issue
Block a user