I currently have my comments in āchatā style and sorted by date/time posted, with the oldest messages at the top and the newest messages at the bottom of the page.
When the chats get lengthy, like 30 or 40 messages, the app defaults to the top of the chat page, which means users have to scroll all the way down to the bottom to see the newest messages. You can close the chat, wait a few seconds and then reopen the app, and usually it will open to show the bottom of the page and the newest messages.
This is an annoying issue, and creates a barrier to users when engaging in chats. I could change the sort to flip the newest messages to the top, but almost every other chat app out there does the newest at the bottom, which is what users are accustomed to seeing.
Is there something I could do in order to have the chats open to the bottom of the screen?
I think this is a valid concern. I donāt want to sort by newest at all, and wonder how others deal with this. As far as Iām aware, thereās no native fix for that.
Yes it is a big UX problem with this component. If you use the chat component alone to make it work, you cannot even put a breadcrumbs (so no way to go back to the previous page). I hope Glide will improve this component.
Sharing in case of interestā¦ I follow Bobās tip and add buttons above the Chat component. They open a new screen with just the chat component, which helps with the formatting issuesā¦
Iām not sure I understand the tip. When a user clicks a particular chat group, it opens a new screen, and on the new screen the only component I have is the Comments component shown in the Chat format. The Chat is arranged with the oldest comments at the top, and the newest comments at the bottom like a traditional chat app would display. With this arrangement, the very first time the app is opened and a chat is clicked, the new screen shows the top of the screen, which in my case is the very first comment ever created. Ideally it would automatically drop down the the newest comment
Amazing walkthrough, got a chat and some comment components set up super easily.
Two things Iād like to do but canāt figure out:
Tapping on a profile of someone who added a message to view that userās profile ā this seems like it should be doable? The dataās all thereā¦
Specifically mentioning someone (@usernamewhatever this is a message to them) or reacting to a message (like/love/etc) ā from what I can tell this is not possible?
The āimageā itself isnāt clickable. You would have to create a button for that, but the action is so hideous on mobile I wouldnāt suggest you doing that (you have to right click or long press, if I recall right, for the dropdown of actions to show).
Ahh, itās a long press or right click when you add an action, I see. Yeah, itās not the cleanest, but itās better than nothing (and you have to press so long that I donāt imagine people accidentally doing it). Will take a look at mentioning/tagging, thanks!
Love your tutorialsā¦
Wondering if it is possible to add an image at the same time as text.
Or is it only possible to send text and then add an image?
You might be able to add a url to an image and then have AI try to decipher if the link is an image link and if so output the HTML necessary. Besides that, there isnāt a built in mechanic to upload a photo at the same time.