element-hq / element-hq/element-web

Refactor slash commands

Open
#15,537 0 comments 0 reactions 0 assignees View on GitHub
A-Developer-Experience A-Slash-Commands Hacktoberfest Help Wanted S-Minor T-Task
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

All of the logic for slash commands is in a giant array in `SlashCommands.tsx` and it feels like it's got a bit unwieldy. Might be better for them to get a directory to themselves and each be in their own file?

There's also a comment about disabling an 'unexpected this' error which looks outdated since it doesn't disable anything.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.