Giter VIP home page Giter VIP logo

attendance-client's Introduction

Attendance Client

Release Build

This is a user interface for SERT's attendance. It allows users to sign in, sign out, check their hours, and compete against others with a live-updating leaderboard.

Screenshots

Main Screen Check Hours

Building

Install the dependencies with:

$ npm install

Then you'll be able to run the dev server and up an Electron instance with:

$ npm run dev

To build and output executables, execute the release:<os> npm script. For example,

$ npm run release:windows      # Release for Windows
$ npm run release:mac          # Release for Mac
$ npm run release:linux        # Release for Linux

attendance-client's People

Contributors

andrewda avatar gnawinganimal avatar greenkeeper[bot] avatar will-hou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

attendance-client's Issues

Clean up components/actions

We don't have any actions at the moment, even though most of the things we're doing (opening modals, etc.) should probably be actions. We're currently just passing props through many components, which is a bad way to do it.

Clean up code

It's very messy right now - especially the JavaScript.

Verify internet connection

If we're not connected to the internet, we should have a modal that won't go away until connected again.

User lastSignedIn and signedIn info sometimes written in wrong location

The attendance app crashed today (after many sign-ins and proper functioning in the past few weeks), and I found lastSignedIn and signedIn as entries under /users, which is not supposed to happen.

This bug will break the application until the entry is deleted manually in the real-time database. Haven't gotten to investigate what's causing it but something in the code after moving to the new DB probably wasn't set up correctly.

Will wait until after the build season to look into this further because it happens so rarely and is relatively easy to fix.

Add README

Should be pretty similar to the one in the old branch, but with updated screenshots and descriptions.

Implement server backups.

This can be done through re-implementing our custom back up system that is currently set up but not completely tested, or switch to firebase.

Move to SERT GitHub

We should talk about whether we want to keep stuff in FRCTools or move it over to SERT.

Use React

This is a stretch goal and doesn't need to happen soon - if at all.

An in-range update of electron is breaking the build 🚨

Version 1.6.8 of electron just got published.

Branch Build failing 🚨
Dependency electron
Current Version 1.7.0
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

As electron is β€œonly” a devDependency of this project it might not break production or downstream projects, but β€œonly” your build or test tools – preventing new deploys or publishes.

I recommend you give this issue a high priority. I’m sure you can resolve this πŸ’ͺ

Status Details
  • βœ… continuous-integration/travis-ci/push The Travis CI build passed Details
  • ❌ continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error Details

Release Notes electron v1.6.8 beta

1.6.8 Release Notes

Not sure how things should work exactly?

There is a collection of frequently asked questions and of course you may always ask my humans.


Your Greenkeeper Bot 🌴

Signout people that were left signed in

Access the killTime variable from the options file and then if a sign in was more than that amount of hours ago, then set the sign out time to be the same as the sign in time.

Sorting members alphabetically breaks app

Capture

Strange thing is that while sorting still doesn't work, an error only shows up on the electron app preview but not on localhost:3000

All of this may be due to an underlying issue with the way we've connected to the new DB because everything was working for the first couple of hours before breaking. We should probably look more into that when time allows.

The sorting has been removed in the tempfix branch as a temporary fix(who would've guessed) so we can still have some sort of attendance tracking. However, we probably shouldn't merge anything into master until we've gotten a chance to do more testing and work out any more bugs due to the DB transition.

Add a settings menu

Will allow the following settings to be changed:

  • Current season (/seasons/current) (related: #40)
  • Automatic sign out time (#32)

Sign-out based on in value

NEDB is weird and doesn't always insert documents chronologically. By using the in value instead of length - 1, we can get around this.

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.