RocketChat / RocketChat/Rocket.Chat

make `API_Upper_Count_Limit` public and use it here instead of this guess

Open Beginner friendly
#42,196 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.