[Feature request] I made a small proof-of-concept for a "site search" feature (see video)
Mantenedores costumam responder em até 3 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
The proof of concept hides other sites by toggling site.flag.HIDDEN, borrowing from reveal-hidden-sites.lua, so start by reading that script and how it restores flags. Then decide whether the search window can highlight the selected site without hiding the rest, which the issue asks the maintainers about. Done means a settled approach, and the search-and-restore behaviour working on a world map.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
The idea is simple: the world map currently has no way to search sites by name, which makes finding specific locations difficult. The script provides a searchable list of all known sites using their translated English names.
When a site is selected, it temporarily hides all other world sites by toggling their site.flag.HIDDEN state, leaving only the selected site visible (yes, I borrowed the idea from reveal-hidden-sites.lua). The normal world map then highlights it automatically, using the game's existing site rendering behavior. When the search window is closed, all original hidden states are restored.
What do you think? Perhaps there is a better way to make the selected site stand out even more, and without hiding all the other sites?
https://github.com/user-attachments/assets/789344e2-331e-49c5-a022-3660aa3ab7f3
- Linguagem predominante
- C++
- Estrelas
- 2.1k
- Forks
- 509
- Merge médio
- 2d 19h
- PRs com merge (30d)
- 25
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de DFHack/dfhack
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
DFHack/dfhack#5853 · 1 comentário ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Mantenedores costumam responder em até 3 dias
-
RemoteFortressReader: GetCreatureRaws sends CP437 (not UTF-8) strings, which breaks protobuf decodingTalvez já em andamento @dwmuller assumiu há 3 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 20/100
DFHack/dfhack#6019 · 3 comentários ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
Mantenedores costumam responder em até 3 dias
Todas as issues de DFHack/dfhack
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
foxglove/mcap#1907 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
telegramdesktop/tdesktop#31505 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
ll-builder shell completions omit existing lockfile commands and --lockedTalvez já em andamento @project-nju-learner assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
OpenAtom-Linyaps/linyaps#2291 ·
Mantenedores costumam responder em até 1 dia