sphinx-tribes icon indicating copy to clipboard operation
sphinx-tribes copied to clipboard

Summary link to tribe text doesnt equal tribe name

Open kevkevinpal opened this issue 1 year ago • 6 comments

Says "hunterstribej" instead of "Bounty Hunters Tribe"

Screenshot 2024-01-22 at 8 00 20 PM

This is the bounty https://people-test.sphinx.chat/bounty/1192

You may have to create a tribe to add it to a bounty.

In src/bounties/BountyModalButtonSet.tsx line 103, the tribe's name is sliced to not be more than 14 characters

 <EuiText className="ButtonText">
      {props.tribe.slice(0, 14)} {props.tribe.length > 14 && '...'}
 </EuiText>

Change the slice to a CSS ellipsis.

acceptance criteria

  • [ ] I've tested on Chrome
  • [ ] I've posted a screenshot of the correct tribe
  • [ ] I've created a test that asserts the title of the tribe is displayed

kevkevinpal avatar Mar 30 '23 14:03 kevkevinpal