Giter VIP home page Giter VIP logo

Comments (8)

NoamGaash avatar NoamGaash commented on July 19, 2024 1

Let's think of the problem, before jumping into solutions..
What's the use case for such a button? How does it help to the final user experience?
Did you suggested this idea because you considered a use case of a user that wants to change the operator they are searching, and feels frustration due to the need to delete the content of the input element when focused?

from open-bus-map-search.

NoamGaash avatar NoamGaash commented on July 19, 2024 1

I think it's a much better idea, thanks!

from open-bus-map-search.

NoamGaash avatar NoamGaash commented on July 19, 2024

I think it's a good idea - but what the default value should be? empty state isn't very useful

from open-bus-map-search.

ArkadiK94 avatar ArkadiK94 commented on July 19, 2024

About the date, the default value will be today. Why is empty state not so useful? 馃 I am not sure about the default values for the rest of the inputs.

from open-bus-map-search.

NoamGaash avatar NoamGaash commented on July 19, 2024

I think we shouldn't be opinionated regarding default values for fields like "operator" (诪驻注讬诇)

from open-bus-map-search.

ArkadiK94 avatar ArkadiK94 commented on July 19, 2024

I think so as well. In my opinion, we can reset the values to empty state , and only for the date reset it to today. However, you said that empty state is not useful. I can implement this button in this way, and if we will see a problem with that change it later. What do you think?

from open-bus-map-search.

ArkadiK94 avatar ArkadiK94 commented on July 19, 2024

Yes, the user needs not only to change the operator but also the line number and date from the last search, so I think it is easier for the user to remove those inputs and select/write new ones from blank.

from open-bus-map-search.

ArkadiK94 avatar ArkadiK94 commented on July 19, 2024

Hi, I noticed something, in some input fields we have a "clear" X button in the input field , for example in "OperatorSelector" "RouteSelector" like in the image
image

Instead of making a separate button to reset values we can add this functionality in/beside the "LineNumberSelector" and "MinuteSelector" input fields
image

What do you think? @NoamGaash

from open-bus-map-search.

Related Issues (20)

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.