Giter VIP home page Giter VIP logo

Comments (8)

mkellsy avatar mkellsy commented on August 12, 2024

I was able to do it. It shows as grey, but I am able to center it. I think what we need is to add the color temp section for this accessory.

You got hue, brightness and then temperature, that shows 4 options, which includes white.

The video because it won't play in GitHub.

from gui.

apartmedia avatar apartmedia commented on August 12, 2024

I was able to do it. It shows as grey, but I am able to center it. I think what we need is to add the color temp section for this accessory.

You got hue, brightness and then temperature, that shows 4 options, which includes white.

The video because it won't play in GitHub.

Could you watch the video what happens when using the color picker on my touch device? Or do you need it in a different format as you say it won’t play (although I can play mov in GitHub with Safari 🤔).
It might behave different or even work when using a mouse.

from gui.

mkellsy avatar mkellsy commented on August 12, 2024

What I’m saying is the hue accessory needs some work. One of the things that is needed is a mobile friendlier color wheel. The color balance method is that. (It’s the same method that HomeKit uses)

from gui.

apartmedia avatar apartmedia commented on August 12, 2024

might this be a solution for better mobile and touch usage while keeping the design (if that’s one goal)?
iro.js
Not sure if this is Vue compatible though…

from gui.

mkellsy avatar mkellsy commented on August 12, 2024

That's exactly what we are using.

https://github.com/hoobs-org/gui/blob/main/package.json

"@jaames/iro": "^5.3.1",

from gui.

apartmedia avatar apartmedia commented on August 12, 2024

Ok, that should be normally fine for touch devices,
The codepen demos linked on the iro site worked flawless for me on mobile Safari in iOS and iPad OS.

from gui.

mkellsy avatar mkellsy commented on August 12, 2024

Codepen doesn't show the whole story. The issue is the select and revert to the default display.
It needs a slight delay and debounce, so you can adjust the color, and it won't revert until input stops.

Sounds confusing, but remember JavaScript if fast, it's timed in milliseconds.

I am also using this task to complete the hue accessory.

from gui.

apartmedia avatar apartmedia commented on August 12, 2024

I‘m with you… JS: powerful and guilty 😉
Let me know if I can be helpful by testing something.
Regarding the hue accessory u r planning to use the same lib?

from gui.

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.