jhrcook / swiftbar-plugins Goto Github PK
View Code? Open in Web Editor NEWMy SwiftBar plugins.
Home Page: https://github.com/swiftbar/SwiftBar
My SwiftBar plugins.
Home Page: https://github.com/swiftbar/SwiftBar
After collecting all of the information from the user about the new bag, a final confirmation prompt would be a useful addition.
It would be nice to be able to track the shipment of new coffee. BRCC often uses USPS (API doc). This will require some level of write permission for the plug-in to store a tracking ID, so I'll have to wait until SwiftBar enables that.
Is there a way to submit a notification to my computer's Notification Center with the results of any PUT or PATCH requests? Currently, there is no feedback on how the requests do.
This should be normal practice, but is especially helpful given the dependence of SwiftBar on standard out. Update everything to use logging to help with future debugging.
Include a way to add a new bag. Due to the limitations of user input to a taskbar item, it might be best to have a button "New bag..." that then opens in the terminal with interactive prompts for brand, name, weight, etc.
I should improve how network errors are handled. Here are a few ideas:
Currently, the plugin pulls down all of the uses information for the day and then returns the length of the list. It would be faster and easier to just query the number of uses for the day directly.
SwiftBar-Plugins/coffee-tracker.15m.py
Lines 121 to 134 in d8a9805
There needs to be the ability to mark a bag as finished. Perhaps each bag could have a dropdown menu with options to add use or mark as finished? My only fear is how easy it would be to make a mistake with this UI. An alternative is to have a dropdown under "Finish bag" that shows each bag to be selected.
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.