Skip to content

Implement global search#25

Open
sonson0910 wants to merge 1 commit into
gitearn-io:mainfrom
sonson0910:codex/global-search-bounty
Open

Implement global search#25
sonson0910 wants to merge 1 commit into
gitearn-io:mainfrom
sonson0910:codex/global-search-bounty

Conversation

@sonson0910
Copy link
Copy Markdown

Closes #3

Summary

  • Add authenticated GET /api/v1/search/ for resources visible to the current user
  • Search item title/description for regular users and search users too for superusers
  • Add a debounced navbar search dropdown with loading and empty states
  • Add frontend client types/service and focused backend route coverage

Verification

  • npm run build
  • python -m compileall app
  • ruff check app/api/routes/search.py app/tests/api/routes/test_search.py app/api/main.py app/models.py
  • Direct SQLite function check for normal-user scoping and superuser user search

Note: full pytest requires a local PostgreSQL instance at localhost:5432. Docker was installed but the Docker daemon was not running in this environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

✨ Implment global search feature

1 participant