element-hq / element-hq/element-web

Refactor slash commands

Aperta
#15,537 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
A-Developer-Experience A-Slash-Commands Hacktoberfest Help Wanted S-Minor T-Task
Lingua principale
TypeScript
Stelle
13.5k
Fork
2.8k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.