google/comprehensive-rust

Keep state of the Rust Playgrounds when navigating between slides

Open

#1,476 opened on Nov 13, 2023

View on GitHub
 (31 comments) (0 reactions) (1 assignee)Rust (32,954 stars) (2,009 forks)batch import
enhancementgood first issue

Description

Today, the embedded Playgrounds are reset when you navigate between slides. This has caused problems: if people navigate away from a slide to look something up, they've suddenly lost their work.

This is actually the reason why we don't make the exercises editable directly in the slides: too many people have lost work because of this.

We should be able to store the current state in the browser's local storage.

Contributor guide