Implemented: name commands on confirmation page.

Discussion in 'Old Ideas' started by cheesasaurus, Mar 17, 2010.

  1. cheesasaurus

    cheesasaurus Developer

    Joined:
    Mar 17, 2010
    Messages:
    16
    Likes Received:
    1
    currently, to rename a command, you must first confirm it, and then go hunt through all your other commands to rename it. This isn't quite as bad since the introduction of renaming on commands overview, but I still think there is room for an improvement.

    My suggestion is to add the option to name a command on the confirmation screen (premium accounts only). The interface would be the same as the one used to rename while viewing an individual command.

    normally, the confimation screen looks like this:
    [​IMG]

    my suggestion is to add a rename feature, similar to the one available for existing commands:
    [​IMG]

    when the user clicks the little picture, a text field will appear:
    [​IMG]

    if the user types, "scouting", in the field and clicks the ok button, the new name will appear in the spot that formerly read, "Command":

    when the user confirms the command, it will be renamed.
    [​IMG]

    Positive impact
    + Users spend less time hunting around to rename their own commands. The main appeal of premium is the amount of time it saves users from spending on mundane management tasks.
    + Less page requests means less server load and less bandwidth used.

    Negative impact
    - There will be slightly more for the server to do everytime a command is submitted, so processing time for commands would be longer. Though I doubt it'd be anything significant.
    - Less page requests might mean less income from advertisements... I'm not sure how this works.


    Implementing the change
    If my understanding is correct, the rename function used on other pages renames existing commands.
    Since the command doesn't exist yet, a different method would have to be used.

    currently the form for confirming commands has the following inputs:
    attack
    x
    y
    action_id
    spear
    sword
    axe
    archer
    spy
    light
    marcher
    heavy
    ram
    catapult
    knight
    snob

    One more input, "comment", could be included, so another line could be added to the form:
    PHP:
    <input type="hidden" name="comment" value="">
    when the player clicks "ok" in the renamer, comment's value would be set to what was typed in the textbox, instead of posting a json request.

    After the player confirms everything, in addition to the normal process, the server would also set the command's user-specified name at this time.
     
  2. RainbOwgasm

    RainbOwgasm Member

    Joined:
    Mar 17, 2010
    Messages:
    117
    Likes Received:
    0
    This would be great if it was introduced in V6.1.

    Has many uses and kind of makes sense in a way.

    I would also request that you could Pre-emptively select the folder in which the report arrives in as well.