crisischeckin icon indicating copy to clipboard operation
crisischeckin copied to clipboard

Mobile App - Add/View resources

Open NaveenP94 opened this issue 8 years ago • 3 comments

From the home profile screen when the user clicks the button to add a resources they will be brought to this page which is essentially a form they fill out similar to the screen shown in the wireframe about adding resources.

From the home profile screen when the user clicks Disaster Resources it will show them a table of data that pulls from the "field reported data" DB but filters and displays only entries with a Type field that begins with the word Resource. (as visual for this page is not included in the wireframe and left to the creativity of the dev to design)

Back End: **NOTE since right now the DB holding the field reported data is also holding the resources data (as it would potential be reported from the field) we want to specify the type as "actual type-description" for example the resource type will look like : "Resource-water" or "Resource-food" for sorting purposes we can use "-" as the delimiter and .compare() with the string "Resource"

This will require read/write access to the Field data table

NaveenP94 avatar Jun 15 '16 19:06 NaveenP94

I'll give this one a try

fhilton avatar Jun 18 '16 15:06 fhilton

@fhilton I invited you to the repo so we can assign this. Thanks!

tonysurma avatar Jun 18 '16 15:06 tonysurma

Some clarification on where the data for this one is stored. TL;DR : its in the resources table

today this is the resources table

as things have evolved what was originally just 'resources' has become resources '50 fire trucks are here' to be broader to field reported data '1 dumpster is on fire here' '1000 pamphlets handed out here' etc.

so we are working on making the UI/web speak in data (where resources is one type) even though the table is called resources

and later we will make a 'foundational strike' to rename that table and entities but haven't bitten that off yet

tonysurma avatar Jun 18 '16 15:06 tonysurma