This commit is contained in:
2019-04-19 15:28:02 +00:00
parent 54a5330caf
commit c9abfe8ef1
4 changed files with 70 additions and 93 deletions

View File

@@ -0,0 +1,60 @@
iPad
=-=-
Safari
- login page username auto capitalizes first letter how to stop that
- login, enter key should trigger login
Chrome
done
Firefox
- calendar selection again wouldn't take until I selected a time then the calendar would work, weird
- About page is showing unlocalized text like Edge did, need to check that code
Opera Mini
- All works ok, calendar selection a little finicky and overly precise but works
LENOVO ANDROID TABLET
=-=-=-=-=-=-=-=-=-=-=-
Chrome
- Everything seems to work properly
FireFox version 66 (old version 56 didn't work with time picker)
- very slow, but not unusably so
- Everything works
PIXEL PHONE
=-=-=-=-=-=-
Chrome 73.0.3683.90
- Would not update to latest version, showing old cached version instead, on other browsers I could just refresh but here it wouldn't no matter what
- Weird, I logged in, went to inventory it was outdated but when I hit refresh on that page it suddenly updated everything
- Did though, offer immediately to put it on the desktop as an app link
Firefox
- App updated immediately didn't even need to refresh I think
- similar to iPad, widget list open button very cut off in portrait, ends at price and only shows 3 fields
- Widget edit form layout is all good except for buttons group which is not centered and save button which in portrait is sitting right on the far right edge of the screen. Usable but not centered as a group.
- Can slightly "wiggle" page side to side by dragging, it's as if it's not 100% page width or something
W10 PC
=-=-=-=-
Chrome browser
- all ok
Firefox browser
- all ok
MS EDGE browser
- all ok, quite snappy actually except that on the about page it initially loaded not localized but a refresh localized it. Had just logged in. Didn't see this on other platforms but will re-check

View File

@@ -1,25 +1,6 @@
# CLIENT TODO (J.F.C. - Just fucking code it already)
## IMMEDIATE ITEMS
Need a sprint to get to a fully testable client with entry form, list and as much as possible all features from COMMON-* specs list
-----------------------
///
TODO CLIENT STUFF
#### A PHONE IS PROBABLY NOT THE MOST COMMON SIZE FORM FACTOR THAT WILL BE USED. SUPPORT PHONES, YES, BUT DON'T GET HUNG UP ON IT TO THE POINT WHERE IT RUINS THE EXPERIENCE ON A FULL COMPUTER OR TABLET
TODO NEXT
MENU STUFF IN PROGRESS see down below
TEST RESULTS AND TODO
All platforms and browsers
- 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
@@ -64,7 +45,7 @@ All platforms and browsers
- DO I need to institute a back button? (in APP MODE?? installed to "desktop" on device will I be able to easily navigate without back and forward buttons)
- Navigation guard: navigate away with unsaved changes should warn and prevent but have option to continue anyway
- Widget list, refresh page causes items per page to reset back to 5 from custom setting, it should cache that shit at least for a session anyway
- Although people probably would want this to be saved to survive sessions
- maybe it should save it per device locally only so that the customizations are local to the device so they can customize differently for different ui's?
@@ -77,77 +58,10 @@ 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
- 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.
- On login, sometimes the home page is not showing as localized! Some kind of timing issue or wrong event used to localize it or something. ??
- Navigation guard: navigate away with unsaved changes should warn and prevent but have option to continue anyway
iPad
=-=-
Safari
- login page username auto capitalizes first letter how to stop that
- login, enter key should trigger login
Chrome
done
Firefox
- calendar selection again wouldn't take until I selected a time then the calendar would work, weird
- About page is showing unlocalized text like Edge did, need to check that code
Opera Mini
- All works ok, calendar selection a little finicky and overly precise but works
LENOVO ANDROID TABLET
=-=-=-=-=-=-=-=-=-=-=-
Chrome
- Everything seems to work properly
FireFox version 66 (old version 56 didn't work with time picker)
- very slow, but not unusably so
- Everything works
PIXEL PHONE
=-=-=-=-=-=-
Chrome 73.0.3683.90
- Would not update to latest version, showing old cached version instead, on other browsers I could just refresh but here it wouldn't no matter what
- Weird, I logged in, went to inventory it was outdated but when I hit refresh on that page it suddenly updated everything
- Did though, offer immediately to put it on the desktop as an app link
Firefox
- App updated immediately didn't even need to refresh I think
- similar to iPad, widget list open button very cut off in portrait, ends at price and only shows 3 fields
- Widget edit form layout is all good except for buttons group which is not centered and save button which in portrait is sitting right on the far right edge of the screen. Usable but not centered as a group.
- Can slightly "wiggle" page side to side by dragging, it's as if it's not 100% page width or something
W10 PC
=-=-=-=-
Chrome browser
- all ok
Firefox browser
- all ok
MS EDGE browser
- all ok, quite snappy actually except that on the about page it initially loaded not localized but a refresh localized it. Had just logged in. Didn't see this on other platforms but will re-check
STILL NEEDS TESTING
=--=-=-=-=-=-=-=-=-=-=
TODO NEXT
- Some changes are required then re-testing this again
### RETEST ALL DEVICES WHEN GET TO HERE #####
End to end action
@@ -302,6 +216,8 @@ Make all fields work according to specs below
- SCROLL POSITION !! - Very important, must return UI to exact scroll position on navigation backwards, not doing so causes a hellish UI to use.
- Same position in window
- Same settings in any grids being shown and scrolled to same point in grids
- AUTOMATED UI TESTING - I need to institute it now and make tests so I have a template to work off for all future tests
TESTING TODO
Localized input and parsing and validation

View File

@@ -88,7 +88,6 @@
<script>
/* xeslint-disable */
import aboutInfo from "./api/aboutinfo";
import gzmenu from "./api/gzmenu";
export default {
data() {
@@ -110,17 +109,17 @@ export default {
//
var that = this;
this.$gzevent.$on("menu-change", function handleMenuChange(ctx) {
gzmenu.handleMenuChange(that, ctx);
that.$gzmenu.handleMenuChange(that, ctx);
});
this.$gzevent.$on("menu-replace-item", function handleReplaceMenuItem(
newItem
) {
gzmenu.handleReplaceMenuItem(that, newItem);
that.$gzmenu.handleReplaceMenuItem(that, newItem);
});
this.$gzevent.$on("menu-click", function handleMenuClick(menuitem) {
gzmenu.handleClick(that, menuitem);
that.$gzmenu.handleClick(that, menuitem);
});
},
beforeDestroy() {

View File

@@ -14,6 +14,7 @@ import dayjs from "dayjs";
import lodash from "./libs/lodash.min.js";
//my libs
import gzeventbus from "./api/eventbus";
import gzmenu from "./api/gzmenu";
import gzutil from "./api/gzutil";
import locale from "./api/locale";
import gzapi from "./api/gzapi";
@@ -27,6 +28,7 @@ import gzdateandtimepicker from "./components/gzdateandtimepicker.vue";
// (https://medium.com/js-dojo/use-any-javascript-library-with-vue-js-3f7e2a4974a8)
//
Object.defineProperty(Vue.prototype, "$gzevent", { value: gzeventbus });
Object.defineProperty(Vue.prototype, "$gzmenu", { value: gzmenu });
Object.defineProperty(Vue.prototype, "$gzutil", { value: gzutil });
Object.defineProperty(Vue.prototype, "$dayjs", { value: dayjs });
Object.defineProperty(Vue.prototype, "$_", { value: lodash });