First kwixerr commit
Kwixer movies done and ready for testing
Added Metadata
Fixed more at link
Handled and fixed all feedback for pull request
Changed url for something more maintainable for Kwixer.
added JS tests
Added two other cases for film ssearching with director
Handled all code review feedback and stripped off unnecessary things.
* Image cover heights
* Image urls not ending with jpg don’t show
* Handlebar helpers -> replace string
* add comments
* Looks like this variable isn't getting used.ddg_spice_kwixer_carousel_add_items
* Remove test js functions
* General clean up
Fixed my mistake with video.handlebars
Handled feedback!
P.S: Like I commented in the pull request, the DDG proxy for images "/iu/?u=" doesn't retrieve images that don't have a file extension like ".jpg"
Example this image: https://kwix.blob.core.windows.net/movies/large_09b9eaf5-46e6-4ec8-b57c-d81a8dccb23b.com/images/m/mv5bmtgzndk1mtm4nl5bml5banbnxkftztcwmjm2mzcxmw@@
[X]Trailing comma
[X]getQueryParams() moved inside
[X]Removed general “movies” / “films” triggers
[X]Detail handlebar handles empty Genres, Details etc..
[X]Fixed my mistake while testing Movie.pm
Improved search / directors/ actors
Added "featuring" like "starring"
Example: "Movies featuring Tom cruise"
Updated trigger tests
Temporary commit.
Commented director stuff.
Added sorting for results without images to be added at the end.
Also added DDG.isRelevant for results.
(Didn't update tests yet though)
Custom isRelevant, couldn't get DDG.isRelevant to return the right results all the time.
Updated tests
Replaced trim with something that works with IE8
added the test hasOwnProperty for each : for in
Modified JS. Still not tested, changing machines
Better query handling:
* Movies with the Hulk -> actually only returns movies with "hulk hogan" as an actor.
* Movies with h -> returns nothing.
* Movies with Tom Cruise and Emily -> works again now
Deleted blank lines.
Restored edited movie.pm