narc0tiq / YARM

Yet another variant of the Resource Monitor for Factorio
https://mods.factorio.com/mod/YARM
MIT License
54 stars 42 forks source link

Site names can't be managed without the GUI (was: Site names have no maximum limits) #80

Open narc0tiq opened 6 years ago

narc0tiq commented 6 years ago

(reported via PM on Factorio forums)

It's possible to input very long site names, but not to fix them thereafter. The long name pushes the site management buttons off-screen and there is no console command to fix things, either.

Proposed solution is two-fold:

  1. enforce a maximum length (which should be fairly short -- 50 characters seems like the most I'd give it); and
  2. provide console commands to manage sites (list, rename by old name, rename by list index)

(Do we want a console command to delete sites? Maybe if it can be done with confirmation, like the UI buttons?)

narc0tiq commented 6 years ago

Note: #81 performed the first part of the solution, which mitigates the immediate problem; second part is a nice-to-have that's coming next.