and here’s the code from the color chat app that sends a message (note: I added the code object and set it to 123456 (I’ll change this things working)) I’m trying to get the app to display only the messages with the code 123456
The original object structure does not have a property with the name code and therefore your filter condition will always be false and the list will have no entries,
From the conditions in the code this addition is for new chats and not for existing ones. So for any existing chat the code property will not be available.
It also seems strange to me that you are adding the found list item, j, to the end of the same list you are searching (cloud variable general). That would duplicate the existing chat message. Is that what you mean to be doing? Normally, I’d use a separate list for that so that you store the “found” results in an empty list and use that list to load when the scene opens.
I can see the entered and stored messages (when the screen loads) after I fixed the loop count block that I mentioned above.
But the sames things happening where the message just disappear when I input it? I think I made it work once because I can see a message with the string “sssss” but i’ve been unsuccessful in making it work.
If you’d be willing to take a closer look here’s the remix link: Thunkable
I’ve run into another problem. When i preview my app as a web app it freezes and can’t see if my code is executing correctly.
I got to work with the help of @muneer and @tatiang (thanks for the help!)
before i tried to filter the list of messages in the could variable “general”
After I started to filter the cloud variable general the windows began to freeze when i preview it as web app.
now when i go back to both they both freeze.
I’m going to try and preview it on my phone but was wondering if anyone would be able to test out one of two links below to see if they can see the program without it freezing.
Thank you muneer. I think i’ll discard (not delete, just move on) from this post as I can’t figure out how to do this and I also realize this will probably cost me more work in the end. I’m trying to integrate a “chat” feature in my app that doesn’t require a phone number.
here’s the chat app I was trying to show only specific list items in the “general” cloud variable, I couldn’t figure what i was doing wrong because the screen kept on freezing: Thunkable
then (where i’m running into my problem) when i try to clone the messages it clones the styled message for each of the messages found in the first snippet
but when it doesn’t show the messages and i’m unsure why?