As discussed in the review with Nowlan Freese, made small UI changes, created a new repository, and pushed the code. Here is the code: https://bitbucket.org/jaya-sravani/ensembl-search/src/main/. Next step is to replace the mock with Ensembl data by making API calls, only look into homo_sapiens, and implement the code to load it alone as an improved POC. Will be creating new tickets for this accordingly.
What does this POC app do:
When downloaded, it adds a new tab allowing the user to search for any genome and load the data to IGB. If the user enters a genome name that doesn't exist then a message is displayed saying the genome is not found, if they don't enter anything and click on the search then a message is displayed to enter a valid genome name. If they enter a genome that's present then they will be shown a success message with some details along with a load button, when clicked on the load button, the data gets loaded to IGB. As this is a POC app, we are not doing an actual search, instead, the backend matches the string to a hardcoded value and shows a success message only if the input matches that and the data that gets loaded is mock data which is retrieved from the IGB quickload server.
Notes when testing:
Use custom_homo_sapiens when doing the search as it's been used in the backend to load the mock data.
New Plugin App is created and when it is installed it adds an Ensembl Search Tab, doing the UI development for it. Currently investigating a way to have some text, only part of a label to be clickable which isn't feasible by default with JLabel, so trying to find a work around using JEditorPane.