Git Product home page Git Product logo

team_org's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...

team_org's People

Contributors

seeker105 avatar

Watchers

James Cloos avatar  avatar

team_org's Issues

Use add players form to create players

as a coach with teams

when i visit the "Add Players" form

I see the players creation form with only the "Add Players" button

I click "Add Players" twice
I fill in information for 2 players

I click "Save Roster"
I expect 2 players to be created for that team
I expect welcome text messages to be sent to the players
I expect to be redirected to the "show roster" page
I expect the "show roster" page to display the names and phone numbers of the 2 players

Coach visits team creation form

As a coach with no teams

When i visit the Coach's Dashboard
And I click on "Create Team"
I expect to be taken to the team creation form

I expect to see a text field called "Team Name"
and a button 'Create"

Team edit url uses Team Name slug

As a coach with teams

when I'm on the dashboard
and I click the Edit button for a team
I expect to see the player creation form

and I expect the url to be "teams/:team_slug/edit"

Set up coach dash board

As a coach

When I visit my coach dashboard

I expect to see the form for creating a new team
I expect to see a field to enter the team name
I expect to see a button to click to add player data fields
Every time I click the "Add player" button
I expect to see another row of player data fields appear, up to a maximum of 25.

When I enter Player names in the fields
And click "Submit"

I expect to be taken to a page that shows my team name and the roster of players I have input

Create new Team from Dashboard

As a coach

When I am on the create Team Dashboard

I fill in the team name
I click "Add Players" 2 times
I fill in the first name, last name, and mobile number info for 2 players
I click "submit"

I expect to see a Team Roster page that shows
The name of the team
A list of names of the players and their phone numbers

Add player count to the Teams list

As a coach with Teams

when i visit the Coach's dashboard
I see a list of my teams

And under each team name
I expect to see "X Player(s)"
giving the number of players on that team.

Send notification text messages

As a coach
After I create a team
And I'm on the "Team Roster" page
With 2 players on the roster

I expect to see a button on the bottom that says "Finalize team".

When I click "Finalize team"
I expect a welcome text message to be sent to each player

Add player list to the coach dashboard

As a coach with teams
and my teams have players

when i visit the dashboard
I see a list of my teams
and under each team name
I see a list of the players on that team

Implement OmniAuth with Facebook

as a coach

when i visit the root
i expect to see a link that says "click to login to facebook"

when I click the link
I expect to go through the oauth process

After oauth
I expect to see a landing page with a link "click here to continue to site"

Eliminate landing page

As a user
when i visit the root page
and i click login with facebook

And i complete the OAuth signin
I expect to see the Coach dashboard

Use edit button to visit add players form

as a coach with teams

when i visit the dashboard

and I click the "Edit" button by a team with no player
I see the players creation form with only the "Add Players" button

when i click the "Add Players" button
the data fields for adding player info appear
The "Save Roster" Button appears

Coach creates a team

As a coach with no teams

When i visit the team creation form
and I enter a team name
And I click create

I expect to be taken to the player creation form

Check - in Notes Tuesday 8-2

Create team form
Redirect to /teams/team-slug/edit
I should be able add players
I should be see existing players with their data in the form
I should be able to add player form fields using jQuery
Coach should have more than one team
Login redirects to a dashboard
List all teams with players for those teams and an edit button
Link to create a new team
Send texts in production
Styling

Add edit button to the teams

As a coach with teams

when i visit the dashboard
i see a list of my teams
and each team has an edit button by the team name

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.