Amndeep7 / ptw-extender

Extension that adds titles to your MyAnimeList, AniList, or Kitsu plan-to-watch/read list with the url of where you found the title added as a comment.
Other
10 stars 0 forks source link

Search #9

Open Amndeep7 opened 5 years ago

Amndeep7 commented 5 years ago

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

Amndeep7 commented 5 years ago

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.

Amndeep7 commented 5 years ago

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

Amndeep7 commented 5 years ago

image

Mock-up for context menu

Amndeep7 commented 5 years ago

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)