Skip to content

Conversation

@canvon
Copy link

@canvon canvon commented Feb 18, 2021

This is an attempt to improve the Router GUI: Get away with cryptic block coordinates & channel indices, count up Controller numbers and use 1-based channel numbers that correspond to the Controller GUI, instead.

The head commit is only meant as a suggestion, but everything up to it seem reasonable to me.

Before:
2021-02-17_22 23 26-local_build_of_unmodified_upstream

After 8d1b9ca:
2021-02-18_05 21 10-router_1

After 9e9df43:
2021-02-18_06 53 20-router_1

Please bear with me as this is the first time I've coded for a Minecraft mod.

.., for consistency with the Controller GUI.
* Move "Num" line's channel type's textual representation
  into a tooltip on the new graphical representation.
* Move remaining contents of "Num" line from line 3/3
  to being part of line 1/3 "Ch" (channel & published name).
  There is more to come for that line.

* Split off published channel name into its own line 2/3,
  as it has frequently been a problem for me that, when the channel name
  becomes too long, the published name edit box gets moved "behind"
  the scroll bar and becomes mostly unuseable.

* Move "Pos" line down (to line 3/3) accordingly.
* Instead of dumping not-easily-digested block positions to the player,
  count local/remote Controllers up from 1. Have the block position
  still available, as tooltip on a new Controller icon before the
  new Controller short name/number.

  This could probably be much improved by using the consumer/connector/
  network numbers (and/or cable colours), but I currently don't know
  how to retrieve them. This would increase perceived interoperability
  with heads-up displays that already give such information when looking
  at the relevant block.

* As we have the position in the tooltip now, plus a replacement
  for identity checking, get rid of the "Pos" line altogether,
  so we have only 2 lines per channel, now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant