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.

[Consumer UI Refresh] Refactor Avatar component and relocate it from Sidebar bottom

See original GitHub issue

If you haven’t already, check out our contributing guidelines for onboarding!


This is refactoring / feature improvement task and not a bug fix. All directions should be followed as written.

  • The avatar + indicator here should be refactored into a component called AvatarWithIndicator.

  • It should take a prop of isActive and the styles should be moved from here into the new component.

  • Only pass the network && network.isOffline value via the isActive prop

  • Once we have done this the AvatarWithIndicator should be moved out of the SidebarBottom and relocated to the area here: Screen Shot 2021-01-11 at 9 59 53 AM

  • We must create a new View (flex-direction row, justify-content space-between) with the word Chats to the left and the AvatarWithIndicator to the right

  • Here is a mockup of what it should look like: Screen Shot 2021-01-11 at 9 57 31 AM

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
marcaaroncommented, Jan 14, 2021

@parasharrajat feel free to create any issues for bugs you may find or suggestions you have for us. Testing cross-browser is a great idea as we’ve seen some unexpected styling in Firefox and Safari before.

1reaction
marcaaroncommented, Jan 12, 2021

What will happen to the old Search bar and Icon?

Awesome! Thanks for the question. The Search bar and icon will remain for now, but will be relocated in another issue to be posted soon. So the header and avatar will just sit below the search bar for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Consumer UI Refresh] Refactor Avatar component ... - GitHub
This is refactoring / feature improvement task and not a bug fix. All directions should be followed as written. The avatar + indicator...
Read more >
Handle Changes in Exposed Functionality
In this case, the consumer module needs to refresh its producer dependencies in Service Studio, handle the changes in the logic if necessary ......
Read more >
React Avatar component - Material UI - MUI
Avatars are found throughout material design with uses in everything from tables to dialog menus.
Read more >
Flex UI Release Notes for v1.x.x - Twilio
View the changelog for Twilio Flex v1 including new features, fixes, and updates.
Read more >
New features in Android Studio Preview
0-alpha07) will cause a Sync failure, which results in a prompt to update to the corresponding version of AGP. For a detailed log...
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