Open SteveEdiger opened 2 years ago
Update:
Next steps:
@domdelorenzo , I made a minor update to the authentication branch to add the "approved" field into the serializer that serves data to the GET "/coops/?..." endpoint. (e.g. if running locally without docker, this will return the field --
curl -v --header "Content-type: application/json" --request GET "http://127.0.0.1:8000/coops/?contains=resource"
)
@laredotornado Thanks. I'll see if I can merge that with my branch!
Updates for the spreadsheet view testing:
Updated Views and Serializers to include 'approved', 'phone', 'email', 'web_site'
Updated the modal popup window width
Found an MIT Licensed React Component, KA Table that has Sorting, Filtering, Grouping, Editing
@SteveEdiger & @laredotornado - Do we want to pursue tweaking AG Grid, KA Table, or keep testing other React libraries?
These updates are viewable on my spreadsheet branch (https://github.com/domdelorenzo/maps/tree/spreadsheet-view). If you're using docker, the test components are at:
Excellent screen shots. Yeah my vote is the better user experience in the free/community edition of AG Grid, however as @SteveEdiger is probably going to be the only user, I guess it's his ultimate decision. Steve, I woudl recommend we go with either one of these two. I don't think looking for antoher library would help us, especially because other libraries may not be supported long term, which may force us to switch to something else.
Please add all fields to the spreadsheet view. I reviewed the fields and really may need to filter, sort, and access any of them from time to time.
I would also like the view to scroll horizontally.
Hey @SteveEdiger -
I've reviewed the spreadsheet view. It's behaving like I want it to. However, we need to sync fields. I've added comments to the Header tab in our Google Spreadsheet (https://docs.google.com/spreadsheets/d/1ifpqYM0uV1S3YVPrce5gmvevJ7jc-cFmOk5jDS8Me7U/edit#gid=319391910)
Let's discuss.
Backend complete in '3.1-model-refactor'.
The goal is to produce a spreadsheet view for admins and curators to view and edit records from multiple perspectives to ensure that the map remains up-to-date and that the content is complete and does not contain duplicates.
General
This view would look like our google spreadsheet, with related tables flattened out into a single row. The view is described below:
Top Row (Column Label) Actions
When an admin/curator clicks on a label, they would get a choice of sorting or filtering.
Clicking on sort would allow them to select ascending or descending.
Clicking on filter would pop up a dropdown
Multiple columns could be filtered with AND logic. So, for instance the user could see all housing co-ops in Albany Park
Content Row Actions
When a user clicks on a content row, the app pops us a dialogue box as described below