Files
raven/devdocs/specs/core-main-grids.txt
2020-01-09 20:18:39 +00:00

28 lines
1.3 KiB
Plaintext

MAIN GRID SPECS
OVERVIEW
Main grids show all the stuff people have entered in Raven and are used for selection to edit/ view, filter and sort for reporting and mass operations.
Proposed system is a hybrid grid system that has two modes to take into account the width of the display device:
- Xtra Small (XS ) < 600 pixels wide (my phone is 393px)
- In this mode only one column shows and it's formatted according to the Display Format Template
- DisplayFormatTemplate is specd in the core-display-format-template-system.txt doc
- So the user chooses which columns to show in a small factor themselves, default is name only or equivalent
CASES
None that are intrinsically grid related really, just 3 or so regarding specfic fields to add to grids
REQUIREMENTS
Client
- Client needs to tell the server which form of list is required, i.e. it's client window size when fetching a list
- viewport="XS" I think would be sufficient
Server
- Server needs to accept a parameter from the client when a grid list is fetched that tells it if it needs to send a single column templated list
- viewport="XS" I think would be sufficient
- Grid lists need to know what their template is as more than one list might use the same template?
Back AND front end