You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please reference the document for the complete problem statement and detailed implementation plan.
Problem
Parts of our app are reliant upon a 3rd-party service called Pusher to communicate with our servers in real-time. There are a couple scenarios where the app may have an internet connection but still be unable to receive data from Pusher, for example:
You are connected to the Pusher service but not subscribed to your user channel
The Pusher service is down
In these scenarios, we currently have an inconsistent UX, where those parts of our app that are reliant upon Pusher (eg. "user is typing", comments being edited, etc.) won't work as expected, while others will. This will be confusing for users.
Solution
Implement Boolean Offline Status according to the following logic:
If you are authenticated with Expensify (have an authToken), you are considered online if and only if:
You have an internet connection (determined by NetInfo), AND
You are connected to Pusher, AND
You are subscribed to your private user Pusher channel
If you are NOT authenticated with Expensify (do not have an authToken), you are considered online if and only if:
You have an internet connection (determined by NetInfo), AND
I almost think we should close this one. It's not really a priority, right? We can always come back to this, but I don't really think it fits within WAQ and it doesn't make total sense in the N07-N10 parts of the roadmap in my opinion. @roryabraham curious for your thoughts.
Ok, cool. Thinking more on this, you're right. We still need to do this. I was also probably too wrapped up in the specific implementation of boolean offline status, and where it fits. Assigning myself as well to keep it top of mind.
Activity
JmillsExpensify commentedon May 17, 2022
Commenting so this hits my participating filter.
roryabraham commentedon May 17, 2022
Pro-tip – you can also just press
Subscribe/Unsubscribeon the side 😄roryabraham commentedon May 18, 2022
Putting this on HOLD per this slack thread
[-]Boolean Offline Status[/-][+][HOLD] Boolean Offline Status[/+]JmillsExpensify commentedon May 23, 2022
@roryabraham Yeah unfortunately that doesn't work for the "participating" filter in GitHub's native inbox. Thanks though!
JmillsExpensify commentedon May 23, 2022
More importantly though, are we still on hold?
[-][HOLD] Boolean Offline Status[/-][+]Boolean Offline Status[/+]roryabraham commentedon May 31, 2022
Got a draft PR up, just need to spend a bit more time testing it and working on the PR writeup before it will be ready for review: #9230
34 remaining items
JmillsExpensify commentedon Nov 9, 2022
I almost think we should close this one. It's not really a priority, right? We can always come back to this, but I don't really think it fits within WAQ and it doesn't make total sense in the N07-N10 parts of the roadmap in my opinion. @roryabraham curious for your thoughts.
roryabraham commentedon Nov 11, 2022
We could, but I like keeping it open as a monthly for now. I also think that implementing this will be a bit simpler once this proposal is implemented
JmillsExpensify commentedon Nov 11, 2022
Ok, cool. Thinking more on this, you're right. We still need to do this. I was also probably too wrapped up in the specific implementation of boolean offline status, and where it fits. Assigning myself as well to keep it top of mind.
[-]Boolean Offline Status[/-][+][HOLD WAQ] Boolean Offline Status[/+]JmillsExpensify commentedon Nov 22, 2022
Added the WAQ hold for clarity.
JmillsExpensify commentedon Dec 12, 2022
Still on hold for WAQ.
[-][HOLD WAQ] Boolean Offline Status[/-][+]Boolean Offline Status[/+]JmillsExpensify commentedon Jan 11, 2023
No longer on hold for WAQ, but still not a priority in my book.
roryabraham commentedon Feb 13, 2023
No update
JmillsExpensify commentedon Feb 15, 2023
Out of curiosity, I wonder if we should consider this one for the "buddy" process?
roryabraham commentedon Mar 14, 2023
Chatted with @JmillsExpensify, we're just going to close this for now