sman591 / csh-drink-ios Goto Github PK
View Code? Open in Web Editor NEWiOS interface to utilize CSH vending machines
Home Page: http://csh.rit.edu
License: MIT License
iOS interface to utilize CSH vending machines
Home Page: http://csh.rit.edu
License: MIT License
When visiting a machine's item list and at least one of the item names exceed the horizontal space provided, the name is cut off. But, upon scrolling the item out and back into view in the list, the title wraps correctly.
Such as:
Big Drink -> 4 drinks available
Little Drinks -> 3 drinks available
etc. somehow that's not obtrusive but still useful.
There are two reasons we disable items:
However:
If the error is user-actionable, it should stay highlighted in pink, while if it isn't actionable, it should be gray like the rest of the text.
Maybe even let the user tap on the user-actionable items, just to see an info popup.
When a user drops a drink, the history table and user credits should be automatically updated. Technically, the machine should be reloaded for that slot in the event that drop was the last available from the slot.
Eg, if I dropped an item 1 minute ago and 10 minutes pass by, my screen should automatically say 11 minutes ago without any manual interaction/triggering.
Basic user info & ability to log out
Steps to reproduce:
Currently, it returns to the previous screen (account info), but it should really go to the machine list screen.
Replace with full can that isn't as tall as Jolt?
Steps to reproduce:
Something like this, all in one table view. There's no need to drill down by machine.
Big Drink
Little Drink
Snack
For those items that don't yet have images
Lighten text color & prevent drink drops
As seen in e317a36, compiler optimization for final products had to be disabled in order to fix a bug where the app crashes at launch.
A possible workaround is to implement a different keychain wrapper.
Such as dropping an item, swiping to delay, checking credits.
Example: try to drop a disabled drink (first invalidate the item struct)
However, it doesn't always happen - if the title is a bit longer, it will wrap correctly.
Thanks @dag10
Simple GET /drops/status
call: https://github.com/bencentra/WebDrink-2.0/blob/master/docs/API.md#drops
Possibly via a notification banner, or alert view.
Such as today, yesterday, this week, past month, past 3 months, greater than 3 months
Steps to reproduce:
Currently, a alerts are closed & re-opened between the confirmation & dropping states, which is not ideal. It'd be best if the background remained and only the alert switched out, but will require a bit of re-working JSSAlertView
.
Due to an apparent (bug?) in WebDrink's API, multiple items can be dropped for the cost of only one item if submitted during a delay. Example:
It's worth noting, this could be easily exploited via someone manually querying the API.
Maybe a 'Drop Latest Drink' or something.
New users won't know out of the box how to delay a drink drop unless they experiment with swiping on table cells or talking to someone else with the app.
Could just be a webview to drinkstats.csh.rit.edu
Seeing exact dates isn't fancy enough
Only show relative time for those within the last month, later than that just show a formatted date (Discourse style)
Would improve the authorization process by a lot. Implementable via deep links, probably could be compatible with the android app as well.
Goal behavior:
The app doesn't realize when it's API key has been invalidated.
Steps to reproduce:
The user credits count will be 0, no drinks will be droppable, and the drop history will show everyone's history, not the logged in user's.
Never really got fastlane fully working. Goal:
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.