-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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: add initial tenants ui #3855
feat: add initial tenants ui #3855
Conversation
NV-2611 Initial Tenants Page UI
|
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.
basically the same as in the integration list page was not sure if creating a reusable component for both or not. due to the reason that this component is small and used in 2 places, I decided to duplicate the code for now. lmkwyt.
@@ -201,7 +201,7 @@ function App() { | |||
<Route path=":channel/:stepUuid" element={<TemplateEditor />} /> | |||
</Route> | |||
<Route path={ROUTES.WORKFLOWS} element={<WorkflowListPage />} /> | |||
<Route path={ROUTES.TENANTS} element={<Tenants />} /> | |||
<Route path={ROUTES.TENANTS} element={<TenantsPage />} /> |
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.
added the page
part to make sure it is straightforward.
const navigate = useNavigate(); | ||
|
||
const onAddTenantClickCallback = useCallback(() => { | ||
// navigate(); |
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.
we will navigate hit to the side bar that Gali is working on.
return isLoading ? ( | ||
<Skeleton width={100} height={20} /> | ||
) : ( | ||
format(new Date(original.createdAt), 'dd/MM/yyyy HH:mm') |
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.
requested in the ticked by the design
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.
🤩💃🏼💙
What change does this PR introduce?
The new Tenants page will show the list of tenants.
The API endpoint to get the tenants list was created in the previous cycle.
Why was this change needed?
We need a page to manage tenants
Other information (Screenshots)
https://www.loom.com/share/6bb92713c4714538a1e853dcba0f93af