-
-
Notifications
You must be signed in to change notification settings - Fork 401
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
Knocking out LC requirements in issue #2124 #2125
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
bf47d4e
Merge pull request #3 from tidusjar/develop
anojht 11d4c0e
Item 1) on issue #2124
anojht 4151b3d
Items 3) and 4) on issue #2124
anojht 398cfca
Item 6) on issue #2124
anojht 3275665
Fixed build error caused by changing type of issueRequest
anojht 321618c
Reverting 1) to see if build errors are resolved
anojht d54ded5
redoing 1) since it did not fix build errors, changed tsconfig to all…
anojht 8aee398
Fixing silly mistakes and tidying up
anojht c4bbfdc
Fixing the final lint issue
anojht e742f24
Item 7) on issue #2124 by changing how titles are displayed for tv se…
anojht 899709f
Changing how request titles are displayed to keep consistent with ite…
anojht 39afbbf
Fixing lint issues causing build failures
anojht 0cdc459
Wrote backend API to get imdbid on request for tv shows that are miss…
anojht b9fdc7d
Tidying up variable naming
anojht 0e5a4ca
Diplay poster in UI now that we have imdbid
anojht 13465a8
Created method for reused active class toggling code
anojht File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
We shouldn't be using the SearchService to get the TvDbId and Imdbid.
There should be a new API if we need this information, or return it as part of the current API
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.
In search results the TreeNode data has
seriesId
attribute which can be used with the url:https://www.tvmaze.com/shows/{seriesId}
in order to display titles with urls in the event that that tvmaze data does not contain animdbId
for the particular show.However inside the requests page the TreeNode data does not have a
seriesId
attribute, so the only way I thought of to get this since we do have thetvDbId
is to use the search service call to obtain this very reliably and this way tv show titles don't just link to a 404 imdb page.What do you think is a better approach? I mean we can set the
imdbId
attribute accordingly during search so we don't have to do this and this would work for new requests but then I was just thinking of the existing requests...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.
Well we do try and set the IMDb Id, but we can't always get it because it's not available sometimes. What I'd recommend is if we dont have it then we either create a new api and get it OR get it on the requests API that returns the requested items.
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.
Ok I will investigate this further. What I am leaning towards is using OMDb API since if we pass it the exact title we get from TvMaze it seems to return a reliable result which has the IMDb Id 😃
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.
That's fine! We just need a new API assembly like all the other external API's.
Should be pretty simple to do.