General refactoring and small feature release #41

Merged
KevinMidboe merged 14 commits from refactor into master 2019-12-27 21:04:37 +00:00
KevinMidboe commented 2019-12-26 00:11:39 +00:00 (Migrated from github.com)

New features:

  • new endpoint for fetching person by id. Movie.vue handles checking type and using the correct function to get tmdb person info by id.
  • Adult is set to disable filtering adult material for search results.
  • Media type checks if movie, show or person and appends type to url path
    for searches by type only. E.g. mediaType = 'show' ->
    api/v1/search/show?query=Friends.
  • Darker background color when preferred color-schema is dark. Resolves #39.
  • General media query mixins @include desktop and @include mobile. Also classes .desktop-only and .mobile-only display none's the opposite media type.
  • New loading var for holding the state of the request. This makes it
    easier to show the loading and an error if the result is empty but the
    request is finished.
  • More header info! The header now displays list elements of info in a
    column on the right side of header. Used here for result and page. Related issue: #23
    current and total count.
  • Increased the z-index of the darkmode toggle emoji icon.
  • supported function for checking the browser for prefered color scheme.
    This is mainly to set the current mode to dark if the color scheme is
    currently dark.
  • Movielist item shows the title and now name for cases where the result item is a person.
  • On empty search responses Search page show a error message that there
    where no respones.
  • For page loads directly to the search page new url query parameters
    are checked: adult and media_type. These are then used to fetch updated
    tmdb search parameters. Adult = true disables filtering for adult
    material and media_type decides if the search is multi, movie, show or
    person. (Frontend for filtering media_type is not added yet.)
  • Use the toggleButton for filtering release types in torrent response.
    There is a click to expand the full name of the torrent. This is mostly
    for mobile where the name is hidden. Fixed an issue where the expanded
    list element would not get the correct styling and break the table in
    half. Now we also set an data attribute for the expanded element. This
    allows our scoped styling to reach the expanded element.
  • Also increased padding on expanded content.
  • sidebarListElement: Supplementary and content text are now wrapped in a
  • item. This with
    better styling selectors formats the icon correctly alongside the text.
  • sidebarListElement: Fixed active icon ref function that had an incorrect if statement so the
    activeIconRef would never be returned.
# New features: - new endpoint for fetching person by id. Movie.vue handles checking type and using the correct function to get tmdb person info by id. - Adult is set to disable filtering adult material for search results. - Media type checks if movie, show or person and appends type to url path for searches by type only. E.g. mediaType = 'show' -> `api/v1/search/show?query=Friends`. - Darker background color when preferred color-schema is dark. Resolves #39. - General media query mixins `@include desktop` and `@include mobile`. Also classes `.desktop-only` and `.mobile-only` display none's the opposite media type. - New loading var for holding the state of the request. This makes it easier to show the loading and an error if the result is empty but the request is finished. - More header info! The header now displays list elements of info in a column on the right side of header. Used here for result and page. Related issue: #23 current and total count. - Increased the z-index of the darkmode toggle emoji icon. - supported function for checking the browser for prefered color scheme. This is mainly to set the current mode to dark if the color scheme is currently dark. - Movielist item shows the title and now name for cases where the result item is a person. - On empty search responses Search page show a error message that there where no respones. - For page loads directly to the search page new url query parameters are checked: adult and media_type. These are then used to fetch updated tmdb search parameters. Adult = true disables filtering for adult material and media_type decides if the search is multi, movie, show or person. (Frontend for filtering media_type is not added yet.) - Use the toggleButton for filtering release types in torrent response. There is a click to expand the full name of the torrent. This is mostly for mobile where the name is hidden. Fixed an issue where the expanded list element would not get the correct styling and break the table in half. Now we also set an data attribute for the expanded element. This allows our scoped styling to reach the expanded element. - Also increased padding on expanded content. - sidebarListElement: Supplementary and content text are now wrapped in a <li> item. This with better styling selectors formats the icon correctly alongside the text. - sidebarListElement: Fixed active icon ref function that had an incorrect if statement so the activeIconRef would never be returned.
Sign in to join this conversation.
No description provided.