the-canonizer / canonizer-service

2 stars 0 forks source link

Browse Page Updates about topic tags #332

Open sajid315 opened 3 months ago

sajid315 commented 3 months ago

Following are the node id's proposed for updates, we need to do changes according to it.

https://www.figma.com/design/GqRitUIyR77zZOmeSA1BsY/Canonizer-%3CUX-enhancement%3E?node-id=1301-9172&t=WsUQw3EwfKwDgHy2-0

https://www.figma.com/design/GqRitUIyR77zZOmeSA1BsY/Canonizer-%3CUX-enhancement%3E?node-id=714-42700&t=WsUQw3EwfKwDgHy2-0

sajid315 commented 3 months ago

@wahaj-hafeez I have raised and merged the backend changes required to filter the topics by tags.

Here following should be the payload in case of any selection in tags by user. Meanwhile I am working on unit test cases for tag id's.

{
    "algorithm": "blind_popularity",
    "asofdate": 1724637183.307,
    "namespace_id": "",
    "page_number": 1,
    "page_size": 24,
    "search": "",
    "filter": 0,
    "asof": "review",
    "user_email": "",
    "is_archive": 0,
    "sort": false,
    "page": "browse",
    "topic_tags": [5, 6, 7]   // this  should be array of tag id's
}
sajid315 commented 3 months ago

Backend unit test cases are done regarding the updates we did for the browse API and about filteration. I will raise the complete code after internal testing.

sajid315 commented 4 weeks ago

@rupalichavan9860 I just verified this ticket , API is changed as expected in this ticket and results are coming correct on browse page. We can move this ticket ahead.