Giter Site home page Giter Site logo

Comments (2)

robbyshaver avatar robbyshaver commented on August 27, 2024

This feature already exists, but you control whether or not it's enabled. See the doc for exercise skipping here for how to turn it on / off:

https://rstudio.github.io/tutor/formats.html#exercise_skipping

from learnr.

garrettgman avatar garrettgman commented on August 27, 2024

It seems like a very bad idea to make the above ambiguity possible--but that said, the problem remains and this issue should be reopened.

If an author does not want to let their students skip exercises and also has a sub-section without an exercise, the sub-sections beyond it will remain hidden and inaccessible:

---
title: "Demo Tutorial"
output: 
  tutor::tutorial:
    progressive: true
runtime: shiny_prerendered
---

```{r setup, include=FALSE}
library(tutor)
```

## Welcome

### Visible sub-section

This sub-section is visible. But it does not have an. Notice that there is no "Next Topic" button.

### Hidden sub-section

This sub-section is hidden. You do not know that it exists.

## Second Task

Once "finished" above, you can navigate here with the TOC.

screen shot 2017-03-06 at 5 34 31 pm

If the author does allow skipping. The hidden sub-sections will be cued with a button that says "Skip" (it should say "Go On"). And this button does not reveal the section when students click on it.

---
title: "Demo Tutorial"
output: 
  tutor::tutorial:
    progressive: true
    allow_skip: true
runtime: shiny_prerendered
---

```{r setup, include=FALSE}
library(tutor)
```

## Welcome

### Visible sub-section

This sub-section is visible. But it does not have an. The skip button does not seem to work when clicked.

### Hidden sub-section

This sub-section is hidden. You do not know that it exists.

## Second Task

Once "finished" above, you can navigate here with the TOC.

screen shot 2017-03-06 at 5 35 25 pm

from learnr.

Related Issues (20)

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.