Personally, I believe more smaller files are usually better than fewer huge files.
However, if there are too many files, its also difficult to navigate the source code.
In contrib/chat/browser, there are currently almost 50 ts files:
I suggest to group them by function or UI composition structure.
I can help here in debt week!