Code Monkey home page Code Monkey logo

glance's People

Contributors

numellow avatar

Watchers

 avatar

glance's Issues

Refactor project

Lots of duplicate code in *_page.py files. Can clean up using a parent Page class that the others can inherit from.

Also refactor the other files

  • glance.py
  • screen_util.py
  • next_app.py
  • album_page.py
  • album_pictures.py
  • instructables_page.py
  • instructables_contests.py

Instructables app: Show number of contests not displayed

The app currently only displays a max of 5 contests. If there are more, it should display the number of contests not displayed.
Alternatively, the display could be re-rendered to remove the avatar and make more vertical space. (this would likely allow for 2 more contests to be displayed)

Album App: errors on initial run

We made a change to the original script to download the album after it displays a picture so we could reduce the time it took to update the image.
This worked great in the case when there was an album already had an album present, but means that the app will fail when running for the first time. We should add a check so that if the album is not present, we should download the image first.

(sounds like a great time to start adding in tests, dontchathink)

Album App: set frequency on how often to download

Instead of download the album every day (where they may not be any new images) Should be able to schedule how often to download. Maybe once a week/month etc.

Also would be nice to just have an offline mode too

Glance: initial download bug

When downloading the album for the first time, the script fails because there is not folder called 'album'. If a folder is just created glance displays "Album empty" because it downloads the album after displaying an image.

Should update this so it checks if the album folder exists and there is an image in it. If not, and downloading is allowed, it should download the album from the directory and then display the image.
If downloading is off or url is not valid, should error and ask the user to add photos to the album folder

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.