RocketChat / RocketChat/Rocket.Chat
make `API_Upper_Count_Limit` public and use it here instead of this guess
Open
Beginner friendly
Nobody has claimed this yet.
todo
type: feature
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
📝 Found in apps/meteor/client/hooks/useAppSlashCommands.ts#L56
Commit: d5b085dbcab6722f6ffc0fb2bb0bd65a30d50ad2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at apps/meteor/client/hooks/useAppSlashCommands.ts around line 56 and inspect how the current guessed limit is used. Trace API_Upper_Count_Limit to its definition and determine how it can be made public, then update this hook to use it; done means the guess is removed and the hook uses the public constant.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100