Fetch projects by keyword #3

Closed
opened 2026-01-16 07:38:30 +00:00 by aniram · 0 comments
aniram commented 2026-01-16 07:38:30 +00:00 (Migrated from codeberg.org)

When the user types inside the search bar send a request to an endpoint which searches among all projects for the ones that contain the user's input.
Don't paginate the results. Show the first 10 for now. Don't refine the search if possible.
Make it as broad as possible. This is the first iteration of the feature, keep it simple.

Next iteration:

  • Add pagination
  • Add link to project's PDF
  • Add link to custom project page(see project's trajectory, its current status etc) -> do some research
  • Fetch author's image, show it as avatar and cache it
  • Cache search responses

Proposals:

When the user types inside the search bar send a request to an endpoint which searches among all projects for the ones that contain the user's input. Don't paginate the results. Show the first 10 for now. Don't refine the search if possible. Make it as broad as possible. This is the first iteration of the feature, keep it simple. Next iteration: - [x] Add pagination - [x] Add link to project's PDF - [ ] Add link to custom project page(see project's trajectory, its current status etc) -> do some research - [x] Fetch author's image, show it as avatar and cache it - [x] **Cache search responses** Proposals: - [ ] Debounce search on the frontend after caching system(https://git.marina.sh/aniram/cidadon/issues/6#issuecomment-6) has been put in place - [ ] Add additive filters E.g.: search for projects authored by the member Maria José in 2024 containing the word 'educação' `:mem Maria José :ano 2024 educação`
aniram added reference feature/fetch-projects-by-keyword 2026-01-27 22:24:32 +00:00
aniram self-assigned this 2026-01-29 19:26:11 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aniram/cidadon#3
No description provided.