Amndeep7/ptw-extender

Search

Amndeep7 opened this issue · 4 comments

Add search capability so you don't need a direct link - dependent on #8 to have a place to show those results

#8 no longer a thing since the focus for that became notifications. A button will be added but the sole purpose is probably gonna be clicking on it for search purposes.

Actually a button will not be added, just highlight and select the context menu. This is now dependent on #30.

Search: 1) highlighted text context menu gets selected, 2) modal pop up, 3) use anilist to search for title and display results in scrollable view (as the user scrolls down, request more pages from anilist results in order to populate list), 4) user selects which titles they want to add to their lists, 5) for each title, feed it into the list site converter to get the list site specific description of the title for each list site the user has checkmarked (ex. mal_mal), 6) for each list site, add the title to the user's ptw

image

Mock-up for context menu

image

Mock-up for modal

Little textbox up top that is by default filled with the highlighted text, but the user can change it if they want so as to change the search (have to press the search button to make it do the change tho)