codelab icon indicating copy to clipboard operation
codelab copied to clipboard

[Prototype] JSON-ify codelab

Open kirjs opened this issue 6 years ago • 0 comments

What the issue is about

Right now all the codelab materials are just angular components. It's kinda cool, because angular templates are really powerful and flexible: image

There are couple problems:

  • It's hard to analyze them: For example how do we approach getting the number of slides in TypeScript milestones?
  • The code is UGLY!
  • We're stuck with Angular for something that does not need to be Angular, if someone wants to create a course about, let's say react, or just pure JavaScript, they would have to learn Angular
  • It's hard to create a UI for building those (Although should be doable with Angular as well)
  • it's kind of hard to setup server-side rendering

What we're trying to achieve

As a part of the prototype we're trying to migrate the first milestone (TypeScript) material to JSON, and build an angular component that would render it and insert appropriate components in appropriate places

JSON Structure

This is up to implementor, but I would recommend putting it up to discussion before investing too much time into implementation

kirjs avatar Oct 08 '19 14:10 kirjs