-
Notifications
You must be signed in to change notification settings - Fork 14
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
Implement Manage Groupings #102
Conversation
In path for /groupings/[selectedGrouping], let's rename [selectedGrouping] to [groupingPath] so that it is more clear. |
Could you add the rest of the routes (basis, include, exclude, owners, sync-destinations, preferences)? Thanks. |
Add this to
This will map |
ui/src/app/groupings/[selectedGrouping]/_components/grouping-header.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/groupings/[selectedGrouping]/_components/grouping-header.tsx
Outdated
Show resolved
Hide resolved
ui/src/app/groupings/[selectedGrouping]/_components/return-buttons.tsx
Outdated
Show resolved
Hide resolved
f2ef599
to
44bcb74
Compare
@@ -0,0 +1,27 @@ | |||
import React from 'react'; |
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 can be removed.
@@ -0,0 +1,19 @@ | |||
import React from 'react'; |
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 can be removed.
import { render, screen } from '@testing-library/react'; | ||
import SideNav from '@/app/groupings/[groupingPath]/_components/side-nav'; | ||
import { usePathname } from 'next/navigation'; | ||
import '@testing-library/jest-dom'; |
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.
import '@testing-library/jest-dom'
should not be needed.
@@ -0,0 +1,78 @@ | |||
import {render, screen } from '@testing-library/react'; | |||
import '@testing-library/jest-dom'; |
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.
import '@testing-library/jest-dom'
should not be needed. Also run Prettier formatter in here.
44bcb74
to
3024a2b
Compare
groupPath: 'Test-path:Test-name', | ||
groupDescription: 'Test Description' | ||
}, | ||
{} |
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 empty object might have been left here on accident.
Ticket Link
1728
List of squashed commits
Test Checklist