-
Notifications
You must be signed in to change notification settings - Fork 81
Generate settings tabs for each talker #430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate settings tabs for each talker #430
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I also want to do some extra processing for the API key but I'm not sure what.
Possibly a lot of issues:
|
Rename test_api_key and test_api_url to api_key_btn_connect and api_url_btn_connect Make separate function to set form values, called in settings_to_form Change isinstance to is Call findChildren only once
That should have addressed everything. General for talkers is looking a little bare now it only have the dropdown for the talker selection. |
…dow. Additional clean up.
…tting and add to sources dict of widgets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last thing is I really don't like how the api key and URL are setup, it doesn't make sense to test the url separate from the API key, I know it makes generating the UI easier but I still don't like it. I'm planning on pushing a commit today to make it consistent across all talkers.
It's not so much about making it easier to generate, more that most APIs don't require a key so there will only be a URL to test. On that note, it looks like you've made every talker have an API key entry? |
# Conflicts: # comictaggerlib/settingswindow.py # comictalker/talkers/comicvine.py
Generate API text field in their own function API tests return string message of result Add help to text field lables
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When these last few comments are addressed I'll merge this.
Change metadata select label Use named tuple for talker tabs Retrun a string and bool for api check
The final "Make it return a |
Right now it is only used to give a message in the GUI, but if it is ever to be used elsewhere I need to be able to determine if it is successful or not. With only a string I cannot determine if the test was successful or not. |
Now this extra commit needs to be removed aba59bd and I can merge |
This reverts commit aba59bd.
The one for the API test I understood. It was the same comment for
that had me confused. I wondered if it was a c/p mistake from the API one? |
Not sure how that got in there. Must have been from the merge somehow. Reverted it. |
No idea how it got there??? |
Mostly based on the previous work. Changed passing in the current talker to the whole list for the settings window.