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

Added a dropdown to MeshModelComponent to display Component Details #7632

Conversation

UsmanDev09
Copy link
Contributor

@UsmanDev09 UsmanDev09 commented Apr 29, 2023

Notes for Reviewers

This PR fixes #7620

How should this be tested?

meshmodel dropdown

Signed commits

  • Yes, I signed my commits.

@welcome
Copy link

welcome bot commented Apr 29, 2023

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, you can find updates in the #github-notifications channel in the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.

@github-actions github-actions bot added the component/ui User Interface label Apr 29, 2023
@leecalcote
Copy link
Member

It’s nice to see movement on this, @UsmanDev09.

These folks might have some feedback: @MdSahil-oss @theBeginner86 @Abhishek-kumar09 @meshery/maintainers

@leecalcote leecalcote requested review from acald-creator and a team and removed request for acald-creator April 30, 2023 00:28
@leecalcote leecalcote added the area/models Models, Components, Relationships related changes label Apr 30, 2023
Copy link
Member

@theBeginner86 theBeginner86 left a comment

Choose a reason for hiding this comment

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

hmm, relationships also seems to be getting these dropdown. Would you please look into it?

Screenshot 2023-05-01 at 8 01 33 PM

Copy link
Member

@theBeginner86 theBeginner86 left a comment

Choose a reason for hiding this comment

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

At a given instant only one dropdown is clickable. Is that intended?

Users might get confused, if the carrot dropdown isn't disabled. Considering, this is intended.

Screen.Recording.2023-05-01.at.7.57.31.PM.mov

@theBeginner86
Copy link
Member

theBeginner86 commented May 1, 2023

hmm, relationships also seems to be getting these dropdown. Would you please look into it?
Screenshot 2023-05-01 at 8 01 33 PM

Fixing above should also fix below issue of multiple request to backend on opening dropdown for relationships.
Screenshot 2023-05-01 at 8 05 05 PM

@harkiratsm
Copy link
Member

It would be nice if a page would be dedicated just to meshmodel details, with an admin only access. // @leecalcote @Abhishek-kumar09

Copy link
Member

@theBeginner86 theBeginner86 left a comment

Choose a reason for hiding this comment

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

Good stuff @UsmanDev09 🙌 💯

This update was very much needed.

theBeginner86
theBeginner86 previously approved these changes May 1, 2023
Copy link
Member

@theBeginner86 theBeginner86 left a comment

Choose a reason for hiding this comment

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

LGTM

@theBeginner86
Copy link
Member

@UsmanDev09

If you may please consider signing-off your last few commits?
https://github.com/meshery/meshery/pull/7632/checks?check_run_id=13150194854

Copy link
Contributor

@MUzairS15 MUzairS15 left a comment

Choose a reason for hiding this comment

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

@UsmanDev09 Thanks for creating PR, really some good work here 👏🏻.

Just a small item
Screenshot 2023-05-01 at 10 17 42 PM

The size of Meshery logo and text is not proper, will you also address this and make sure the size is in accordance?

Signed-off-by: Muhammad Usman <31584129+UsmanDev09@users.noreply.github.com>
UsmanDev09 and others added 22 commits May 2, 2023 12:32
Description:
Imported Table Row from Material UI Library and API Endpoint
Added a state variable 'componentDetails'
Added a function to call API endpoint
Added RowExpandable function to 'mui/datatables' library to handle click on cell and display component details in a dropdown'

Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Discussions bot <discussions@meshery.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: l5io <ci@layer5.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Aisuko <urakiny@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Ashish Tiwari <ashishjaitiwari15112000@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: l5io <ci@layer5.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Discussions bot <discussions@meshery.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: l5io <ci@layer5.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Shivam Ganwani <shivam.ganwani.v@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Discussions bot <discussions@meshery.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: l5io <ci@layer5.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Aisuko <urakiny@gmail.com>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: Discussions bot <discussions@meshery.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
Signed-off-by: l5io <ci@layer5.io>
Signed-off-by: UsmanDev09 <usiddique09@gmail.com>
@leecalcote
Copy link
Member

@UsmanDev09 will you resync your fork with upstream master?

@l5io
Copy link
Collaborator

l5io commented May 2, 2023

@MdSahil-oss
Copy link
Contributor

@UsmanDev09 Great work, Looks good to me, But can we highlight border of the opened table for some seconds? like happens in stack overflow (It would be better if we could do this).

@leecalcote
Copy link
Member

@UsmanDev09 is this PR still valid given #7672 ?

@UsmanDev09
Copy link
Contributor Author

@leecalcote No, I am closing this PR

@UsmanDev09 UsmanDev09 closed this May 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Documentation update needed area/models Models, Components, Relationships related changes component/ui User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[UI] Create a dropdown to show mesh model summary