beyondcode / beyondcode/polyscope-community
[Bug]: Open a local folder opens file picker for local instead of remote machine
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 20
- Forks
- 0
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
### Platform
Linux
### Operating system version
Ubuntu 24.04.3 LTS (Through WSL)
### System architecture
Windows
### PolyScope Version
0.19.0 - Polyscope Server v0.17.0 (linux/x64)
### Bug description
When trying to add a repository on a remote server (Polyscope running on Windows, Polyscope-server on Ubuntu through WSL) the `open a local folder` opens a file picker in Windows (which you cannot select the actual path on the machine). When selecting empty project and manually adding the path a error is shown:
Once that error is shown the fields (project name and folder) remains readonly/disabled and you need to restart to try again.
### Steps to reproduce
1. Run Polyscope on Windows/Mac device
2. Run Polyscope-Server on linux device
3. Try to add repository through GUI
4. Click `Open a local folder` -> local file picker is shown
5. Click empty project
6. Fill in project name and folder (git repo) -> path gets autocompleted so that is working
7. Press blue button
8. Error message is shown
9. Fields project name and path become readonly/disabled
### Relevant log output
```shell
[ws] relay client: path.suggest {"type":"path.suggest","path":"/home/bkooij/test/"}
[ws] relay client: project.create_empty {"type":"project.create_empty","name":"test","directory":"/home/bkooij/test/"}
```
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Direção de pesquisa
Comece reproduzindo o fluxo da GUI por meio de “Open a local folder” e “empty project” com o Polyscope no Windows e o Polyscope-Server no Ubuntu por meio do WSL. Rastreie as mensagens `path.suggest` e `project.create_empty` exibidas nos logs e, em seguida, verifique se as pastas remotas podem ser selecionadas e se os campos do projeto continuam utilizáveis após um erro.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- linux
- Domínio
- backend, desktop
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100