Skip to content

feat: add workspaces banner for impending deletion #7538

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

Merged
merged 3 commits into from
May 16, 2023

Conversation

Kira-Pilot
Copy link
Member

resolves #7365
Screenshot 2023-05-15 at 3 48 44 PM

Will add link to filter when filter exists.

@Kira-Pilot Kira-Pilot requested review from a team and BrunoQuaresma and removed request for a team May 15, 2023 21:06
await user.click(screen.getByTestId("dismiss-banner-btn"))

expect(banner).toBeEmptyDOMElement
})
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks like a rendering test - the test you want to check if something is rendered or not - do you think we should move this to the storybook? I feel this would be better to add it to jest.

Copy link
Member Author

Choose a reason for hiding this comment

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

This test is checking flow - that the banner is visible until the user clicks 'Dismiss' and then it is hidden. However, adding a storybook is a great idea so I'll do that.

clearLocal: (arg0: string) => void
}

export const useLocalStorage = (): UseLocalStorage => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

❤️

@Kira-Pilot Kira-Pilot merged commit dca77ba into main May 16, 2023
@Kira-Pilot Kira-Pilot deleted the impending-deletion-banner/kira-pilot branch May 16, 2023 14:01
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

workspace actions: add impending deletion banner to workspaces page
2 participants