IzioDev / IzioDev/use-truncate
ellipsis custom text doesn't work
Open
bug
good first issue
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
`src/hooks/use-truncate.ts` -> has a magic string `...` while it should use `preferredOptions.ellipsis`
Contributor guide
No contributing guide indexed for this repository
Research direction
Open src/hooks/use-truncate.ts and inspect where the truncation text is assembled. Confirm how preferredOptions.ellipsis is available, then replace the hard-coded ellipsis behavior so custom text is used; verify that truncation reflects the configured value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100