Uploaded image for project: 'ListenBrainz'
  1. ListenBrainz
  2. LB-1282

Limit size of CritiqueBrainz reviews in feed page

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Low Low
    • None
    • None

      Currently, there is no limit put in place for the length of content on the feed page, which can be problematic in the case of displaying CB reviews (which have all the reasons to be long blobs of text).

      For reference, the utility function that creates the layout for these is situated here:
      https://github.com/metabrainz/listenbrainz-server/blob/0d4ded6ca123f7b3b10af9bf78d95ae289534657/frontend/js/src/utils/utils.tsx#L845-L876

      Example screenshot:

      We should have a sane limit for text content of a few lines along with a [Read moreā€¦] button to expand to full height.

            kubrimskii Rimma Kubanova
            mr_monkey Monkey
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Version Package