[Feature request] I made a small proof-of-concept for a "site search" feature (see video)
I maintainer di solito rispondono entro 4 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- C++
- Stelle
- 2.1k
- Fork
- 509
- Merge medio
- 3g 17h
- PR unite (30g)
- 13
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DFHack/dfhack
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
DFHack/dfhack#5853 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di DFHack/dfhack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
PX4/PX4-Autopilot#29496 ·
I maintainer di solito rispondono entro 1 giorno
-
Missing icon for .cpp2 filesAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
madskristensen/FileIcons#385 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
microsoft/SysmonCommon#26 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
espressif/esp-matter#1913 ·