google/comprehensive-rust

Keep state of the Rust Playgrounds when navigating between slides

Open

#1.476 geöffnet am 13. Nov. 2023

Auf GitHub ansehen
 (31 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Rust (2.009 Forks)batch import
enhancementgood first issue

Repository-Metriken

Stars
 (32.954 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 9T 23h) (36 gemergte PRs in 30 T)

Beschreibung

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