Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

[$75] Dynamic Achievements Filter #620

Closed
callmekatootie opened this issue Jul 29, 2020 · 8 comments
Closed

[$75] Dynamic Achievements Filter #620

callmekatootie opened this issue Jul 29, 2020 · 8 comments

Comments

@callmekatootie
Copy link
Collaborator

Follow up of #15 - This ticket is to carry out similar changes, but for achievements filter

@phongnt
Copy link
Collaborator

phongnt commented Jul 29, 2020

@callmekatootie Can I pick this ticket?

@callmekatootie
Copy link
Collaborator Author

I am afraid not - There's some clarifications needed here and I am currently discussing with the PM. We may also need an endpoint in the backend here, so this ticket is not yet ready for pickup

@callmekatootie
Copy link
Collaborator Author

Details:

  • Currently, the achievements filter in the left sidebar is getting its filter values statically
  • Remove this. Don't just comment the code, remove the code entirely (which fetches the static values)
  • Instead, the achievements filter, just like the locations and skills and custom attribute filter(s) will allow the user to enter a search text, which will then be passed to an api. The api returns with suggestions that match the entered search text and user will select a value from it.
  • On selection, the filter will be set against achievements and a new user search will be carried out, exactly like how it happens currently. The difference here is that instead of static values, we will now have dynamic values.

The API that needs to be called is:
{{API_URL}}/search/userAchievements?organizationId=<organization_id>&keyword=<search_text>

The organization id to be passed here is the one that the user selected when they launched the app.... You can use the existing service to get that info... the search text is the text that the user types to get the suggestions

Check out the changes made in #15's Pull Request. You will end up making similar changes here, except, for this, the api to be called (to fetch the suggestions) is different.

NOTE Pick this ticket up only if you can submit in 12 hours time.

@callmekatootie callmekatootie changed the title Dynamic Achievements Filter [$75] Dynamic Achievements Filter Aug 2, 2020
@cwdcwd
Copy link
Contributor

cwdcwd commented Aug 2, 2020

Contest https://www.topcoder.com/challenges/30135554 has been created for this ticket.

This is an automated message for lazybaer via Topcoder X

@callmekatootie
Copy link
Collaborator Author

This ticket is open for pickup

@venkygot venkygot self-assigned this Aug 2, 2020
@cwdcwd
Copy link
Contributor

cwdcwd commented Aug 2, 2020

Contest https://www.topcoder.com/challenges/30135554 has been updated - it has been assigned to kingszlayer.

This is an automated message for lazybaer via Topcoder X

@venkygot venkygot removed their assignment Aug 2, 2020
@cagdas001 cagdas001 self-assigned this Aug 2, 2020
@cwdcwd
Copy link
Contributor

cwdcwd commented Aug 2, 2020

Contest https://www.topcoder.com/challenges/30135554 has been updated - it has been assigned to cagdas001.

This is an automated message for lazybaer via Topcoder X

@cwdcwd
Copy link
Contributor

cwdcwd commented Aug 4, 2020

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30135554

This is an automated message for lazybaer via Topcoder X

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants