From 1c4f9ffee67e2e615fd79784000280d5f055683e Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 1 May 2019 19:41:10 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 6 +- ayanova/src/views/inventory-widget-edit.vue | 201 ++++++-------------- 2 files changed, 60 insertions(+), 147 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 4e7afd1e..c75039c0 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -41,10 +41,10 @@ All platforms and browsers - DONE Make about contextual and insert a menu item to view log - DONE WIRE up save menu item and add code to disable save on broken rules (and make red, disabled etc) - DONE Move wire up event code from app.vue to gzmenu and call it from app.vue -### UPDATE VUETIFY, SB 0.5.0, not 0.4.6 + ### - RIGHTS in form state so can easily enable / disable etc - - INFO - SERVER will return on request of an object one of these: + - DONE INFO - SERVER will return on request of an object one of these: - DONE Not authenticated at all 401 - DONE Redirect to login - DONE Not authorized for this object 403 (could be due to not own or whatever, we don't care, server handles that shit, client just knows not to show it) @@ -74,7 +74,7 @@ All platforms and browsers - Wire up delete menu item - api code is stubbed out for delete, need to write that as well - DONE TODO navigating through menu doesn't "back" properly when clicking back on browser controls - = TODO: widget form now not localized title at menu top + - DONE widget form now not localized title at menu top - 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 diff --git a/ayanova/src/views/inventory-widget-edit.vue b/ayanova/src/views/inventory-widget-edit.vue index 7ae083dd..49006660 100644 --- a/ayanova/src/views/inventory-widget-edit.vue +++ b/ayanova/src/views/inventory-widget-edit.vue @@ -168,9 +168,11 @@ - -/* -Sample widget record api v8 -{ - "data": { - "id": 100, - "concurrencyToken": 2675248, - "ownerId": 1, - "name": "Fantastic Wooden Chips 122", - "serial": 100, - "dollarAmount": 584.83, - "active": true, - "roles": 8212, - "startDate": "2019-02-12T10:12:39.594206", - "endDate": "2019-02-12T13:40:59.986405", - "notes": "Eum optio incidunt blanditiis laboriosam. Sed ipsam occaecati minus corrupti repudiandae delectus. Culpa nostrum est ullam assumenda animi ut. Velit sunt ex ipsum. Temporibus cum quaerat at omnis at quas. Commodi dolor molestiae beatae.", - "count": 0, - "customFields": null, - "tags": [ - "brown", - "red" - ] - } -} - -IN JS FORMAT -{ - data: { - id: 100, - concurrencyToken: 2675248, - ownerId: 1, - name: 'Fantastic Wooden Chips 122', - serial: 100, - dollarAmount: 584.83, - active: true, - roles: 8212, - startDate: '2019-02-12T10:12:39.594206', - endDate: '2019-02-12T13:40:59.986405', - notes: 'Eum optio incidunt blanditiis laboriosam. Sed ipsam occaecati minus corrupti repudiandae delectus. Culpa nostrum est ullam assumenda animi ut. Velit sunt ex ipsum. Temporibus cum quaerat at omnis at quas. Commodi dolor molestiae beatae.', - count: 0, - customFields: null, - tags: [ - 'brown', - 'red' - ] - } -} -*/