Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trash can in profiler does not work as expected #55

Open
bershanskiy opened this issue Jun 16, 2021 · 0 comments
Open

Trash can in profiler does not work as expected #55

bershanskiy opened this issue Jun 16, 2021 · 0 comments

Comments

@bershanskiy
Copy link
Contributor

Describe the bug
Trash can only hides log entries, but they reappear once you log one more event.

To Reproduce
Steps to reproduce the behavior:

  1. Download svelte template npx degit sveltejs/template svelte-app
  2. Go to directory: cd svelte-app
  3. Install deps: npm i
  4. Add interctivity to this demo: open svelte-app/src/App.svelte and in <script> tag add let count = 0; const add = () => count += 1; then in <main> tag add <p on:click={add}>Count {count}</p>
  5. Start server with npn run dev and go to wherever that starts
  6. Open Svelte DevTools, restart page, go to profiler
  7. Click on "count" a few times to create a bunch of events
  8. Click on "trash can" and see that all events disappeared (expected)
  9. Click on "count" once more and see that all deleted measurements come back (unexpected)

Expected behavior
I expect trash can to delete all measurements, not hide them temporarily

Environment

  • Browser with version Chrome 91
  • Devtools version DevTools 1.3.0 and current master
  • Svelte version 3.0.0

Additional context
I'm just documening everything that looks like a bug before refactoring for #44.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant