Hi. I really found your tutorial educational. I have a question. I understand your construction of the chat page but I have my app with a few different functional pages including a chat page for all my users to interact. Every time my users come back to view the chat page, the app does a SupaBase Query. As you can understand, each visit to the chat page for each user means that there are a lot of downloads of all the chat messages. That's a lot of unnecessary database queries for the same data. Ideally, you want to store old chat messages and only query all the new chat messages for display. Is there a way to achieve this? Thank you.
@@just_xolotl Thank you for your reply. But In my case, I am anticipating hundreds of users revisiting the chat page. Each visit, the page will rebuild itself with all the chat messages and pictures. This is impractical in real life scenarios. I am wondering if you happen to have a solution where each time a user visits the chat page, it stores the current data & every subsequent visit, the chat page just adds new chat messages only as opposed to the whole chat page from rebuild? As an example, on WhatsApp, every time I open the chat group, the messages/pictures/videos/emojis, (some are large files) don't rebuild from the backend and it only shows new unread messages. Is this something possible on FlutterFlow/SupaBase? Thank you for your time & I really appreciate it.
when I am clicking on home page listview container to chat with anyone, its going the cahtPage and sometimes its giving Unexpected null value. and sometimes its working correctly what is the problem
@@just_xolotl Hi there, thank you for your reply. I did set my message_time column type to timestamptz in Supabase. I check on Supabase docs and it said: "Every Supabase database is set to UTC timezone by default. We strongly recommend keeping it this way, even if your users are in a different location. This is because it makes it much easier to calculate differences between timezones if you adopt the mental model that "everything in my database is in UTC time." So is there no way that we can convert from UTC time zone to ITC (Indochina Time Zone)?
@@tomcuong9588 can you check your current location setting in Supabase? If you set it to your own country, then it should be recorded in your own timezone.
Great video again and I prefer to see the errors, as it give you the opportunity to teach us how to deal with them 😊
Thanks 🙏 for all the support!
I follow you every step. Why can't my chat send messages?
Hi. I really found your tutorial educational.
I have a question.
I understand your construction of the chat page but I have my app with a few different functional pages including a chat page for all my users to interact.
Every time my users come back to view the chat page, the app does a SupaBase Query. As you can understand, each visit to the chat page for each user means that there are a lot of downloads of all the chat messages. That's a lot of unnecessary database queries for the same data. Ideally, you want to store old chat messages and only query all the new chat messages for display.
Is there a way to achieve this?
Thank you.
I think this is the best and simplest way to do it
@@just_xolotl Thank you for your reply. But In my case, I am anticipating hundreds of users revisiting the chat page. Each visit, the page will rebuild itself with all the chat messages and pictures. This is impractical in real life scenarios. I am wondering if you happen to have a solution where each time a user visits the chat page, it stores the current data & every subsequent visit, the chat page just adds new chat messages only as opposed to the whole chat page from rebuild?
As an example, on WhatsApp, every time I open the chat group, the messages/pictures/videos/emojis, (some are large files) don't rebuild from the backend and it only shows new unread messages. Is this something possible on FlutterFlow/SupaBase?
Thank you for your time & I really appreciate it.
Nice one 😁
Thanks 😁
when I am clicking on home page listview container to chat with anyone, its going the cahtPage and sometimes its giving Unexpected null value. and sometimes its working correctly what is the problem
Pls dm me on instagram thanks
@@just_xolotlI have dm you but you didn’t reply 😢 that’s my id qv.00.vp
i cant see my supabase row option when setting the message container conditional
Hmm which part of the video did u get stuck at? Let me try to help!
13:30 Thank you!
👍
The time stamp for the message was given London time. Is there a way to fix this?
You could try changing your message_time column type to timestamptz in Supabase. And also check your location to in your Supabase settings.
@@just_xolotl Hi there, thank you for your reply. I did set my message_time column type to timestamptz in Supabase. I check on Supabase docs and it said: "Every Supabase database is set to UTC timezone by default. We strongly recommend keeping it this way, even if your users are in a different location.
This is because it makes it much easier to calculate differences between timezones if you adopt the mental model that "everything in my database is in UTC time." So is there no way that we can convert from UTC time zone to ITC (Indochina Time Zone)?
@@tomcuong9588 can you check your current location setting in Supabase? If you set it to your own country, then it should be recorded in your own timezone.