Algolisted-Org / AlgoListed

Algolisted is an AI-powered nonprofit analytics firm dedicated to assisting computer science students in preparing for placements and internships. Our services include tracking and analytics across various platforms and topics.
http://algolisted.com
Other
135 stars 75 forks source link

Coding Sheets | Create a multi-select topic select button, for DSA tags based filter #132

Closed NayakPenguin closed 11 months ago

NayakPenguin commented 11 months ago

Design a versatile topic selection button that allows users to choose multiple options, enabling them to filter topics with dsa- tags effortlessly. This feature enhances the user experience by providing a convenient way to refine their search within the topics related to data structure and algorithms (DSA).

Screenshot 2023-10-09 at 8 33 05 PM

@jatingodnani

jatingodnani commented 11 months ago

Interested

jatingodnani commented 11 months ago

@Nayaker my query is anyone choose array and hash in tags so i need to show this question and if anyone choose any one of them then i need to show same ques also? Screenshot 2023-10-11 002954

NayakPenguin commented 11 months ago

@Nayaker my query is anyone choose array and hash in tags so i need to show this question and if anyone choose any one of them then i need to show same ques also? Screenshot 2023-10-11 002954

Certainly, @jatingodnani, this is similar to a bitwise AND operation. When the 'array' option is selected, only problems containing both 'array' and potentially other tags are displayed, essentially making 'array' a requirement. Now, when both 'array' and 'hashtable' are selected, problems featuring 'array' and 'hashtable,' along with possibly other tags, are shown, with the caveat that problems solely tagged as 'array' without 'hashtable' are excluded.

NayakPenguin commented 11 months ago

@jatingodnani The above commit has a couple of issues that necessitate additional changes:

  1. The feature functions flawlessly when a single filter is selected but encounters problems with multiple selections.
  2. It is recommended to eliminate the 'show less' and 'show more' buttons due to their limited significance and instead set the box height to 500px and add an 'overflow: scroll' property.

I've also made some CSS adjustments to align the changes with my current UI. Additionally, could you please ensure that when creating a PR, you only commit the specific files you intend to submit, rather than the entire set of changes? :)

jatingodnani commented 11 months ago

@Nayaker my query is anyone choose array and hash in tags so i need to show this question and if anyone choose any one of them then i need to show same ques also? Screenshot 2023-10-11 002954

Certainly, @jatingodnani, this is similar to a bitwise AND operation. When the 'array' option is selected, only problems containing both 'array' and potentially other tags are displayed, essentially making 'array' a requirement. Now, when both 'array' and 'hashtable' are selected, problems featuring 'array' and 'hashtable,' along with possibly other tags, are shown, with the caveat that problems solely tagged as 'array' without 'hashtable' are excluded.

So you are saying if anyone choose array it should only show where it contain only one tag naming array

NayakPenguin commented 11 months ago

No bro! Wait for some time I will explain @jatingodnani

jatingodnani commented 11 months ago

Ok

NayakPenguin commented 11 months ago

@jatingodnani are you online - reply to this comment in 5 mins then i can send you a gmeet link

jatingodnani commented 11 months ago

After 1pm

NayakPenguin commented 11 months ago

Around 1pm I will send a link to you on your email to join!

jatingodnani commented 11 months ago

@Nayaker close this issue