Skip to content

feat: search items from dashboard#23

Merged
zhenghaoz merged 2 commits into
gorse-io:masterfrom
zhangzhenghao:feat-item-search
Jun 8, 2026
Merged

feat: search items from dashboard#23
zhenghaoz merged 2 commits into
gorse-io:masterfrom
zhangzhenghao:feat-item-search

Conversation

@zhangzhenghao

Copy link
Copy Markdown
Contributor

Summary

  • Update the Items page search box to call GET /api/items?q=... instead of exact GET /api/item/{id} lookup
  • Show backend search errors inline, including the unsupported-search response when search columns are not configured
  • Disable cursor pagination controls while search results are displayed; clearing the search input resets to normal item pagination

Dependency

Test Plan

  • pnpm exec eslint src/views/Items.vue
  • pnpm lint
  • pnpm build
  • git diff --check

@zhenghaoz zhenghaoz merged commit d0dceb2 into gorse-io:master Jun 8, 2026
4 checks passed
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.

2 participants