Menu

#169 Listen for message events in the background

closed
nobody
2025-11-18
2025-11-03
Anonymous
No

Originally created by: supreme-gg-gg
Originally owned by: supreme-gg-gg

Is your feature request related to a problem? Please describe.
Currently on the thread lists page you cannot see when new messages arrive because all threads are fetched at thread list initial load and only updated when you open any of the threads by API + realtime combination.

Describe the solution you'd like
The realtime client is active all the time, it makes sense to listen to the message arrival etc events anytime the chat view is active. This is not done right now because we check message.threadId == chatState.currentThread?.id (or similar) which the latter will be none if not in a specific thread. We should instead consider handling these events regardless of current thread ID by listening to changes to other thread messages as well, in order to dynamically update the thread list page whenever the user stays / returns to it. Essentially, we want the realtime client to be active in the background handling events from other threads.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context

Related

Tickets: #178

Discussion

  • Anonymous

    Anonymous - 2025-11-17
     
  • Anonymous

    Anonymous - 2025-11-18

    Ticket changed by: endernoke

    • status: open --> closed
     

Log in to post a comment.

Monday.com Logo