staer / grpn Goto Github PK
View Code? Open in Web Editor NEWA WebOS Groupon client - Contact [email protected] with questions/comments/bugs/ideas!
License: Other
A WebOS Groupon client - Contact [email protected] with questions/comments/bugs/ideas!
License: Other
Re-factor the locations list to use templates instead of building the HTML in code.
Add a way for users to view the discussion about the deal
The info stored in the GRPN global namespace can probably be moved into the appinfo.json file and access via:
Mojo.appinfo.
Add the option to "send" a deal (name, terms, link, etc.) via email / sms / facebook? / twitter?
Add a change log page to the app menu
The date parsing should be refactored into a common routine since it is used in both the "Discussion" and "Deal Details" screen
In the deal details scene you currently have to click on the arrow to expand the section. Make the clickable area bigger by allowing clicking of the text as well.
Enable exhibition mode which does a slideshow-esqe display of all the deals in the cities you have favorited.
Add a refresh button (bottom left) to the deal list
The popup shows the current list of favorites, but clicking on them doesn't do anything. This should take you to the deal list for the selected favorite city.
The spacing is too large in this section, most likely due to style differences between Mojo defaults and what Groupon expects in their feed. Need to make less white space between paragraphs.
Make the app work in landscape, shouldn't be too hard...
Add an icon for the city list button, currently it is the "forward" arrow icon.
Currently the deal details page is the primary scene. This should be changed to the deal list:
Deal list back gesture should do nothing.
Deal details back gesture brings you back to the deal list for the city.
City listing back gesture brings you back to whatever the previous scene was (either deal details or deal list, or none if it's first time starting).
The content of the about box can be moved into a template so the html isn't in code.
Change the city list button to be on the left side of the command menu
Test and/or handle network or API errors. When the Groupon API is unavailable it is currently indeterminate what will happen to the application. A popup error message should probably be used.
When performing a search through the city list, there is excess white space between the search box and the start of the list. Hide the "header-wrapper" div when the search box is open and remove it when it it closed.
The splash looks a bit "off". Make it look better!
Add a application icon, currently the default moon icon is being used and is quite ugly.
Create a "favorites" button on top right (star icon?) Clicking this will pop open a sub menu that will display a list of "favorited" cities to choose from. The favorites button should go top right on both the deal list and the deal details scenes.
Add the ability to share via facebook or twitter or other apps.
To do this we will need to a.) see if an app is on the device b.) Figure out how to launch the app appropriately. Not sure if this is possible on WebOS
The redemption locations are hard-coded to deal.options[0].redemptionLocations, but we should check to make sure that the options array exists. Also may need to figure out what to do if there is more than one set of options in the options array (rare)
Add a favorite button (toggle) to the bottom right of the deal list (star?). When clicked it will toggle on or off weather or not a city is flagged as a favorite.
The map doesn't auto focus on the pin, instead it focuses on the current GPS location. This isn't always ideal
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.