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
Open a separate project page when a project is clicked.
Search projects
Search by Project Name
Users should be able to search for projects using the project name or partial keywords that match the project name.
Search by Project Tags
Projects should be searchable by tags that have been assigned to them. Users should be able to enter one or more tags to find relevant projects.
Sorting Options
Users should have the ability to sort the search results using the following criteria:
Latest Posts: Sort projects based on the date the project was created, with the most recent projects displayed first.
Oldest Posts: Sort projects based on the date the project was created, with the oldest projects displayed first.
Last Update: Sort projects based on the latest project update date (whenever the project content was last modified), with the most recently updated projects displayed first.
How?
Implement a new API endpoint to fetch all existing projects from the database.
Implement a new API endpoint to fetch a single projects information from the database.
Modify the actions.ts file to fetch the projects from the newly implemented backend API.
Modify the actions.ts file to fetch information about a single project from the newly implemented backend API.
Implement sorting by modifying in the Project Page
and corresponding Backend APIs.
Acceptance Criteria
Users should be able to view all existing projects on the Project page after they are created.
Users should be able to click on a particular project to get more information about that project.
Users can search for projects by entering a full or partial project name.
Sorting should be done according above-mentioned specifications.
UI for searching with Tags should be done using Chips with the close button.
The sorting and filtering options should be available both before and after a search query is made.
Handle error handling and feedback if no projects match the search criteria.
Bonus points: Modify projects to have multiple tags and enable searching with multiple tags.
Additional Notes
UI for displaying all projects and viewing a particular project exists, update the backend to provide APIs for fetching project info and all projects.
UI for searching by project name is implemented. You would need to implement the UI for searching by Tags.
Add the following functionalities
Prerequisites: Fix the Create Project page #1
Requirements
Fetch Projects
Search projects
Search by Project Name
Users should be able to search for projects using the project name or partial keywords that match the project name.
Search by Project Tags
Projects should be searchable by tags that have been assigned to them. Users should be able to enter one or more tags to find relevant projects.
Sorting Options
Users should have the ability to sort the search results using the following criteria:
How?
and corresponding Backend APIs.
Acceptance Criteria
Additional Notes