Skip to content
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

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

MichaelSun48
Copy link
Member

@MichaelSun48 MichaelSun48 commented Feb 21, 2025

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

@MichaelSun48 MichaelSun48 requested a review from a team as a code owner February 21, 2025 00:24
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 21, 2025
Comment on lines +44 to +51
const StyledHeader = styled(Layout.Header)`
background-color: ${p => p.theme.background};
border: 0;
`;

const StyledHeaderContent = styled(Layout.HeaderContent)`
margin-bottom: 0;
`;
Copy link
Member Author

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') ? (
Copy link
Member

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

Copy link
Member Author

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!

Copy link
Member

@malwilley malwilley left a 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!

@MichaelSun48 MichaelSun48 merged commit 5ba1ff6 into master Feb 21, 2025
43 checks passed
@MichaelSun48 MichaelSun48 deleted the msun/leftNavViews/connectViewsToBackend branch February 21, 2025 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants