Skip to content

Phoenix freezes when quick edit is used in very large projects #2275

Open
@devvaannsh

Description

@devvaannsh

Describe the bug

In very large projects with lots of stylesheets (Phoenix repo itself), when I try to use quick edit option for some HTML element then Phoenix freezes for a couple of seconds until the quick edit operation is in progress.

Reproduction

  1. Clone Phoenix repo.
  2. Open up any HTML file.
  3. select any ID or Class of any element and press 'Ctrl + E'.
  4. Notice that phoenix freezes for 5-6 seconds until the quick edit operation is in progress.

Expected behavior

I understand why it freezes as it scans through a lot of files in that time but we can maybe show a loading icon or some kind of icon indicating that quick edit operation is in progress.

OS, Browser and Phoenix versions

Tested on windows 11

logs or debug stack trace if any

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions