TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    Find province command

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    47 Posts 9 Posters 23.5k Views 9 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C Offline
      Cernel Moderators @ssoloff
      last edited by

      @ssoloff said in Find province command:

      Are there examples of such characters in maps today?

      Don't think so. Actually, "Battle for Arda" is the only map I can think of with any special characters at all.

      ssoloffS 1 Reply Last reply Reply Quote 0
      • ssoloffS Offline
        ssoloff Admin @Cernel
        last edited by

        @cernel Then I'd suggest we just focus on accented characters for now and deal with other issues, such as ligatures, if and when they arise. It will keep the code simpler. 😄

        1 Reply Last reply Reply Quote 0
        • FrostionF Offline
          Frostion Admin
          last edited by Frostion

          Before adding support for strange and very rarely used characters, maybe we should think about if players/people are actually able to chat-type the characters, know what they mean or even pronounce them. Maybe, apart from using the characters for the displaying of territory names visually correct (like in LotR), it might not be smart to implement weird (and unknown to many) characters that people can't use or read correctly.

          Most languages have italic style stand-ins for their special characters for practical reason. Maybe that is actually smarter than presenting strange unrecognised characters.

          I'm totally for the support of new characters, but I would never use any that might not be obvious and easily recognized when it came to the reading of the characters. 🤔

          Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

          1 Reply Last reply Reply Quote 0
          • ssoloffS Offline
            ssoloff Admin
            last edited by

            There is a pending PR for the first iteration of this feature: https://github.com/triplea-game/triplea/pull/4115

            A question that has come up is where would most users expect to find the new Find Territory... command on the TripleA main menu. Typically, such "find" commands would appear on an application's Edit menu. As TripleA has no such menu, this leaves choosing an appropriate location for the new command a bit less straightforward.

            As proposed in the above PR, it is at the bottom of the Game menu. Other proposed locations have included:

            • Somewhere else on the Game menu (e.g. at the top).
            • Somewhere on the View menu.
            • Somewhere on the Help menu.
            • As the sole item on a new Search menu (which could appear, for example, between the File and View menus).

            Any other ideas beyond those proposed above are welcome, as well.

            1 Reply Last reply Reply Quote 5
            • Z Offline
              zlefin Moderators
              last edited by

              I wonder if, in addition to wherever else it is placed; there should be an instance of it in the "territory" tab on the right side of the screen, i.e. when you have the territory tab selected. (the place that also has notes, actions, players, etc)

              ssoloffS 1 Reply Last reply Reply Quote 0
              • ssoloffS Offline
                ssoloff Admin @zlefin
                last edited by

                @zlefin I failed to mention above that, as part of the aforementioned PR, the hotkey Ctrl+F will also bring up this feature.

                If a sufficient number of users feel having an additional Find Territory button on the Territory tab, presumably under the Battle Calculator button, is beneficial, we can certainly add it. If such a button were added, my guess is whatever territory is currently selected in the Territory tab would be used to seed the Find Territory dialog. That, in and of itself, is probably useless since the user already knows where the selected Territory is because they selected it. 😄 But another access point for the dialog couldn't hurt.

                1 Reply Last reply Reply Quote 0
                • HeppsH Offline
                  Hepps Moderators
                  last edited by

                  I would think the View menu would make the mot sense.

                  "A joyous heart sours with the burden of expectation"
                  Hepster

                  prastleP 1 Reply Last reply Reply Quote 0
                  • prastleP Offline
                    prastle Moderators Admin @Hepps
                    last edited by

                    @hepps I agree with @Hepps and I read your pr on git and agree with you as well @ssoloff

                    If we open a quarrel between past and present, we shall find that we have lost the future! Sir Winston Churchill

                    1 Reply Last reply Reply Quote 0
                    • ssoloffS Offline
                      ssoloff Admin
                      last edited by ssoloff

                      The first iteration of this feature is now available in pre-release 12238 or later. In this version, one can only select the territory to "find" from a drop-down list. I will be submitting a new PR shortly that will also give the user the option of typing the territory name (with auto-complete).

                      EDIT: BTW, I did move the command to the View menu, as recommended above. Ctrl+F continues to work unchanged.

                      1 Reply Last reply Reply Quote 4
                      • ssoloffS Offline
                        ssoloff Admin
                        last edited by

                        Pre-release 12242 now allows users to type a territory name in the Find Territory dialog with auto-complete. No support yet for normalizing accented characters, however.

                        I'd really like to hear from players if the way auto-complete behaves meets your expectations. I thought it was a bit strange at first, but quickly got used to it. However, I'm biased. 😄

                        1 Reply Last reply Reply Quote 4
                        • ssoloffS Offline
                          ssoloff Admin
                          last edited by

                          Pre-release 12254 now briefly animates the territory border after the territory is centered on the map. This should make it easier to identify territories that may not have a name on the map (e.g. sea zones in Classic)

                          HeppsH 1 Reply Last reply Reply Quote 5
                          • HeppsH Offline
                            Hepps Moderators @ssoloff
                            last edited by

                            @ssoloff Smart

                            "A joyous heart sours with the burden of expectation"
                            Hepster

                            1 Reply Last reply Reply Quote 0
                            • FrostionF Offline
                              Frostion Admin
                              last edited by

                              I like this feature. Very nice work! 🙂

                              But I think the access to the search could be improved. The current location of the “Find territory” feature is not very intuitive IMO. How about placing this feature in the territory tab. There is already a button there for battle calculator, so why not make a button for find territory? I’m my mind it would be very intuitive to look there for something concerning territories, and players would not be able to miss this button, so they will know where to find it if they need it.

                              Map maker of: Star Wars: Galactic War + Star Wars: Tatooine War + Caribbean Trade War + Dragon War + Age of Tribes + Star Trek: Dilithium War + Iron War + Iron War: Europe + Warcraft: War Heroes

                              ssoloffS 1 Reply Last reply Reply Quote 1
                              • ssoloffS Offline
                                ssoloff Admin
                                last edited by

                                Pre-release 12280 ignores accents and other so-called "combining characters" that may be present in a territory's name. For example, in Battle for Arda, you can now type Lhu and it will match Lhûn.

                                1 Reply Last reply Reply Quote 0
                                • ssoloffS Offline
                                  ssoloff Admin @Frostion
                                  last edited by

                                  @frostion Agreed. @zlefin suggested the same thing a few days ago. I will go ahead and add a new button to the Territory tab in the next day or so.

                                  C 1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    Cernel Moderators @ssoloff
                                    last edited by

                                    @ssoloff Personally, I don't think this feature is that important to deserve a place in the territory tab itself.

                                    ssoloffS E 2 Replies Last reply Reply Quote 0
                                    • ssoloffS Offline
                                      ssoloff Admin @Cernel
                                      last edited by

                                      @cernel Noted. I'll wait a bit before adding the button to see if there are any other opinions.

                                      C 1 Reply Last reply Reply Quote 0
                                      • ssoloffS Offline
                                        ssoloff Admin
                                        last edited by

                                        Pre-release 12317 synchronizes the Find Territory dialog with the Territory tab (there's a screencast that demonstrates what that means here). As there hasn't been any further objections, it also adds a Find Territory button to the Territory tab, as requested (it makes a bit more sense, IMO, now that the dialog and tab are synchronized).

                                        1 Reply Last reply Reply Quote 4
                                        • ssoloffS Offline
                                          ssoloff Admin
                                          last edited by

                                          Pre-release 12330 highlights the territory selected in the combo-box in real time. This allows one to find multiple territories without having to close the dialog and re-open it.

                                          I'm not sure if most users find this or the original behavior more intuitive. Please feel free to share your experience.

                                          1 Reply Last reply Reply Quote 1
                                          • E Offline
                                            erik542 @Cernel
                                            last edited by

                                            @cernel

                                            Well it'd be good to put in the territory tab if when the territory gets selected somehow that it showed the list of units in that territory just like if you were hovering over the territory with the tab open. This would be helpful in cases where people need to tally up units in multiple crowded territories to calc.

                                            C 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post
                                            Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums