-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
feat(left-nav-views): Connect left nav views to backend #85608
Conversation
const StyledHeader = styled(Layout.Header)` | ||
background-color: ${p => p.theme.background}; | ||
border: 0; | ||
`; | ||
|
||
const StyledHeaderContent = styled(Layout.HeaderContent)` | ||
margin-bottom: 0; | ||
`; |
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.
It would make more sense if these were variants of the Layout components, but this is a bit of an experiment to gauge reaction. If people like it, we can make it a "canon" variant
)} | ||
{!hasLeftNavIssueViews && | ||
(organization.features.includes('issue-stream-custom-views') ? ( | ||
organization.features.includes('issue-views-page-filter') ? ( |
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.
This is starting to get a little crazy hah. Might be time to remove the issue-views-page-filter
feature flag
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.
Love me some triple nested feature flags 🤡
Yeah this has been on my backlog for a while, will get to it today!
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.
Looks so clean, I love it!
This PR adds persistence functionality to all of the view mutation actions and removes the horizontal views from the issues page (for those that have the feature flag, of course)
Also updates the header design to have the same background as the container body, as per a impromptu conversation with Rachel & Vu