question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No client is set as leader to perform tasks.

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Users will not be able to see notifications and sync messages back to server.

Expected Result:

There should always be a leader client.

Actual Result:

No notifications are received as a consequence and there is no leader to do background sync.

Action Performed:

  1. Open the Expensify.cash app on the browser.
  2. Now open another tab with Expensify.cash app.
  3. focus over the new tab, then focus back on the old tab.
  4. Now without going to the new tab just close it from the top bar.

Screenshot 2021-05-06 11:42:26

  1. Now the last client should be a leader but it is not. (Console log ActiveClientManager.isClientLeader() to confirm).
  2. we can also test via notifications, there are no new notifications for the incoming messages.

Workaround:

The user has to refresh the tab to fix it.

Platform:

Where is this issue occurring?

  • Web iOS Android Desktop App
  • Mobile Web

Version Number: v1.0.38-0 Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation Expensify/Expensify Issue URL:

View all open jobs on Upwork

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
mallenexpensifycommented, May 17, 2021

Hired @parasharrajat and assigned 🎉 @roryabraham will be reviewing your PR.

1reaction
mallenexpensifycommented, May 14, 2021

Posted private to Upwork and invited you @parasharrajat Let us know when you accept https://www.upwork.com/jobs/~01e376d239418712f1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task-Oriented Leadership: Definition and Examples - Indeed
Task-oriented leaders delegate assignments, set clear processes and issue deadlines to ensure all team members remain focused and deliver their ...
Read more >
Managers Must Delegate Effectively to Develop Employees
Effective managers know what responsibilities to delegate in order to accomplish the mission and goals of the organization.
Read more >
Leadership and teamwork: 10 ways leaders can help their teams
An analytical leader can take stock of a situation, consider possible paths and likely outcomes, and chart the course most likely to succeed....
Read more >
9 Leadership Types and Their Strengths - Business News Daily
Servant leadership : Servant leaders share power and decision-making with their subordinates and often direct the organization based on the team's interests.
Read more >
4 Behaviors That Help Leaders Manage a Crisis
Employees thrust into leadership during a crisis need to be coached in four behaviors to be most effective in their roles.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found