API support for SPA Featured Items #10943
Labels
Feature: API
FY25 Sprint 10
FY25 Sprint 10 (2024-11-06 - 2024-11-20)
FY25 Sprint 11
FY25 Sprint 11 (2024-11-20 - 2024-12-04)
FY25 Sprint 12
FY25 Sprint 12 (2024-12-04 - 2024-12-18)
FY25 Sprint 14
FY25 Sprint 14 (2025-01-02 - 2025-01-15)
GREI Re-arch
Issues related to the GREI Dataverse rearchitecture
Original size: 50
Size: 50
A percentage of a sprint. 35 hours.
SPA.Q4.5
Collections page with a more Website-like or CMS look and feel
SPA
These changes are required for the Dataverse SPA
Type: Feature
a feature request
Overview of the Feature Request
As a first iteration of this feature I think we should focus on creating/updating custom featured items and then we could move on to creating featured collections, datasets and files.
We need two API endpoints:
To create/update the featured items.
To get the featured items of a specific collection.
This could be the model of the objects returned by the endpoint 👇
About the create/update I was thinking about something like this, let's say the user adds 3 new featured items, only one contains a file, and one featured item already exists (last one), then from the SPA we would send a
FormData
doing the following for example:Although I have a doubt, how could we handle the cases in which an existing featured item does not modify its image, only its title let's say, in that case what should we send to the endpoint? a property that says keepFile? this boolean could also be useful if the user removed the image.
What kind of user is the feature intended for?
API Users, SPA Users
What inspired the request?
Q4 Roadmap
What existing behavior do you want changed?
None
Any brand new behavior do you want to add to Dataverse?
Add the possibility to create featured items within a collection.
Any open or closed issues related to this feature request?
IQSS/dataverse-frontend#514
The text was updated successfully, but these errors were encountered: