Toolhub/Progress reports/2022-02-04

Report on activities in the Toolhub project for the week ending 2022-02-04.

Progress on new Annotations model edit

Tracked in Phabricator:
Task T195681

Following last week's "tech spike" that explored how to implement an annotation layer that will allow users to add and edit additional Tool data that are not contained in the current Tool info model, Bryan has submitted a collection of related patches to the team for review. These include creating an Annotations instance via a post_save signal handler each time a new Tool instance is saved, new API endpoints for reading and editing Annotations for a Tool, permissions for viewing, creating, deleting and editing an annotations model, and updates to the serializer and search index.

Sorting bug in tables now fixed edit

Tracked in Phabricator:
Task T286828 resolved

Raymond fixed a bug that caused paginated data on the frontend to be sorted on a page-by-page basis, while the desired behavior is whole dataset sorting.

New list features coming edit

Slavina has finished implementing user interface for viewing the edit history of a list including support for viewing historic revisions, diffs between revisions, and typical patrolling actions, and has begun work on the next iteration of improved list features, including creating a new page for viewing all public lists. The next steps in this direction will be for the team to add searching/filtering capabilities to this UI, as well as new ways to add tools to lists.

Updates to the toolinfo schema to allow for multiple authors edit

Bryan has extended the schema to allow submission of an array of people as the author of the tool. The legacy string type for this member is also allowed.

Wrap up edit

The team focus in the next few weeks will continue to be on implementing the new annotations model, expanding list capabilities and improving patrolling workflows.