-
Notifications
You must be signed in to change notification settings - Fork 722
Add import instructions section to model catalog pages with link #2394
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
base: master
Are you sure you want to change the base?
Add import instructions section to model catalog pages with link #2394
Conversation
✅ Deploy Preview for mesheryio-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Summary of ChangesHello @phoenixcodeforces-blip, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a significant enhancement to the model catalog pages by adding a new 'How to Import This Model' section. This addition aims to improve user experience by providing clear guidance and a direct link to the relevant documentation for importing models, making it easier for users to utilize the models within their Meshery instances. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
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.
Code Review
This pull request introduces a helpful 'How to Import This Model' section on model catalog pages, guiding users to the relevant documentation. The implementation is clean, adding new HTML and scoped CSS within the page template. The code changes are well-described and also include some nice code formatting cleanups. I have a couple of suggestions to improve maintainability by using CSS variables for colors and centralizing the documentation URL, but overall this is a great enhancement.
|
Hi @fitzergerald, I have completed the implementation, resolved bot review, and passed the workflow, |
|
Thank you for your contribution! |
|
Hi @Rajesh-Nagarajan-11 |
|
Sure |
|
Hi @Namanv0509 @Rajesh-Nagarajan-11 thank you. |
|
Thank you for your contribution! |
|
Please make it dark / light mode compatible , in dark mode that card is white |
Signed-off-by: AresPhoenix345 <[email protected]>
705c803 to
526636f
Compare
… instructions Signed-off-by: AresPhoenix345 <[email protected]>
|
@Rajesh-Nagarajan-11 |

Description
This PR fixes #2388
This enhancement adds import instructions and a link to the documentation on all model pages in the catalog. Users viewing individual model pages will now see a "How to Import This Model" section that guides them to the [importing models documentation](https://docs.meshery.io/guides/configuration-management/importing-models).
Changes made:
.import-instructionsclass) with Meshery brand color (#00b39f) for visual consistencyScreenshots:
Before:

After:
Notes for Reviewers
The import instructions section has been strategically placed between the model metadata and the download/quick start buttons to create an intuitive user experience:
The styling uses Meshery's existing brand color (#00b39f) for the left border accent and follows established design patterns from the rest of the site. The section features:
The implementation is non-intrusive and enhances user guidance without disrupting the existing layout or breaking any current functionality.
[Signed commits](https://docs.meshery.io/project/contributing#signing-off-on-commits-developer-certificate-of-origin)