Code Monkey home page Code Monkey logo

peacecorps / medlink Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 36.0 4.33 MB

A project to make it easier for Peace Corps Volunteers to order their medical supplies from a local Peace Corps Office. Volunteers can order by sms or webform. PC Staff interact with the orders in a simple to use dashboard.

Home Page: https://www.youtube.com/watch?v=uNkwizhzMVA

License: Other

Ruby 80.79% JavaScript 3.52% CoffeeScript 0.41% CSS 0.81% HTML 14.42% Shell 0.04%

medlink's Introduction

PeaceCorps Pocket Guide

Peace Corps Pocket Guide is meant to be a easy to navigate frequently asked questions guide for current and potential applicants.

medlink's People

Contributors

alindeman avatar arches avatar bellawoo avatar chaeokay avatar chenhelihua avatar choquette33 avatar clintslee avatar cpursley avatar dankb82 avatar dhaskew avatar drdub avatar emilymerwin avatar gmacie avatar jakswa avatar jamesdabbs avatar jasnow avatar jpetitte avatar mallorybucell avatar orendon avatar ptnielsen avatar rgpass avatar rrgayhart avatar spage7 avatar srmelody avatar sylvesterwillis avatar v3n avatar wonmanlee avatar zugumzug 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  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

medlink's Issues

Fix text inside individual order form and add date variable

STEPS:
If you log in
And click on About menu option
And click on the first order (if you have one)
And click "Delivered to Hub" radiobutton
Then you get this message in the "Message Box"

  • Change "Delivered to Hub" and "Your request is estimated to arrive at your location on this date [enter date here]." to "Delivery" and replace [enter date here] with variable as specified in new wireframes.

Add rspec specs

Add rspec specs for:

  1. orders_controller's create method with bad order params
  2. orders_controller's update method with bad order params
  3. orders_controller's GET show method
  4. users_controller's current method (unclear how to use)
  5. application_controller's root method (unclear how to use)
  6. registrations_controller's update method (model not found)

Just added pending specs for the first three.

Here is some background material on writing controller specs.

Move devise views to Angular

We're doing a weird mishmash of Angular and Rails views right now. It'd be simpler to move all the routing client-side.

@pstoica: I'm assigning you this since you're our de facto Angular guru, but I'd be glad to learn a little bit about this and implement things myself if you can give me some direction. Just let me know.

See also #30?

Freenode IRC

Should I register a Freenode channel for the project? This gives us some advantages, as a central communication. It would also let us set up the Github & Travis (eventually) IRC bots for realtime notification of new commits and pass/fail results for the spec tests.

Requirements List for future phases: Where should I post?

I have a running list of requirements that I compiled during the weekend and would like to post them up here for people to add to. I am planning on putting it up on the wiki but if there is a better place to post it so others can add let me know.

Also, would you like two separate lists? One for front end and one for back end?

Update README / project name

We probably don't need to change the github repo name itself, but should brand the project wherever convenient.

Do performance study

Since the app will go into regions of the world with poor internet, how do we make sure that the performance is appropriate?

Get new CSS stylesheets

Original Title: Global Navigation for PCV, PCMO, Admin User types

We are missing global navigation for the web browser experience.

Edit: this is functionally complete, but needs to be styled once we have a design.

Implement "Help" menu option

Appears that when you click on the Gear icon and then "About",
you do not get information about the app.

Please save the current table output ("#/orders") in some other option.

Twilio Account and Phone Number Need to be Configurable

Need to make the phone number and twilio account credentials configurable.

My personal Twilio account creds are set as environment variables ( I need to remove them soon ), and the phone number is hard-coded into the app.

Fulfill orders workflow

We need:

  • JSON endpoints in the orders controller
  • Angular views to consume that JSON

Fulfillment should trigger an email and text message to the requesting user.

Set Up Github IRC Bot

Steps:

  1. Configure channel with proper flags
  2. Register unique nick for the github bot
  3. Test

Devise views / user settings

Users should be able to edit their password, email, country. Any other improvements to the default devise views would be good.

General styling

The following could use some UI love:

  • Devise generated views (note flash messages)
  • Email templates

Feel free to edit if there are others

Need login credentials to access PCMO screens

I only have login credentials to "act" like a peace corps volunteer but I need one that will allow me access to all the screens that a Peace Corps Medical Officer would interact with. Can anyone help me?

Missing word inside MessageBox's message

If you log in
And click on Gear/About menu option
And click on the first order
And click "Delivered to Hub" radio button
Then you get this message in the "Message Box": "Please pick up your request at this by this date."

Note that it appears to be be missing a word after "this"

This is also true for "Contact PCMO" radiobutton.

If someone tells me what the word is, I will change the code.

UI: User Administration Module

We need a way to easily administrate users, including creation of other user accounts and management of access roles. Preferably 3 roles: admin, pcmo, pcv. These roles are non-exclusive, so the UI needs to also handle that in a sane way.

This issue is currently blocking issue #32.
Could potentially utilize the same view as issue #4, but with heightened permissions.

Use HTML5 pushstate

Would everyone be alright with putting the JSON controllers in /api/ so we can use HTML5 pushstate instead of hashbang URLs?

Add everyone on the team to Github and Google Group.

Administrative

I would encourage everyone that has select "NO EMAIL" for Google Group to think about
once-a-day

  • Abridged Email - send a summary of new activity each day
  • Digest Email - send all new messages in a single daily email

Set up Angular testing with Jasmine/Karma

Unfortunately didn't get to do any client-side testing, so it'd be reassuring to focus on that (and do some refactoring too) for the next round and integrate it with CI.

Fix query error

We're getting this beast:

ActiveRecord::StatementInvalid: PG::Error: ERROR: non-integer constant in ORDER BYLINE 1: ...= "orders"."id" WHERE "orders"."user_id" = 11 ORDER BY '--- ^: SELECT "orders"."id" AS t0_r0, "orders"."user_id" AS t0_r1, "orders"."confirmed" AS t0_r2, "orders"."fulfilled" AS t0_r3, "orders"."phone" AS t0_r4, "orders"."email" AS t0_r5, "orders"."extra" AS t0_r6, "orders"."created_at" AS t0_r7, "orders"."updated_at" AS t0_r8, "orders"."instructions" AS t0_r9, "users"."id" AS t1_r0, "users"."email" AS t1_r1, "users"."encrypted_password" AS t1_r2, "users"."reset_password_token" AS t1_r3, "users"."reset_password_sent_at" AS t1_r4, "users"."remember_created_at" AS t1_r5, "users"."sign_in_count" AS t1_r6, "users"."current_sign_in_at" AS t1_r7, "users"."last_sign_in_at" AS t1_r8, "users"."current_sign_in_ip" AS t1_r9, "users"."last_sign_in_ip" AS t1_r10, "users"."created_at" AS t1_r11, "users"."updated_at" AS t1_r12, "users"."phone" AS t1_r13, "users"."first_name" AS t1_r14, "users"."last_name" AS t1_r15, "users"."pcv_id" AS t1_r16, "users"."country_id" AS t1_r17, "users"."role" AS t1_r18, "users"."city" AS t1_r19, "requests"."id" AS t2_r0, "requests"."supply_id" AS t2_r1, "requests"."dose" AS t2_r2, "requests"."quantity" AS t2_r3, "requests"."created_at" AS t2_r4, "requests"."updated_at" AS t2_r5, "requests"."order_id" AS t2_r6 FROM "orders" LEFT OUTER JOIN "users" ON "users"."id" = "orders"."user_id" LEFT OUTER JOIN "requests" ON "requests"."order_id" = "orders"."id" WHERE "orders"."user_id" = 11 ORDER BY '--- :orders: created_at DESC'

from calling User#accesible_orders. It looks to be some bad interaction between the two default scopes on orders.

Where is the best place to post Design Documentation?

As a github newbie, I'm confused about where to post design documentation that is critical path for launch. I have never used github before and I'm a little confused about where UX stuff goes. Thanks for any help on 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.