This commit is contained in:
2020-10-29 20:17:43 +00:00
parent b037d49733
commit 10ef51938b

View File

@@ -14,24 +14,38 @@ todo: DASHBOARD
Source case: https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/1974
See notes there
todo: wireframe / mockup dashboard widget objects
mockup widgets with all commonality built in, better to start mocking up now than try to design perfectly in advance and then implement
ELEMENTS
dash ui items that can self update and display properly in any form factor
dash registry - collection of dash ui items, the roles they are available for, their unique ID's
[{id:(unique id, probably human readable 'tag-dash-format'),roles:[role array available to]}]
User dash registry - user's selected dash widgets to display and the order to display them in plus any unique settings to each one
Index in array is their display order
[{id:(unique dashitem id),settings:{refreshfrequencymaybe:22,other:'setting'}},{id:(second item id)}]
todo: wireframe / mockup dashboard item objects
mockup dash items with all commonality built in, better to start mocking up now than try to design perfectly in advance and then implement
COMMON PROPERTIES
display with correct size in correct form factor
self refresh / fetch data
Has default update frequency built in
COMMON CONTROLS IN A dashboard instrument display meter guage
Remove from the display
Reorder in the display
Refresh - force the refresh of the display
Settings - popup settings menu for that control
common settings built in, slot for special ones?
Mockup example of more than one kind of widget with roles, doesn't have to do anything in it's UI, just be present for testing
todo: decompose mockup into base component for re-use
todo: after base component, make mockups by type
e.g. a graph, a list, a schedule etc
todo: decompose type components however necessary into base type components
todo: real components based on needs
re-iterate the above as necessary
todo: dashboard menu option choose dash items
shows available unused dash items for that combination of roles
todo: need static universal registry of dash components with roles available to and unique ID
feeds user registry, selection process etc
todo: need user dashboard setup registry and route