RocketChat / RocketChat/Rocket.Chat

[BUG] Needed save button validation in Custom Emoji

Open
#24,633 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: improvement
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Save button should be disabled when name is empty.

Steps to reproduce:
  1. Go to Custom Emoji
  2. Click on New
Expected behavior:

https://user-images.githubusercontent.com/76220055/155840966-78546664-ccc5-47ec-97ef-7b0b1a49d351.mp4

Actual behavior:

https://user-images.githubusercontent.com/76220055/155840969-24357865-016f-4e9f-b9f7-a805e0dd06c9.mp4

Server Setup Information:

Version of Rocket.Chat Server: 4.5.0-develop
Operating System: Linux ubuntu 20.04
NodeJS Version: v14.18.2
MongoDB Version: 4.4.4 / wiredTiger (oplog Enabled)

Client Setup Information

Desktop App or Browser Version: Chrome 97.0.4692.99 (Official Build) (64-bit)
Operating System: Linux Ubuntu 20.04

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 by reproducing the issue in the Custom Emoji area: open New with an empty name and observe the Save button. Trace the Custom Emoji form from that entry point; done means Save is disabled while the name is empty and the behavior matches the expected validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.