name: Bug report
description: Create a bug report
labels: [ bug ]
body:
  - type: textarea
    id: description
    attributes:
      label: Describe the bug
      description: |
        A clear and concise description of the bug, including steps to reproduce it and the normally expected behavior.
        You can also attach screenshots or screen recordings to help explain your issue.
      placeholder: |
        1. Go to …
        2. Click on …
        3. Scroll down to …
        4. See error / the app crashes

        Instead, I expect …
    validations:
      required: true
  - type: textarea
    id: logs
    attributes:
      label: Logs
      description: |
        Please paste your client logs (logcat) here, *NOT* server logs (in most cases).
        Learn how to capture those logcats [here](https://wiki.lineageos.org/logcat.html).
        Make sure that they don't contain any sensitive information like server URL, auth tokens or passwords.
      placeholder: Paste logs…
      render: shell
  - type: input
    id: app-version
    attributes:
      label: Application version
      description: The version of the installed Jellyfin Android app.
      placeholder: 2.3.0
    validations:
      required: true
  - type: dropdown
    id: installation-source
    attributes:
      label: Where did you install the app from?
      description: Choose the appropriate app store or installation method.
      options:
        - Google Play
        - F-Droid
        - Amazon Appstore
        - Sideloaded APK (libre build)
        - Sideloaded APK (proprietary build)
  - type: input
    id: device-info
    attributes:
      label: Device information
      description: Manufacturer, model
      placeholder: Google Pixel 5, Samsung Galaxy S21
    validations:
      required: true
  - type: input
    id: android-version
    attributes:
      label: Android version
      description: Version of the OS and other information (e.g. custom ROM / OEM skin)
      placeholder: Android 11, LineageOS 18.1
    validations:
      required: true
  - type: input
    id: server-version
    attributes:
      label: Jellyfin server version
      description: If on unstable, please specify the commit hash.
      placeholder: 10.7.6
    validations:
      required: true
  - type: checkboxes
    id: video-player
    attributes:
      label: Which video player implementations does this bug apply to?
      description: |
        *If applicable.* Video player can be switched in the client settings of the app.
      options:
        - label: Web player (default)
        - label: Integrated player (ExoPlayer)
        - label: External player (VLC, mpv, MX Player)
