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

fix(workflow): Restyle notification overrides and project picker #58638

Merged
merged 2 commits into from
Oct 24, 2023

Conversation

scttcper
Copy link
Member

@scttcper scttcper commented Oct 23, 2023

  • Groups projects by my projects / all projects
  • Adjusts some padding and adds a border on each row
  • Adds a minimum height since the dropdown gets weird at the bottom of the page
  • Adds loading/error states

before
Screenshot 2023-10-23 at 3 10 23 PM

after - the alignment looks maybe a little funky but lets try it out
Screenshot 2023-10-23 at 3 10 32 PM

projects before
image

grouped projects after
Screenshot 2023-10-23 at 3 13 08 PM

- Groups projects by my projects / all projects
- Adds a minimum height since the dropdown gets weird at the bottom of the page
- Adds loading/error states
@scttcper scttcper requested a review from a team as a code owner October 23, 2023 19:36
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 23, 2023
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.

Nice cleanup 🎉

<LoadingError onRetry={refetch} />
</PanelBody>
)}
<StyledPanelBody>{renderOverrides()}</StyledPanelBody>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably only want to render this for isSuccess?

aria-label={t('Add override')}
/>
</ControlItem>
{isLoading && (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@scttcper scttcper merged commit 06c4266 into master Oct 24, 2023
40 checks passed
@scttcper scttcper deleted the scttcper/notifications-override-styles branch October 24, 2023 22:15
@scttcper scttcper added this to the Notification Settings 2.0 milestone Oct 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Nov 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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