dyne / zenpub

Reflow federated economic network
GNU Affero General Public License v3.0
13 stars 3 forks source link

Zen Pub issues prioritisation #67

Open pral2a opened 2 years ago

pral2a commented 2 years ago

Here we document important Zen Pub issues affecting the implementation of the Shared Inventories and Material Passport scenarios in WeLoop. Other issues related to other scenarios such as Proposals and Intents are excluded.

⚠️ Some issues might be fixed directly in Bonfire. Please, indicate it or point to the updated GrapQL documentation

1. Provide a way to filter users with wildcards to implement an autocomplete search mechanism or similar mechanism. See issue https://github.com/dyne/zenpub/issues/52 in particular comment https://github.com/dyne/zenpub/issues/52#issuecomment-852862312

2. Enable resources to be flag as archived. We understand the reasons a resource can not be fully deleted but we suggest a flagging system as already discussed in issues https://github.com/dyne/zenpub/issues/56

3. Support image upload for resources using the same mechanism as for users. Given it is already implemented for Users and the goal is to provide a highly accessible UI. We consider it an important feature at a low cost. See issue https://github.com/dyne/zenpub/issues/54

4. Timestamp mutations. Economic Events support multiple properties related to time (i.e hasBeginning, hasEnd and hasPointInTime), but those need to be provided by the client. The backend only works as a persistence layer. We suggest all mutations, not only Economic Events, implement a property where the backend timestamps each mutation. i.e. created_at , updated_at See original issue https://github.com/dyne/zenpub/issues/61

5. Add pagination to filtered methods. Currently, filter methods do not include any form of pagination in comparison to pages methods. That means a filtered collection can not be paginated. That difficult the work of displaying long lists of elements. i.e. economicResourcesFiltered (by agent) used to build a user (agent) inventory can not be paginated. See related issue https://github.com/dyne/zenpub/issues/68

6. Asses ZenPub clients migration to BonFire. See dedicated issue https://github.com/dyne/zenpub/issues/69

Work in progress...

pral2a commented 2 years ago

Not kowing about the BonFire status, we decided to asses all the issues against the current Bonfire staging server

1. Provide a way to filter users with wildcards to implement an autocomplete search mechanism or similar mechanism. Remains unsolved, see https://github.com/dyne/zenpub/issues/52#issuecomment-948388020

2. Enable resources to be flag as archived. Remains unsolved, see https://github.com/dyne/zenpub/issues/56#issuecomment-948414389

3. Support image upload for resources using the same mechanism as for users. Remains unsolved, see #54#issuecomment-948430472

4. Timestamp mutations. See #61 Can check because we lack BonFire user signup documentation.

5. Add pagination to filtered methods. Remains unsolved, see https://github.com/dyne/zenpub/issues/58#issuecomment-948388020