stakwork / sphinx-tribes

Backend for sphinx tribes and bounties. The bounty platform pays out in bitcoin. Sign up with Sphinx Chat, complete a bounty, and earn bitcoin! Go to our website for available bounties.
https://community.sphinx.chat/bounties
33 stars 60 forks source link

Filter and search on People page isn't synced #1448

Closed YLeight closed 9 months ago

YLeight commented 9 months ago

Describe the bug Searching and filtration work independently

https://jam.dev/c/b87e499e-7330-4e8f-9460-f7016c0b6ef9

To Reproduce

  1. Steps to reproduce the behavior:
  2. Open People page - https://community.sphinx.chat/p
  3. Select filter (e.g. typescript)
  4. There are no ecurrencyholder person
  5. Type ecurr in search field
  6. The search result contains ecurrencyholder what conflict with set filter

Expected behavior With selected filter, search should execute on filtered list. With search text, filtration should execute with search result list.

Desktop (please complete the following information):

Acceptance Criteria

YLeight commented 9 months ago

@ecurrencyhodler ✅ Done

YLeight commented 9 months ago

With this issue relates several side effects during initial render with preset search string

ecurrencyhodler commented 9 months ago

Covered in https://github.com/stakwork/sphinx-tribes-frontend/issues/1