ruff/playground/shared/src
Micha Reiser 3dd6d0a422
[playground] Add Reset button (#17236)
## Summary

Add a *Reset* button to both Ruff's and Red Knot's playground that
resets the playground to its initial state.

Closes https://github.com/astral-sh/ruff/issues/17195

## Test Plan



https://github.com/user-attachments/assets/753cca19-155a-44b1-89ba-76744487a55d


https://github.com/user-attachments/assets/7d19f04c-70f4-4d9e-b745-0486cb1d4993
2025-04-06 17:09:56 +00:00
..
AstralButton.tsx [playground] Use cursor for clickable elements (#16833) 2025-03-18 18:06:00 +01:00
ErrorMessage.tsx [red-knot] Add settings support to playground (#16929) 2025-03-24 01:38:48 +00:00
Header.tsx [playground] Add Reset button (#17236) 2025-04-06 17:09:56 +00:00
Icons.tsx [red-knot] Add run panel (#17002) 2025-03-26 21:32:07 +00:00
RepoButton.tsx [playground] Extract shared components (#16819) 2025-03-18 08:43:47 +01:00
ResizeHandle.tsx [playground] Extract shared components (#16819) 2025-03-18 08:43:47 +01:00
ShareButton.tsx [playground] Add Reset button (#17236) 2025-04-06 17:09:56 +00:00
SideBar.tsx [playground] Use cursor for clickable elements (#16833) 2025-03-18 18:06:00 +01:00
ThemeButton.tsx [playground] Add Reset button (#17236) 2025-04-06 17:09:56 +00:00
VersionTag.tsx [playground] Extract shared components (#16819) 2025-03-18 08:43:47 +01:00
index.ts Red Knot Playground (#12681) 2025-03-18 17:17:11 +01:00
setupMonaco.tsx [red-knot] Add settings support to playground (#16929) 2025-03-24 01:38:48 +00:00
theme.ts [playground] Extract shared components (#16819) 2025-03-18 08:43:47 +01:00