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

[Bug]: Editor glitchy when editing Docker compose #5143

Open
fubits1 opened this issue Feb 14, 2025 · 4 comments
Open

[Bug]: Editor glitchy when editing Docker compose #5143

fubits1 opened this issue Feb 14, 2025 · 4 comments
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.

Comments

@fubits1
Copy link

fubits1 commented Feb 14, 2025

Error Message and Logs

I can't tell for sure when this was introduced but I observed it today on beta.392

Problem: When editing a Docker compose file with the built-in editor, the constant polling of /livewire/update leads to constant re-renders of the editor - and auto-saves with every poll.

  • critical: if user starts typing and poll happens, the editor state seems to be auto-saved mid-keystroke (leading to incomplete entries)
    • then the first re-render will show the wrong state of the compose file
    • a subsequent re_render will show the correct state of the compose file
    • however, afterwards editing is kind of locked to the last cursor position before the auto-save
    • only a fresh reload of the page and editing the compose file before the first poll can help recover from that

other annoyances:

  • scroll state is reset
  • cursor position / focus is lost
  • often, after the re-render keyboard navigation isn't possible anymore
  • "select all" doesn't work anymore

Desired: I wan't to be able to edit the Docker compose file without interruptions or risks

Right now I would prefer to just be able to turn off the Monaco (?) editor.

Steps to Reproduce

  1. create a new Supabase deployment or open an existing Docker-compose based deployment
  2. click on "Edit Compose File"
  3. scroll down in the editor and wait a few seconds until a poll happens
  4. try to edit a line and wait for a poll to happen

Example Repository URL

No response

Coolify Version

v4.0.0-beta.392

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04.1 LTS

Additional Information

Editor glitch also mentioned here

@fubits1 fubits1 added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Feb 14, 2025
@TheBrunoCA
Copy link

To better visualize it.

Image

@magick93
Copy link

Also experiencing this.

Editing docker compose files is impossible.

@cyberbask
Copy link

Same here

@sudo-sein
Copy link

Same issue after update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization.
Projects
None yet
Development

No branches or pull requests

5 participants