Skip to content

v1.18.0: details preview on cards and independent library and wishlist

Latest

Choose a tag to compare

@vitobotta vitobotta released this 04 Dec 21:38
fc490cf

Check a title's details without leaving the page you are browsing, and keep a title in your library and on your wishlist at the same time.

New

  • Details preview on browse cards. Rest the pointer on a poster on the home rails, search, library or wishlist for about half a second and a panel opens beside it. It shows the poster, title, year, runtime (films) or season count (series), IMDb and age rating, genre, plot and cast, with Library and Wishlist buttons and a More details link. Streams and episodes stay on the full page.
  • Bottom sheet on phones and tablets. On touch screens and narrow windows, an info button on each card opens the same details as a sheet from the bottom of the screen. Tapping the poster still opens the full page.
  • The panel stays open while the pointer is on the card or the panel, moves to the left of the poster near the right edge of the screen, and closes on Escape, a click elsewhere or a scroll. Continue watching cards keep their current behaviour, because clicking them resumes playback.
  • Child accounts only get previews for titles their age limit allows.

Fixes

  • Library and wishlist are now separate lists. Adding a title to one used to remove it from the other, both on the title page and on the cards. Each button now changes only its own list, and removing a title from one list on its page leaves it on the other. Existing titles keep the list they were on.
  • The preview shows the right buttons after you change a title's lists on its full page and come back with the browser's Back button.

Upgrading

The release phase migrates the database automatically and needs no new environment variables. A background job runs every 10 minutes and puts back on its list any title saved by the previous version while this one was deploying, or during a rollback. To roll back the database as well as the code, deploy the previous release first and then run bin/rails db:rollback STEP=1.

Implemented by @vitobotta in #57.

Full changelog: v1.17.1...v1.18.0