JohnnyCurran / TimeTravel

Phoenix LiveView TimeTravel Debugger
MIT License
114 stars 0 forks source link

Clear state if panel is closed or clear state button is pressed #3

Closed JohnnyCurran closed 1 year ago

JohnnyCurran commented 1 year ago

Pressing Clear should emit an event to the TimeTravel lib which clears the state in the extension.

We should also support clearing the GenServer state when 1 of 2 things happens:

  1. The "Clear Storage" button is pressed
  2. The devtools sidebar is closed