We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance the search result cards displayed on the frontend by adding two buttons for each card:
Both actions will open a popup/modal where users can input the required fields.
Add to List
The modal should include:
publicDbId
/api/v1/list/add
POST
{ "status": "<selected_status>", "rating": <user_rating>, "publicDbId": "<publicDbId>" }
Create Post
type
imageUrl
/api/v1/post/create
{ "publicDbId": "<publicDbId>", "type": "<media_type>", "text": "<user_text>", "imageUrl": "<imageUrl>" }
status
rating
Submit
The text was updated successfully, but these errors were encountered:
Claim
Sorry, something went wrong.
/info
Snehalgupta-07
No branches or pull requests
Description
Enhance the search result cards displayed on the frontend by adding two buttons for each card:
Both actions will open a popup/modal where users can input the required fields.
Steps to Implement
1. Frontend Design
a. Search Result Card
2. Add-to-List Functionality
a. Button
Add to List
b. Modal Design
The modal should include:
publicDbId
:publicDbId
of the selected card.c. API Integration
/api/v1/list/add
(or the corresponding backend endpoint).POST
.d. Error Handling
3. Create-Post Functionality
a. Button
Create Post
.b. Modal Design
The modal should include:
publicDbId
: Auto-populate using thepublicDbId
of the selected card.type
: Auto-detect (anime, movie, or game) based on the search result category.imageUrl
: Auto-populate using theimageUrl
of the selected card.c. API Integration
/api/v1/post/create
(or the corresponding backend endpoint).POST
.d. Error Handling
4. Testing
a. Add-to-List Button
b. Create-Post Button
5. Instructions for PR
6. Expected User Flow
a. Add-to-List
Add to List
button on a search result card.status
,rating
, andpublicDbId
(hidden).Submit
.b. Create-Post
Create Post
button on a search result card.Submit
.The text was updated successfully, but these errors were encountered: