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

Transfer list component #437

Closed

Conversation

senali-d
Copy link
Member

Notes for Reviewers

This PR fixes #387

Signed commits

  • Yes, I signed my commits.

@senali-d
Copy link
Member Author

Do we have a theme reference?

Signed-off-by: Senali <[email protected]>
@nebula-aac
Copy link
Contributor

Do we have a theme reference?

Not in this package now, the style from whatever theme we're using in Meshery Cloud and Meshery UI will be applied.

Copy link
Contributor

@nebula-aac nebula-aac left a comment

Choose a reason for hiding this comment

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

Can you fix the errors with any. I have the tsconfig.json set to check to make sure that any is not being used.

@@ -0,0 +1,73 @@
import { Button, Chip, Grid, Paper, Typography } from '@mui/material';
import { styled } from '@mui/system';
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't need to use styled from @mui/system, @mui/material also has one.

@@ -0,0 +1,246 @@
import { KuberneteIcon, LeftArrowIcon, RightArrowIcon, SMPIcon } from '@layer5/sistent-svg';
import { Tooltip, Typography } from '@mui/material';
Copy link
Contributor

Choose a reason for hiding this comment

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

Use the imports internally, instead of calling from @mui/material, This will allow us to make changes to the components itself to have it applied across all components.

TransferButton
} from './style';

export const TRANSFER_COMPONET = {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is spelled wrong.

TRANSFER_COMPONENT

@leecalcote
Copy link
Member

Right Arrow icon PR merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

[Component] Transfer Modal
5 participants