Git Product home page Git Product logo

figma-timer's People

Contributors

dependabot[bot] avatar jannespeters avatar lennet avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

figma-timer's Issues

Add CI

Would be nice to have a small CI setup using Github Actions and some basic tests

show timer countdown in floating window (UI.html)

I am working on a feature that would show active timers in a floating window (ui.html) so the user can see it regardless of where they are on the Figma stage. Due to API limitations, this will only show up for the creator of the timer, not for other people that are viewing the document.

Count Up

I would like to request for the timer to be able to count up.

Prototype support

A user asked for running the timer in a Figma Prototype. I‘m not sure if that’s supported by the API but we could reach out to Figma and ask them if that’s something on their Roadmap

Show elapsed time after each timer is finished.

It would be good for users to see the elapsed time after a timer is finished, that way they can see how much 'over time' that are already. We can just add a minus before the elapsed time e.g. Timer: -0:29

add a new timer to the stage with a button click

add a new button to UI.html, so that people can create a timer from there. Clicking the button should add a timer text field to the Figma stage.

TBD: should UI.html also contain a text field to enter amount of minutes / seconds for the timer?

Calculate remaining seconds based on time

We are currently just counting down an integer with isn't super accurate. We should save start date for each timer and calculate the remaining seconds based the current time.

Create Testplan

Would be nice to create a testplan of automated & manual tests that we run before we publish a new version

Remove dead code, apply formatter (VS code)

Thanks for your contribution, I like the new feature!

I left you some comments. Overall it would be nice if you could:

  • Remove dead code (logs, unreachable code or code that is commented out)
  • Use boolean instead of integers (e.g. var paused = false instead of var paused = 0 )
  • Apply a code formatter to the files you changed (in VS Code you can right click and select Format Document)

Originally posted by @lennet in #1 (comment)

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.