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

fixing the link of learneth card in slider and adding matomo tracking #5201

Merged
merged 4 commits into from
Sep 20, 2024

Conversation

LianaHus
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Sep 17, 2024

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 32bc98b
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/66ed5c22897a520009126b6f
😎 Deploy Preview https://deploy-preview-5201--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting'])
props.plugin.verticalIcons.select('LearnEth')
_paq.push(['trackEvent', 'hometab', 'featuredSection', 'LearnEth'])
await props.plugin.call('LearnEth', 'home')
Copy link
Contributor

Choose a reason for hiding this comment

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

ok i didn't know, there's a "home" funciton in learneth.

await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting'])
props.plugin.verticalIcons.select('LearnEth')
_paq.push(['trackEvent', 'hometab', 'featuredSection', 'LearnEth'])
await props.plugin.call('LearnEth', 'home')
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think home is a method for learneth. Clicking on button shows this error in browser console.

engine.ts:132 Uncaught (in promise) Error: Cannot call method "home" of "LearnEth" from "home", because "home" is not exposed. Here is the list of exposed methods: "startTutorial","addRepository","canDeactivate"
    at RemixEngine.<anonymous> (engine.ts:132:13)
    at Generator.next (<anonymous>)
    at fulfilled (tslib.es6.js:73:43)

onClick={async () => {
await props.plugin.appManager.activatePlugin(['LearnEth', 'solidityUnitTesting'])
props.plugin.verticalIcons.select('LearnEth')
await props.plugin.call('LearnEth', 'home')
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@yann300 @Aniket-Engg i omved it from here

@Aniket-Engg Aniket-Engg merged commit 3c903e5 into master Sep 20, 2024
32 checks passed
@Aniket-Engg Aniket-Engg deleted the htui branch September 20, 2024 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants