Giter Club home page Giter Club logo

doorlock's People

Contributors

akiroz avatar jasonkit avatar louischan-oursky avatar rickmak avatar steven-chan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

doorlock's Issues

Add Confirmation dialog to logout

This issue is about the OpenSky App, not sure if it is the right repo to post at.

The "忘記芝麻" and "花生開門" buttons are too close to each other. And there is no confirmation dialog for "忘記芝麻".
It's very easy for the users to mis-press the wrong button and found themselves logged out, esp on smaller devices like iPhone SE / Mini.

Suggestion: Add a confirmation dialog to "忘記芝麻", this requires the least UI changes

Remove Nanoleaf API key and make it configurable instead of hardcode

A quick change at Hackathon of X'mas 2017, we added Nanoleaf support to the code (at branch nanoleaf), however it hardcode the API key which is the URL to the Nanoleaf, and the theme to open in code. It should be configurable. (And not give up the API key of our office's nanoleaf! To avoid people come to our office / VPN and show red all the time lol)

Tasks:

  • Make Nano Leaf URL (IP, port, API key) and effects name configurable
  • Make daemon-opendoor fire trigger of door unlock / door lock, instead of hard code nanoleaf code in the middle of the code.

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.