Incidencia #47842

Action enabler specifying if action should be confirmed

Abrir Fecha: 2023-04-12 04:26 Última actualización: 2023-04-13 12:30

Informador:
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
Hito:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

Early idea I got when entering Hut with an Settler (risking barbarians): Currently we could use action enablers to prevent Settlers from taking such action, in the name of protecting user. But we could have field in action enablers telling whether it enables action unconditionally, or only by user confirmation (and then subject to client side setup regarding such confirmations, the framework we already have mostly in place in freeciv-3.2 and later).

Likely "unconditional" enabler should took precedence over "conditional" one (if the action has already been enabled unconditionally, one cannot turn it back to conditional, just like we can't otherwise again disable something that has been enabled).

The downside is mixing usability things with the rules - should ruleset author really have power to decide when things need confirming and when not?

Ticket History (3/3 Histories)

2023-04-12 04:26 Updated by: cazfi
  • New Ticket "Action enabler specifying if action should be confirmed" created
2023-04-12 20:53 Updated by: alienvalkyrie
Comentario

Reply To cazfi

should ruleset author really have power to decide when things need confirming and when not?

If we want extra confirmation for some (but not all) actions and contexts, then I would say yes. While we'll certainly want client-side settings to control stuff as well, not having a level of ruleset-provided hints for things that are more or less likely to need confirmation sounds untenable. The alternative would be extensive client-side, ruleset-specific settings to let players individually decide which things do or don't need confirmation. Which, while certainly awesome for power users, would be absolute hell for most players to set up individually for every single ruleset. (And that's before we get into the effort and complexity required to implement the system and UI for every client variant.)

So yeah; it'd probably be reasonable to have some hints provided by the ruleset, possibly with multiple levels rather than just a simple binary conditional/unconditional; as well as client settings to override them, kinda like setting log levels.

2023-04-13 12:30 Updated by: cazfi
  • Hito Update from (Ninguno) to 3.3.0

Attachment File List

No attachments

Editar

Please login to add comment to this ticket » Entrar