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

feat: use update count in cr summary #4482

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Conversation

kwasniew
Copy link
Contributor

@kwasniew kwasniew commented Aug 11, 2023

About the changes

Update count is used not just in sidebar but also the summary screen. I tried to extract a shared component.

Screenshot 2023-08-11 at 14 36 23 Screenshot 2023-08-11 at 14 36 28

Important files

Discussion points

@vercel
Copy link

vercel bot commented Aug 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 11, 2023 0:42am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Aug 11, 2023 0:42am

}> = ({ featuresCount, segmentsCount }) => (
<Box>
<Typography component="span" variant="body1" color="text.secondary">
Updates:{' '}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated is outside of this component in the new version

@@ -0,0 +1,39 @@
import { FC } from 'react';
import { Box, Typography } from '@mui/material';
import { ConditionallyRender } from '../common/ConditionallyRender/ConditionallyRender';
Copy link
Contributor

Choose a reason for hiding this comment

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

Can be component/

@kwasniew kwasniew merged commit 0a27b5f into main Aug 11, 2023
17 checks passed
@kwasniew kwasniew deleted the reuse-update-count-component branch August 11, 2023 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants