-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unread indicator and just use bold weight for report name #106
Conversation
Could we also make the text white so it stands out more? |
I like that idea Tim, but could we do |
@shawnborton should I call this style in stylesheets "unread" instead of "bold"? |
Or better |
src/page/HomePage/SidebarLink.js
Outdated
@@ -25,14 +25,12 @@ class SidebarLink extends React.Component { | |||
const linkWrapperActiveStyle = isReportActive && styles.sidebarLinkWrapperActive; | |||
const linkActiveStyle = isReportActive ? styles.sidebarLinkActive : styles.sidebarLink; | |||
const textActiveStyle = isReportActive ? styles.sidebarLinkActiveText : styles.sidebarLinkText; | |||
const textActiveUnreadStyle = this.state && this.state.isUnread ? [textActiveStyle, styles.bold] : [textActiveStyle]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps a better way to name this is styles.sidebarLinkTextUnread
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Updated |
I like it! |
@tgolen bump so we don't get conflicts |
…state Poc/split adapted state
old screenshot