Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Frontend
Minds Frontend
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 803
    • Issues 803
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 45
    • Merge Requests 45
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds FrontendMinds Frontend
  • Issues
  • #452

Closed
Open
Opened 2 months ago by Jake Passi@JakePassi
  • Report abuse
  • New issue
Report abuse New issue

(bug): Long comments are getting cut off (even ones from long ago) and users are not being informed when their comments surpass the character limit.

Summary

Long comments are getting cut off (even ones from long ago) and users are not being informed when their comments surpass the character limit. Also, they are allowed to post a comment even if it exceeds the character limit. This causes the comment to get cut off with "..." at the point where the character limit was reached.

I suggest making the character limit much longer (like 5000), adding a "See More" button after a certain number of characters (like 500) and informing users that their comments have surpassed the character limit by turning the text red and adding a negative number in red (for the number of characters which surpass the character limit) to the bottom right corner of the comment input field plus showing an error message if users try to post a comment which surpasses the character limit.

Steps to reproduce

  1. Post a really long comment, one which exceeds the current character count for comments (whatever it is)

Platform information

Chrome/Win10

What is the current bug behavior?

Long comments are getting cut off (even ones from long ago) and users are not being informed when their comments surpass the character limit. Also, they are allowed to post a comment even if it exceeds the character limit. This causes the comment to get cut off with "..." at the point where the character limit was reached.

What is the expected correct behavior?

I suggest making the character limit much longer (like 5000), adding a "See More" button after a certain number of characters (like 500) and informing users that their comments have surpassed the character limit by turning the text red and adding a negative number in red (for the number of characters which surpass the character limit) to the bottom right corner of the comment input field plus showing an error message if users try to post a comment which surpasses the character limit.

Relevant logs and/or screenshots

11

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 2 months ago by Jake Passi

Related issues
0

    • Jake Passi @JakePassi added 1 - High P - Comments T - Bug labels 2 months ago

      added 1 - High P - Comments T - Bug labels

    • Jake Passi @JakePassi changed title from (bug): Users are not informed when their comments have reached the character limit. to (bug): Long comments are getting cut off (even ones from long ago) and users are not being informed when their comments surpass the character limit. 2 months ago

      changed title from (bug): Users are not informed when their comments have reached the character limit. to (bug): Long comments are getting cut off (even ones from long ago) and users are not being informed when their comments surpass the character limit.

    • Jake Passi @JakePassi changed the description 3 times within 4 minutes 2 months ago

      changed the description 3 times within 4 minutes

    • Ben Hayward @benhayward.ben assigned to @benhayward.ben 5 days ago

      assigned to @benhayward.ben

    • Ben Hayward @benhayward.ben changed milestone to %sprint: Funny Frog 5 days ago

      changed milestone to %sprint: Funny Frog

    • Ben Hayward @benhayward.ben changed weight to 4 5 days ago

      changed weight to 4

    • Ben Hayward @benhayward.ben added S - Backlog label 5 days ago

      added S - Backlog label

    • Ben Hayward
      Ben Hayward @benhayward.ben · 12 minutes ago
      Developer

      After discussing today, we will not be increasing the character limit, but we will be adding in a warning to stop users exceeding it. The existing system for truncating comments will be left in to catch anyone using any loopholes around the character count.

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    Assignee
    Ben Hayward's avatar Ben Hayward @benhayward.ben
    Assign to
    None
    Epic
    None
    sprint: Funny Frog
    Milestone
    sprint: Funny Frog
    Assign milestone
    None
    Time tracking
    No estimate or time spent
    None
    Due date
    None
    4
    Labels
    1 - High P - Comments S - Backlog T - Bug
    Assign labels
    • View project labels
    4
    Weight
    4
    Confidentiality
    Not confidential
    Lock issue
    Unlocked
    2
    2 participants
    user avatar
    Ben Hayward
    user avatar
    Jake Passi
    Reference: minds/front#452