moc icon indicating copy to clipboard operation
moc copied to clipboard

Rework how the UI works

Open voltangle opened this issue 3 years ago • 0 comments

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.

voltangle avatar Aug 01 '22 21:08 voltangle