Giter Site home page Giter Site logo

Comments (6)

lydell avatar lydell commented on July 28, 2024

Hi! Thanks for the input! I think it’s better the way it is though. I think. Is there any precedence on the Internet to look at? I thought the convention was that “triangle down” means “collapsed” and “triangle up” means “expanded”. But maybe it’s more about which direction the expanded panel goes? So if it’s a “dropup” rather than a dropdown, it makes more sense to flip the triangles? 🤔

from elm-watch.

lucamug avatar lucamug commented on July 28, 2024

I see your point. I am leaning more for your second opinion.

I find it more natural if the triangle is pointing in the direction of the expansion...

For example:

Screen Shot 2022-12-18 at 7 30 40

bulmadropup

2019-01-18_10-49-48

https://wpdevdesign.com/dropup-menu-in-oxygen/

https://techfunda.com/Examples/Show/949

https://www.youtube.com/watch?v=FZr4BQezzOw

https://www.geeksforgeeks.org/bulma-dropup/

https://docs.mygadgetrepairs.com/invoices/how-do-i-create-an-invoice-from-ticket-screen/

Also if the triangle would stay near the edge (left edge when it is on the left and right edge when it is on the right), it would be possible to open and close the menu without moving the mouse, because the triangle would not move.

from elm-watch.

lydell avatar lydell commented on July 28, 2024

Thanks for all the links and screenshots!

Also if the triangle would stay near the edge (left edge when it is on the left and right edge when it is on the right), it would be possible to open and close the menu without moving the mouse, because the triangle would not move.

I don’t quite follow here. What do you mean?

from elm-watch.

lucamug avatar lucamug commented on July 28, 2024

Let me know if this clarify the idea

AS IS

AS-IS

IDEA

IDEA

from elm-watch.

lydell avatar lydell commented on July 28, 2024

I see, thanks.

Note though that the whole bottom area is clickable, not just the triangle.

from elm-watch.

lucamug avatar lucamug commented on July 28, 2024

Ah, you are right... I didn't notice.

I think we instintively analyze things that moved, the differences, so it may necessary an extra effort to realize that the triangle and the date just shifted, but they are the same things, actually.

This is another option that maybe is even closer to the concept of drop-up, where the initial button is immutable:

IDEA2

Anyway, just nitpicking here :-)

The tool is great and I am considering adopting in some new project to see if it can be a replacement of elm-go that we are using at the moment.

from elm-watch.

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.