Skip to content

Show program and output in text #91

@alexmojaki

Description

@alexmojaki

As you go through the course and run programs, you can see the results in the shell. That's fine at the time, but once you move on, the output gets replaced by the output of a different program. If you want to look back, either in the current page to the stuff you just saw or to review material in previous pages, you can't actually see what happened when you ran each program. It just shows this:

screencapture-localhost-3000-course-2020-10-21-15_38_20

Implementing #84 would help with this problem, making it easy to rerun past snippets. But that's still unnecessary effort, and could be especially annoying if you're currently trying to write a solution to an exercise. You could open another tab, but this isn't great and people may not think of it. Reviewing past material should be quick and easy, like reading a book. Users shouldn't have to repeat the work they've already done of running the code, they should be able to quickly skim through and find what they're looking for. Plus it means less load on the servers for us.

So what I'd like is for the output to be copied into the text as each step is completed. If the program wasn't already included in the text, that gets shown too. This also means that students can review their solutions to exercises. The example above would then roughly look something like this:

screencapture-localhost-3000-course-2020-10-21-15_49_15

I don't have any actual evidence that this is a serious problem, but I imagine the above would be a much nicer experience for a student reviewing the course than the first (current) screenshot.

Thoughts? Ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionLooking for ideas and opinions

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions