sveltejs / sites

Monorepo for the sites in the Svelte ecosystem
https://svelte.dev
MIT License
286 stars 123 forks source link

Svelte REPL component name crash #531

Open Link-the-elf opened 10 months ago

Link-the-elf commented 10 months ago

Describe the bug

If the name of the component is too long, then the component panel breaks and the page crashes. Maybe you should limit the length of the file name?

Reproduction

Video proof: https://www.youtube.com/watch?v=YTK4KbqOjM0&ab_channel=FedorBasmanof

Logs

No response

System Info

System:
    OS: macOS 13.2.1
    CPU: (8) x64 Apple M1
    Memory: 26.98 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 20.3.1 - /usr/local/bin/node
    npm: 9.6.7 - /usr/local/bin/npm
  Browsers:
    Chrome: 115.0.5790.170
    Safari: 16.3

Severity

annoyance