moc
moc copied to clipboard
Rework how the UI works
IMO, views in SwiftUI should be done like components, so they can be easily reusable in any place, which currently is not how things work. I mean yes, there is MessageView, where you just give it a Message instance, and it renders the message, except it doesn't, it doesn't only make a message, it also adds specific padding to it so it can only be used inside of ChatView, which is definitely bad, ChatView should do that instead.
So yes, views should be rewritten drastically, to make the code more maintainable and reusable.
This task can be done in Stage 2, but can be delayed to Stage 3, just because of it's sheer size.