Open oxgr opened 1 month ago
List pages:
Beneficiary Tab
should list all organizations but the is_beneficiary
filter should be set to True by defaultEquipment
tab should be replaced by a Equipment Point
tabshared
property for now). This can be done in a separate PR at a later time.Equipment Point
Tab should list all organizations but the is_equipment_point
filter should be set to True by defaultDetail page:
The Organization detail page should contain:
Edit Organization
button (only displayed to users that have the proper permissions)Adding a + New Equipment
button and a AddEquipment
form is a nice to have, not a priority. Imo we can deal with it at later point. For now the Organization
admin page can be used for that purpose. I don't think equipment lists will change much throughout the season and I expect only a few core members will be in charge of updating this information.
Eventually we will want to add a list of harvests that have reserved this equipment point (or some calendar view?). This is good to keep in mind for layout purposes but this is out of scope for this Issue
Hitting a crossroads in #416
Since beneficiaries and equipment points both will use the same Organization
details page and create/update views, should we take the opportunity to rename some things that conflate Organization
and Beneficiary
? Might save some headache in the future.
in the same vein, would there be much of a difference in Beneficiaries and Equipment point list pages other than an initial filter? Doing the renaming above might make it simpler to use the same viewset for the two, reducing complexity.
@oxgr I would say let's not change the actual routes but feel free to change the reference name benficiary-create
-> organization-create
for more clarity
Doing the renaming above might make it simpler to use the same viewset for the two, reducing complexity.
I agree we should not duplicate the viewset and reuse the same for both list pages. Subclassing is fine though if it's needed.
in the same vein, would there be much of a difference in Beneficiaries and Equipment point list pages other than an initial filter?
Some differences I see:
beneficiary_description
as pop-up in the beneficiary list page and simply have a checkmark for has_equipment
column. Conversely show only the equipment_description
as pop-up in the equipment point list page and simply have a checkmark for is_beneficiary
column.date_range
filter for available equipment points
Type of Issue: Feature request
Beneficiaries should have their own details page to see more information on a particular organisation.
This will especially be beneficial in the future to view more details on equipment available from an organisation.
Expected Behavior:
Current Behavior:
Related URLs:
e.g.
https://saskatoon.lesfruitsdefendus.org/beneficiary/