neilalexander / seaglass

A truly native Matrix client for macOS - written in Swift/Cocoa, with E2E encryption support
Other
529 stars 34 forks source link

Chat list more like iMessage #101

Closed kethinov closed 5 years ago

kethinov commented 6 years ago

Working on making the chat list look more like iMessage:

proxy duckduckgo com

I'm new to Swift and I couldn't figure out how to get the last message from the chat or how to fade the text color to make it light gray though. This is as far as I got.

Closes #44

kethinov commented 5 years ago

Made some improvements:

Still to do:

kethinov commented 5 years ago

Okay this is fully working now. The old layout code is in there and technically still works, but it would have to be activated by some sort of preferences system built in the future.

aaronraimist commented 5 years ago

Ah I see, this is designed to fix #44. Awesome!

Just for reference here is before: screen shot 2018-11-29 at 6 56 59 pm

and after: screen shot 2018-11-29 at 6 57 44 pm

aaronraimist commented 5 years ago

Also several rooms show up as "No preview text" because the last event in the room is not a message. It could be a join event or a change name event or something. You'll probably need some way to go back several events until you find the last message, I assume Riot iOS has some method for this that you could probably borrow.


Edit: Actually no I guess iOS just shows the other types of events