web: Add StatusMessageItem to NavBar
Created by: mrnugget
This is the second part of the implementation of #4120, the UI, as described in https://github.com/sourcegraph/sourcegraph/issues/4120#issuecomment-499911568. (It's a stacked PR that depends on #4440 being merged first)
This adds the StatusMessagesNavItem
to the global NavBar
. Read through #4120 to get a general idea of the feature and what this MVP entails.
Here is what it looks like when nothing is currently being cloned/updated:
Here is what it currently looks like when repositories are being cloned (or updated/fetched!) in the background:
What I'm still unsure about:
- Maybe it makes sense to add a header to the
DropdownMenu
? The goal for this item is to be expanded in the future and a header is a chance to give more context, like this maybe?
Reviewers: I'm totally new to the web
codebase and its conventions, so, fire away :)
Test plan: jest tests