bug: manually entering project directory is laggy due to checking remote path
- Vorherrschende Sprache
- Kotlin
- Sterne
- 33
- Forks
- 18
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
When connecting to a Coder workspace, users have the option to change the project directory by entering a path in a text field.
This text field appears to periodically validate the remote path, but this can happen in the middle of typing a new path.
https://github.com/coder/jetbrains-coder/assets/4949514/8f21b45c-20a8-4880-9158-bccd149476a3
It also appears to happen sync in the application thread, with the result that input will appear to periodically 'lag' while the remote path is checked.
This should ideally be done completely in the background, and when the user stops typing inside the text field.
Beitragsleitfaden
Rechercherichtung
Beginne damit, das project-directory-Textfeld und den Code zu finden, der den remote path im JetBrains plugin validiert. Verfolge, wann die Validierung ausgelöst wird und welcher Thread sie ausführt. Als abgeschlossen gilt die Aufgabe, wenn die Validierung wartet, bis die Eingabe beendet ist, und vollständig im Hintergrund läuft, ohne die Texteingabe zu verlangsamen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- kotlin
- Bereich
- desktop
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100