Giter VIP home page Giter VIP logo

bearstatus's Introduction

bearstatus's People

Contributors

weinshel avatar aeastham14 avatar thankeny avatar ygcooperman15 avatar nmabramovit14 avatar ayhu15 avatar shickey avatar bmswearingen avatar lsdemane15 avatar clnye15 avatar mlberg14 avatar jwbond15 avatar

Stargazers

OftenGuy avatar  avatar

Watchers

James Cloos avatar Kevin Hayes avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Saji avatar Samira avatar

bearstatus's Issues

Prepopulate /edit?date with existing schedule

Often when we want to add a special schedule, it's really just a modification of the normal schedule. Also, if we make a mistake when adding a new schedule, it'd be nice to not have to reinput all the block names and times. Can we figure out how to populate the edit form with the existing schedule of the day?

What license should we use?

Part of being a responsible software developer is choosing how and under which terms we want other people to use to our code. In that spirit, many projects include a LICENSE file in their git repository to explain the terms and conditions of using/reusing/building on top of the code. Check out http://choosealicense.com/ and see what you think about which license we should use. Come to a consensus as a MGMT team, then propose your idea to the larger group.

Schedule Page Issue

The schedule page has a few things that need to be fixed before we are done. First, there is no nav bar at the top. Second, The start time for each block does not show up, it just says time. Third, the name of the page should be changed from Testing Template to something else.

Capitalization of model classes

Typically, we name classes using UppercaseCamelCaseStyle meaning that the first letter of each word (including the first) should be capitalized. Let's change the names of the models in models.py to reflect this naming convention.

Dynamic number of blocks in /edit?date

When updating the schedule of the day for the hockey game day, I actually ran out of rows to use. Can we update this page to have a dynamic number of blocks (i.e., a simple way to add and delete rows from the form)? We will probably need to update the requets handling code on the submission side as well to handle a general number of blocks.

Fix the <div> boxes on the front page

The < div > boxes for the Welcome Message and the Current Block sections have disappeared now that we've separated the HTML, and now that we've implemented the grid system from Bootstrap. Opening the index.html file directly from my computer works, however opening it using Google App Engine Launcher doesn't. (Sorry about the spaces, it reads it as HTML otherwise.)

@thankeny @ynomir50 @pmcarlson15 feel free to try and figure this out as well and fix it.

Function now() is not returning the correct value

It looks like the function now() inside main.py is not returning the correct True or False value. Check what datetime.now().time() is returning to see if the time calculation is happening correctly.

Jinja error

When starting the website, there is an error that says:

TemplateSyntaxError: Unexpected end of template. Jinja was looking for the following tags: 'endfor' or 'else'. The innermost block that needs to be closed is 'for'.

Full error can be seen at: http://pastebin.com/VN6McLMy

Nav Bar Issues

When attempting to go to the schedule or admin page, I get a 404 error (Page not found). This also happens on all other pages with a nav bar as well, besides the schedule button on the edit.html page.

Also, we should make all of the buttons in the nav bar say the same thing on each page. I was looking at the templates, and the admin button is different on almost all of them.

EDIT: I also discovered that the home button does not work. I think that it is supposed to go to "/" instead of "/index"

Pick a final favicon file

Looks like there's two favicon files in the repository right now. Once we make a decision about which one we want to use in the final version, remove the other one.

/edit throws an error

When I go to /edit, I get an error (in the console logs) that says

File "/Users/seanhickey/Development/Blake/csfinal/edit.py", line 62, in <module>
    ('/edit', EditHandler)
TypeError: 'tuple' object is not callable

I think you all run into this same issue with main.py a few days ago.

Variable errors

Frontend uses the variable "i" for their template, but you have it defined as "block" in the MainHandler. the variable "block" that you are trying to pass to frontend does not exist either.

Issues with the now() function in main.py

When you call this function with a list of todays blocks, an error is thrown saying that you "cannot compare datetime.datetime with datetime.time". You need to make the variable current to be in the format of datetime.time, not datetime.datetime.

Set up home page

Make new request handler for main page (current block) and have it load when "/" (the root url) is loaded

Links going to wrong places

on /date clicking on logo: goes to /index, should go to /
on /edit clicking on logo: goes to /index.html, should go to /
on /edit clicking on save: goes to /schedule, should it go to front page?

edit button on /dates does nothing

Set up admin page with access to only admins

Modify app.yaml using instructions here to allow only administrators to access the page /edit. When /edit is loaded, have app engine run edit.py (which will have has appropriate request handler)

Make request handler for /edit

This will have to be in a separate file (edit.py) because we will have set up that script to load only on successful admin login.

This request handler won't have to do anything yet.

Template things (index.html)

Is the for loop necessary? If it is, then you guys need to end it somewhere. Also, the variables for time that you have (i.stime & i.etime) are not correct. They should be (i.sTime & i.eTime)

Next block error if there is no next block

If there is no next item in the block list, then the website crashes when you try and load it. You need to add a conditional statement to only return a next block if there actually is one.

jQuery Popup calendar doesn't work

Added the .js file, and used the code and correct stylesheets, but the popup calendar won't show up, even when I simply open the file directly from my computer.

Serving the Skia font

Currently, the font of the BearStatus logo only renders if the Skia font is installed on the device. You'll notice that the font doesn't render correctly on an iPhone. Let's figure out how to use a service like the google font API (https://developers.google.com/fonts/) to serve the font to the device.

Figure out how to populate the database only on first run of the app

Here's a potential issue which kind of spans both backend and integration: If the first user to use the app doesn't go to the front page first, then the initBlocks() method won't be run. Let's try to figure out how to run the init code when the app boots. Then, remove the initBlocks() call inside the MainHandler.

Kevin, I'm going to assign to you, but make sure you keep Ben informed about what's going on.

Set up bug reporting and feature requests (about page?)

Now that the app is live and being used "in the wild", one thing that would be smart for us to do is add some links to report bugs and submit feature requests. For the moment, it sounds like google forms may be a good way of doing this (I'm happy to set those forms up). Let's add something to the site that allows users to access those forms. My immediate thought is to add a small footer area to each page that contains the links, but I'm open to other ideas as well (@bweinshel, you mentioned maybe wanting to put together an "about" page).

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.