-
Notifications
You must be signed in to change notification settings - Fork 587
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
Fix liquid template copy component 1337 #1348
Fix liquid template copy component 1337 #1348
Conversation
✅ Deploy Preview for mesheryio-preview ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
hey @JayKay24 , Let's discuss it on the websites call. |
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.
@JayKay24, thanks much, please take a look into the footer.html
to make sure there's no overlapping script.
@thisiskaransgit Thanks for your review. The code in footer.html only has the javascript function( |
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.
We are good to then, thanks @JayKay24 👍🏼
I've updated the branch to keep it mergable but will need a re-review @thisiskaransgit |
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.
@JayKay24, use of CDN, we need to replace it with a locally available file, otherwise the payload will not be improved. You can reference the implementation in docs.meshery.io if required. I overlooked it initially but we need this update
Signed-off-by: James Kinyua <[email protected]>
Signed-off-by: James Kinyua <[email protected]>
6009168
to
92ca9f6
Compare
@thisiskaransgit does that mean that I integrate |
@JayKay24 declare the javascript logic in the code. the desired behavior should be that the class element can use the locally hosted code and not third-party module, which will a) reduce load b) filter the unused code that comes along c) opt out of depending on other services. This is what I intend to update for other sections too actually. take a look at here for reference: https://github.com/meshery/meshery/blob/master/docs/assets/js/main.js |
@JayKay24, does this helps? |
@Chadha93 i haven't had a chance to dive deep into the solution but from what I can tell is that I will wrap the clipboard logic inside an IIFE. Will look to address this tomorrow. I'll post any questions I have in this thread. |
@thisiskaransgit The example you gave me also references the I don't understand what you mean when you say the payload will be improved. Which payload is this? Do you mean that what we want is to avoid the extra HTTP request of downloading the |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. However, you may choose to reopen this issue. |
Signed-off-by: Vivek Vishal <[email protected]>
Signed-off-by: Vivek Vishal <[email protected]>
Instead of assigning values to variables, here I'm directly passing them to parameters in `include` tag Signed-off-by: Vivek Vishal <[email protected]>
Signed-off-by: Vivek Vishal <[email protected]>
Signed-off-by: Vivek Vishal <[email protected]>
Signed-off-by: Vivek Vishal <[email protected]>
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.
Looks good to me.
Thanks @JayKay24 🚀
Thanks for your contribution to the Layer5 and Meshery community! 🎉
|
Description
This PR fixes #1337
Notes for Reviewers
Signed commits