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

APP-2198-FIX: Added padding and refactored function #454

Merged
merged 7 commits into from
Dec 19, 2023
Merged

APP-2198-FIX: Added padding and refactored function #454

merged 7 commits into from
Dec 19, 2023

Conversation

Oabraham1
Copy link

@Oabraham1 Oabraham1 commented Dec 19, 2023

In this PR, I made the provideToast function easier to use and added some padding to the toast.

Screenshot

Screenshot 2023-12-19 at 14 14 48

@Oabraham1 Oabraham1 requested a review from mcous December 19, 2023 19:15
@@ -42,7 +41,6 @@ describe('toast', () => {
await act(() => {
context.toast({
message: 'This is a success toast message',
variant: ToastVariant.Success,
Copy link
Member

Choose a reason for hiding this comment

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

I think it's worth keeping this in the test, because otherwise you don't have a test that uses the explicit variant option. It will also fix your lint issue

@Oabraham1 Oabraham1 merged commit 17fee7f into viamrobotics:main Dec 19, 2023
3 checks passed
@Oabraham1 Oabraham1 deleted the APP-2198-FIX branch December 19, 2023 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants