-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
107 changed files
with
2,528 additions
and
1,473 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 12 additions & 11 deletions
23
...onents/Breadcrumbs/Organizations/Group.js → ...nents/Breadcrumbs/Organizations/Group.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
import React from 'react'; | ||
import { getLinkData } from 'components/link/Organizations/Group'; | ||
|
||
import Breadcrumb from 'components/Breadcrumbs/Breadcrumb'; | ||
import { getLinkData } from 'components/link/Organizations/Group'; | ||
|
||
interface Props { | ||
groupSlug: string; | ||
organizationSlug: string; | ||
organizationId: number; | ||
loading: boolean; | ||
} | ||
|
||
const GroupBreadcrumb = ({ groupSlug, organizationSlug, organizationName, loading }) => { | ||
const linkData = getLinkData(groupSlug, organizationSlug, organizationName); | ||
const GroupBreadcrumb = ({ groupSlug, organizationSlug, organizationId, loading }: Props) => { | ||
const linkData = getLinkData(groupSlug, organizationSlug, organizationId); | ||
|
||
return ( | ||
<Breadcrumb | ||
header="Group" | ||
title={groupSlug} | ||
loading={loading} | ||
{... linkData} | ||
/> | ||
); | ||
return <Breadcrumb header="Group" title={groupSlug} loading={loading} {...linkData} />; | ||
}; | ||
|
||
export default GroupBreadcrumb; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
|
||
import Breadcrumb from 'components/Breadcrumbs/Breadcrumb'; | ||
import { getLinkData } from 'components/link/Organizations/Groups'; | ||
|
||
interface Props { | ||
organizationSlug: string; | ||
organizationId: number; | ||
} | ||
|
||
const GroupsBreadcrumb = ({ organizationSlug, organizationId }: Props) => { | ||
const linkData = getLinkData(organizationSlug, organizationId); | ||
|
||
return <Breadcrumb header="Groups" title="Groups" {...linkData} />; | ||
}; | ||
|
||
export default GroupsBreadcrumb; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
|
||
import Breadcrumb from 'components/Breadcrumbs/Breadcrumb'; | ||
import { getLinkData } from 'components/link/Organizations/Organization'; | ||
|
||
interface Props { | ||
organizationSlug: string; | ||
organizationId: number; | ||
loading: boolean; | ||
} | ||
|
||
const OrganizationBreadcrumb = ({ organizationSlug, organizationId, loading }: Props) => { | ||
const linkData = getLinkData(organizationSlug, organizationId); | ||
return <Breadcrumb header="Organization" title={organizationSlug} loading={loading} {...linkData} />; | ||
}; | ||
|
||
export default OrganizationBreadcrumb; |
21 changes: 11 additions & 10 deletions
21
...ents/Breadcrumbs/Organizations/Project.js → ...nts/Breadcrumbs/Organizations/Project.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
import React from 'react'; | ||
import { getLinkData } from 'components/link/Organizations/ProjectGroup'; | ||
|
||
import Breadcrumb from 'components/Breadcrumbs/Breadcrumb'; | ||
import { getLinkData } from 'components/link/Organizations/ProjectGroup'; | ||
|
||
interface Props { | ||
projectSlug: string; | ||
organizationSlug: string; | ||
organizationId: number; | ||
} | ||
|
||
const OrgProjectBreadcrumb = ({ projectSlug, organizationSlug, organizationName }) => { | ||
const linkData = getLinkData(projectSlug, organizationSlug, organizationName); | ||
const OrgProjectBreadcrumb = ({ projectSlug, organizationSlug, organizationId }: Props) => { | ||
const linkData = getLinkData(projectSlug, organizationSlug, organizationId); | ||
|
||
return ( | ||
<Breadcrumb | ||
header="Project" | ||
title={projectSlug} | ||
{... linkData} | ||
/> | ||
); | ||
return <Breadcrumb header="Project" title={projectSlug} {...linkData} />; | ||
}; | ||
|
||
export default OrgProjectBreadcrumb; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.