GithubHelp home page GithubHelp logo

ericsson / c3-web-guide Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 348 KB

Interactive guide to Ericsson C3 Web SDK

Home Page: https://ericsson.github.io/c3-web-guide/

License: Apache License 2.0

JavaScript 98.45% CSS 0.43% Shell 1.12%

c3-web-guide's People

Contributors

gustavfridell avatar perboussard avatar stefanalund avatar superdump avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

christophavila

c3-web-guide's Issues

Make tutorial more interactive

The golang and rust-lang tutorials tend to have some initial code state, a problem statement, some additional information explaining the new thing to be used to solve the problem and then an expected success state.

At the time of writing, the tutorial is not so interactive beyond demonstration. It would be good to have some more advanced hands-on pages where one is encouraged to use the API docs and write or modify code to learn how to use the APIs, rather than just reading some descriptive text, reading the code and then running it.

Typos

Always catch on promises

I noticed that there were a number of promise chains that did not have any error case handling. I think it is good practice to always .catch() unless you have a good reason not to.

Use an array of pages in pages.json

Instead of using an object where the key is the name of the page and the value is an object with a pageNumber key, perhaps it would be better to use the implicit ordering of an array. So perhaps something like this:

[
  ...
  {
    "pageId": "example-page",              // The ID of the page that also will be used in the URL. Should be a slugged version of the title.
    "title": "Example Page",               // The title of the page
    "description": "Example description.", // The description of the page that will be shown on the home page.
    "text": "pages/example-page.md",       // The text which will be shown in the guide.
    "code": "pages/example-page.js",       // The code that will be shown in the editor beside the text.
    "readOnly": false                      // If the code in the editor should be editable and runnable or not.
  },
  ...
]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.