learn-co / learn-web Goto Github PK
View Code? Open in Web Editor NEW⚠️ This gem is no longer maintained & its web features are no longer available
License: MIT License
⚠️ This gem is no longer maintained & its web features are no longer available
License: MIT License
It was only being used by learn-doctor, which is now deprecated. Then endpoint is also being removed from the Learn API.
learn-web/lib/learn_web/client/environment.rb
Lines 15 to 19 in 1d6928b
learn-web/lib/learn_web/client/environment.rb
Lines 7 to 9 in 1d6928b
When viewing this lesson - https://github.com/learn-co-students/manipulating-hashes-web-071717 in chrome at learn.co, I tried learn next
and expected to fork, clone, and open the repo, since it appears in the UI to be a lab. Similarly, after manually forking and cloning the lab, learn open
opens the lab in chrome instead of the editor.
Doing a little digging led me to Learnweb::Client::Lesson
and no further - I'm not sure where the code for the learn api lives, but it seems like CurrentLesson
and NextLesson
just save their attributes from the api response, so the logic that determines what is and is not a lab lives somewhere else!
Given that I don't know where that logic is, I'm not sure how to mark lessons as lab=true
or lab=false
in the lesson repo itself; it could be that this is not an issue with the learn-web client at all, but instead with the config on the lesson, or with the learn-co api that learn-web asks for the lesson.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.