Wrong folder on save

Aberta
#160 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Estagnada
Stack de tecnologia
json, typescript
Domínio
desktop, tooling

Direção de pesquisa

Reproduce the reported sequence in the map editor: open and save JSON files from different directories, then check which directory the save dialog opens. Find the load and save entry points and trace how the current file path is retained. Done means saving the second file opens its directory; the issue names no specific files or tests.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

bug internal

By @keanuplayz via Discord:

On top of that, the map editor continuously forgets what file I opened.
Issue:

  1. Click load map, and load a mod's json file
  2. Edit it, save it
  3. Open another json file in another directory
  4. After clicking save, the map editor automatically opens the... previous file's directory, which requires me to manually move to the directory I'm working in now

Expected:

  1. Click load map, and load a mod's json file
  2. Edit it, save it
  3. Open another json file in another directory
  4. After clicking save, the map editor opens the directory of the file you were editing so you can immediately save to the correct location.
Linguagem predominante
TypeScript
Estrelas
59
Forks
19
Merge médio
32min
PRs com merge (30d)
2

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CCDirectLink/crosscode-map-editor

Todas as issues de CCDirectLink/crosscode-map-editor

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.