Submitty icon indicating copy to clipboard operation
Submitty copied to clipboard

Adding a Searchbar Functionality for Submitty

Open immortalcodes opened this issue 2 years ago • 4 comments

What problem are you trying to solve with Submitty There are a lot of pages in the Submitty application and sometimes finding something could take a lot of navigation or time and to solve this a global searchbar could be added to the Submitty which could search through whole of the application based on the certain words user has entered.

Describe the way you'd like to solve this problem Generally the searchbar functionality works by looping through whole page and matching for indexed words with the words entered in the search bar. Since the submitty is huge and complex we would want something more creative and smart approach for same, something like searching through the entire text that is being displayed and then showing the relevant results ; could be one approach.

Describe any potential alternatives you may try to solve the problem Instead of a global searchbar we may even try to have indiviual searchbars for the pages that require a lot of scrolling to reach to some result .

Additional context While searchbar is implemented , it is to be taken care off that users are shown the results that they have acess to like a student cant be shown results from the options available in creation of a gradeable.

immortalcodes avatar Jun 30 '22 05:06 immortalcodes

I would like to help but I am new so would like your guidance.

blizet avatar Jul 22 '22 15:07 blizet

Sure, let me know how you want to proceed and in what way I could help or if there is something u are stuck with. Refer Developer Docs

immortalcodes avatar Jul 23 '22 05:07 immortalcodes

Hello, I have been trying to sort how we'll display only selected ones to students, we can make a search functionality which works differently when used by different people by making some program related to authentication.And i have knowledge of web development, javascript and c++ so i was going through PHP so hence it took sometime.

On Sat, Jul 23, 2022 at 10:46 AM Madhur Jain @.***> wrote:

Sure, let me know how you want to proceed and in what way I could help or if there is something u are stuck with. Refer Developer Docs https://submitty.org/developer/getting_started/index

— Reply to this email directly, view it on GitHub https://github.com/Submitty/Submitty/issues/8115#issuecomment-1193062627, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2F2DNWCZSYMLGTVAVS765DVVN52PANCNFSM52H7BBBQ . You are receiving this because you commented.Message ID: @.***>

blizet avatar Jul 25 '22 16:07 blizet

May be setting up the developer environment (Vagrant machine) will give you more idea about the thing, try to start with that

immortalcodes avatar Jul 28 '22 16:07 immortalcodes