You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To improve flexibility, the record editor should be updated to handle various record types dynamically, similar to how the record and holdingpen editors operate. This can be achieved by utilizing the URL structure to identify the type dynamically. For instance, the editor endpoint could be formatted as follows:
editor/workflows/<type>/<uuid>
Acceptance Criteria:
Modify the record editor to accept and handle different parameters based on the URL structure.
Ensure support for multiple record types (e.g., authors, publications, etc.).
Maintain or improve existing tests to cover dynamic URL-based record type handling.
Ensure no regression for the existing "authors" type.
Additional Notes:
Review the existing logic in the record and holdingpen editors for guidance on implementing dynamic type handling.
The text was updated successfully, but these errors were encountered:
Currently, the record editor for the backoffice only supports the "authors" type, as seen in the example https://github.com/inspirehep/inspirehep/blob/681c501b7083edc00dc99cd5092acdeac700141c/record-editor/src/app/core/services/backoffice-api.service.ts#L110-L111
To improve flexibility, the record editor should be updated to handle various record types dynamically, similar to how the record and holdingpen editors operate. This can be achieved by utilizing the URL structure to identify the type dynamically. For instance, the editor endpoint could be formatted as follows:
Acceptance Criteria:
Modify the record editor to accept and handle different parameters based on the URL structure.
Ensure support for multiple record types (e.g., authors, publications, etc.).
Maintain or improve existing tests to cover dynamic URL-based record type handling.
Ensure no regression for the existing "authors" type.
Additional Notes:
Review the existing logic in the record and holdingpen editors for guidance on implementing dynamic type handling.
The text was updated successfully, but these errors were encountered: