Skip to content

Implement global search#23

Open
madman2014 wants to merge 1 commit into
gitearn-io:mainfrom
madman2014:fix-global-search
Open

Implement global search#23
madman2014 wants to merge 1 commit into
gitearn-io:mainfrom
madman2014:fix-global-search

Conversation

@madman2014
Copy link
Copy Markdown

Closes #3

Adds a global search API and UI for searchable records visible to the current user.

Implemented:

  • /api/v1/search/ endpoint
  • permission-aware item search
  • superuser user search
  • sidebar global search input
  • /search?q=... results page
  • backend API tests for search behavior

Validation:

pm run build passes

  • python -m compileall app passes
  • python -m ruff check app/api/routes/search.py app/models.py app/api/main.py app/tests/api/routes/test_search.py passes

px biome check passes on touched frontend files

Note: local pytest requires a running Postgres test database in this template 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