Giter Site home page Giter Site logo

scotlandyard's Introduction

scotlandyard's People

Contributors

buggi22 avatar levmar avatar

Watchers

 avatar  avatar

scotlandyard's Issues

Enter a sequence of transit steps

First-pass proposal -- UI should display:

  • Five buttons: Add Taxi, Add Bus, Add Underground, Add Wildcard, and Clear
  • An initially empty div containing the current sequence of transit steps

Notes:

  • An empty sequence of transit steps is valid -- it should simply result in the last-known position(s) being highlighted on the map.
  • This needs to support "any transit" (wildcard), which, for Mr. X, can include taxi, bus, underground, and river.

Select a single last-known position using the mouse

Current behavior: when the user selects "Specific position", a text box appears, and the users enters a number by typing.

Alternate proposals:

  1. Selecting "Specific position" should also cause a button to appear ("Select via map"?), which, when clicked, causes the UI to enter a state where the next-clicked location will be copied into the "Specific position" text box.
  2. Whenever any location is clicked (regardless of UI state), the radio button is switched to "Specific position", and the last-known position is reassigned (Pros: slightly less "stateful", Cons: less discoverable UI, easy to make an accidental change)
  3. Right-clicking on a map location offers a custom pop-up menu with the option to "set this location as the last-known position".

I'd guess that option 2 would be the easiest to implement as a first pass.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.