-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add guest filter and table update (#271)
Signed-off-by: laixingyou <[email protected]>
- Loading branch information
1 parent
9d8400d
commit be0f7f6
Showing
22 changed files
with
279 additions
and
412 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
31 changes: 31 additions & 0 deletions
31
apps/web/src/modules/analyze/DataView/MetricDetail/MetricContributor/ContributionCount.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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React, { useRef, useMemo } from 'react'; | ||
import ContributorContribution from './ContributorContribution'; | ||
import ContributorOrganizations from './ContributorOrganizations'; | ||
|
||
const ContributionCount: React.FC<{ | ||
label: string; | ||
level: string; | ||
beginDate: Date; | ||
endDate: Date; | ||
mileage: string[]; | ||
}> = ({ label, level, beginDate, endDate, mileage }) => { | ||
return ( | ||
<div className="flex lg:flex-col"> | ||
<ContributorContribution | ||
label={label} | ||
level={level} | ||
beginDate={beginDate} | ||
endDate={endDate} | ||
mileage={mileage} | ||
/> | ||
<ContributorOrganizations | ||
label={label} | ||
level={level} | ||
beginDate={beginDate} | ||
endDate={endDate} | ||
mileage={mileage} | ||
/> | ||
</div> | ||
); | ||
}; | ||
export default ContributionCount; |
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
Oops, something went wrong.
be0f7f6
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.
Successfully deployed to the following URLs:
storybook – ./
compass-web-2l68.vercel.app
storybook-compass-team.vercel.app
storybook-git-main-compass-team.vercel.app
be0f7f6
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.
Successfully deployed to the following URLs:
compass-web – ./
compass-web-compass-team.vercel.app
compass-web-git-main-compass-team.vercel.app
compass-web-preview.vercel.app