lennet / figma-timer Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Would be nice to have a small CI setup using Github Actions and some basic tests
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.
Reference Screenshot of page: https://www.figma.com/community/plugin/820311256083321341/Timer
I would like to request for the timer to be able to count up.
Hey Leo, I saw that I can use 'create issue from conversation' - so I created some issues for the code suggestions you made. @lennet will work on it today or tomorrow
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
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 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?
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.
Would be nice to create a testplan of automated & manual tests that we run before we publish a new version
Thanks for your contribution, I like the new feature!
I left you some comments. Overall it would be nice if you could:
var paused = false
instead of var paused = 0
)Originally posted by @lennet in #1 (comment)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.