1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-30 21:52:08 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Brett Sun
388e10471b Use NavDropdown instead of DropdownButton in nav 2016-06-17 16:32:37 +02:00
Brett Sun
f9bacec62a Fix ESLint errors with nav bar and notifications 2016-06-17 16:32:37 +02:00
Brett Sun
8581131fc7 Fix notification links causing page refreshes 2016-06-17 16:32:37 +02:00
Brett Sun
a4216db6d9 Remove redundant '_utils' suffix in util file names 2016-06-14 17:57:57 +02:00
Brett Sun
4fd0e0d99c Fix Navbar and notification list styling 2016-06-10 10:32:42 +02:00
Brett Sun
5073b0988d Convert withCurrentUser and withWhitelabel to withContext 2016-06-08 13:53:46 +02:00
Brett Sun
b5eda1cdd2 Inject isLoggedIn through withCurrentUser
Makes checking for logged in status less error prone than always using
`currentUser.email` or `currentUser.username`.
2016-06-07 14:56:40 +02:00
Brett Sun
d1dba86b1a Convert currentUser to be passed down through context and withCurrentUser HOC
Similar to what react-router did with their router and withRouter HOC.
2016-06-07 14:56:35 +02:00
Brett Sun
d1dfdbdbec Only import what we need from react-router
Unfortunately webpack doesn’t understand jsnext:main declarations yet,
so we have to do this ourselves by using react-router’s es6 build
2016-06-06 16:07:47 +02:00
tim
7e0068bec8 Fix app crashing warnings 2016-06-06 16:07:17 +02:00
Brett Sun
8f12e12bcc Move header_notification to be in sync with its component's name 2016-03-10 13:43:07 +01:00