GithubHelp home page GithubHelp logo

yalestc / shifts Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 18.0 33.09 MB

Application to easily track shifts, reports, and payforms for employees.

License: MIT License

Ruby 57.09% JavaScript 2.47% CoffeeScript 0.07% CSS 4.44% HTML 30.39% Gherkin 5.54%

shifts's People

Contributors

adambray avatar adammcilravey avatar baygross avatar bensomers avatar bobqumd avatar caseywatts avatar ckildow avatar derekzhao avatar dribas avatar ehfeng avatar hkocinneide avatar iamringo avatar jacobwilliams918 avatar jamesluo avatar jasonkliu avatar kwabena avatar lauratomas avatar maltyeva avatar mnquintana avatar njlxyaoxinwei avatar patrickckenney avatar rofreg avatar shippy avatar smudge avatar tammerabi avatar theemeralderin avatar thomasweng15 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shifts's Issues

No easy way to edit repeating events

clicking on a shift in calendar view only lets you edit that instance, rather than giving you the option to edit everything in the series. The update action in the repeating events controller does what it's supposed to, so all that needs to be implemented is a way of optionally pointing the form there.

Keyboard shortcut (Ctrl/Cmd + Enter/Return) for adding items to shift reports

There should be a keyboard shortcut to add report items to shift reports โ€“ this way we won't have to move the cursor over to the "Add to report" button every time we want to add a new item.

In addition, there should be a note above / around the "Update Your Report" text field area noting what the shortcut is, once it's implemented.

"All Data Objects in This Location" View from a shift report page

It would be very useful to have a single page from which to update one, some, many, or all of a location's data objects at once, instead of having to manually click through each data object to update its values. This would be particularly useful on the mobile view in a public cluster kilroy, for instance, so you can record and then update all of a location's data objects from your phone in one fell swoop, and not just record them to update one at a time later.

User Preferences - Opt Out of Shift Sign-Out Emails

After signing out of a shift, an email is instantly generated and sent to you including your shift report. Many users probably don't want this email, and they should be able to sign out of it.

Add a new user preference option "Recieve an emailed shift report upon submission" or something like that

Upgrade to Rails 3

This is a big one - we really need to get Shifts up-to-date with the current version of Rails, v.3.2.13. It might be worth keeping a list here of plugins we'll definitely need to find gem replacements for / axe completely, and other things we know will break.

Timeslot creation with start > end

When you attempt to create a timeslot with start > end (i.e., start at 9am and end at 2am) through the ajax interface (clicking on the schedule view on the timeslots index), it silently fails with no error message.

This should probably default to creating a timeslot with the endtime incremented by 24 hours. At the very least, we need to start throwing an error.

Email?

Possibly refactor/rethink entire email system. I don't know it well enough or good mailer practice well enough to be certain.

Group jobs need autocomplete

Payform item sets (aka "group jobs") don't have an autocomplete box for users. It's not necessary, but would be nice.

Tasks - Default Values

When editing a task (ex: /tasks/1/edit) it should provide the current values as default values. See time_slots code (controller and view) for an example.

Can't delete useful links

Useful links were almost entirely broken, got them to work though. There is not, however, a way to delete them as it stands...

notice (thickbox) window size

when a normal user creates a notice, the thickbox size should by default be just large enough for the content box, the link for more advanced options and the save button. however, in safari, the default size seems to be incorrect. this could be a browser issue b/c I've seen it display properly in Firefox 3.5 and opera

Host Shifts on Heroku

Let's make a publicly viewable version of Shifts online for other people in the world to demo out. We might get international use!

Public View - View Tweaks

  1. Let's bold "Today"

  2. If someone forgets to sign out of their shift, they shouldn't appear on public view (I thought we'd fixed that though?).
    In this case (screenshot attached) Jonah was on shift last Thursday (today is Saturday) and he still appears as signed in. http://imgur.com/s1O7v

Implement TEH

Add in textile-editor-helper. Specifically should be used for the application footer, and for possible implementation of the "boxes" feature, and anything else we think of.

"Post a new link" link becomes unAJAXed after using once

When clicking a "post a new useful link" link for the first time, a thickbox comes up as expected. After the partial is refreshed through AJAX, however, clicking the link will redirect you to create a new link. Refreshing the page re-enables the thickbox...

payform item delete action should be renamed

Delete isn't an appropriate name here, but I can't think of a better one at the moment. It's preparatory to destroy (which is really deactivate). Analagous to new before create, or edit before update (it's so that you can provide a reason for the deletion).

Loc group view permissions on schedule

I think I've gotten the behavior about figured out, but I'm still not positive. It seems that before a user edits their location group view preferences, the schedule view isn't respecting their permissions w/ regards to what location groups they're allowed to view. (it's letting them view all location groups). After the preferences get changed, it behaves correctly, I believe.

Probably in the code that causes it to default to all location groups before the preference has been set.

Redesign Shifts' GitHub website

Did you know Shifts has a public GitHub page here: http://yalestc.github.com/shifts/ ?

I didn't either, till just now. It would be a nice bonus at the end of the summer to update the design, especially if we really do want this to be used outside Yale - maybe even include a rundown of features?

Mysterious line on schedule view

Vertical dividing line appears on schedule view. Will try to figure out how to attach screenshot later? I think it might happen at the block time closest to Time.now? V. strange.

Timeslot and shift creation menus

The select boxes in the timeslot creation menus should have, for available hours, a range from the department start to department end times.

This is clicking on the schedule view, in the ajax form.

Similar issues are present in the ajaxed form for new shift creation on the schedule view.

Boxes!

admin-configurable semi-CMS like content boxes, to go on shift reports and the dashboard. General purpose, with admin-editable content, location, and appearance. Should come after TEH.

useful links fail silently

currently, if a new useful link isn't properly created, it will fail silently (thickbox closes, no error messages)

unscheduled shift form on dashboard page - ajax stutter

There's a jog after this form loads on the dashboard index; it's loaded within the user_options partial, by the shifts controller, unscheduled action (shifts/unscheduled.js.rjs). Some CSS problem, possibly part of the visual effect (toggle_blind) and not solvable. Regardless, no time to do it now, best left for later.

I remember we solved problems like this at some point in the past, but I don't remember how anymore.

do payform items need users?

Currently, in the migration file (create_payform_item.rb line 5), payform items have users, but this conflicts with the user method in the model (payform_item.rb). Is user_id in payform_items ever used? If not, we should take it out.

Nightly digest for watched objects.

Generate an email nightly with all the watched objects that currently have triggered alerts.
Note that this will be very tricky to do well.

Tasks - Include a Link to a Reference

Sometimes tasks should link to a relevant weke article (or other source). Let's:

  1. Create a new attribute for Tasks = (relevant/reference) URL. This should be in _form.html.erb and show up beautifully here:
  2. In the shift where the task is displayed, include an external link icon, linking to that article? (or there might be a prettier way to include the link~?)

Users edit - location of update button

It looks like somebody moved the update button into the profile partial? When a new user is first created, and their profile hasn't really been set, this makes for a really awkward view. This view could use some TLC at some point.

Shifts assigns wrong start/end time for sub request with bribe

From Hengchu. Haven't had a chance to verify:

Hugh and I just encountered a shift app bug, what happened was that Hugh asked for a sub from 3:45-5:00 at TTO, and he also offered a bribe from 3:00-5:00. I took it from 3:45-5:00; however, the shift app assigned all of it from 1:00 - 5:00 to me. I filed a sub again and have Hugh take it to correct the schedule.

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.