Git Product home page Git Product logo

angular-darts-tournament's People

Contributors

alemagio avatar icebre4ker avatar mevex avatar

Watchers

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

Forkers

metalcrx

angular-darts-tournament's Issues

Configure code coverage

Expected behaviour
We need to integrate a tool to show the code coverage of the application in order to figure out which parts of the app have not been yet tested.

Allow views to receive playerID and roundID

Expected behaviour
To allow to use same view with different players (like summary and round) we need to send some parameters to the view themselves.
This params are:

- roundID
- playerID

Add One-time binding

The problem
To improve performances we need to remove the 2-time binding in views.

Detect when one or more player are "cappottati"

Expected behaviour
At the end of a round all those players whose round points are equal or less than 60pt than the ones of another player than they are "cappottati" and we need to show an alert.

Improve repo documentation

We need to add some README.md files in order to document better the repo.
This is a sort of first version of the documentation since other info will be added in the future during the development itself.

All tests fail

The problem
All tests fail. We need to investigate the problem and finding a solution

Refactor player controller

PlayerController needs to be refactored in order to be tested.

In this way we'll move some logic on services that will handle some business logic.

Add 'new match' button

Expected behaviour
In the "seleziona giocatori" page we want to create a new match or restoring the not completed one.

Defining Angular states

The problem
Currently the routing has been implemented using when method.
We should define states

Redefine structure of app folder

app folder should have following structure:

- app
-- components
-- images
-- modules
-- services
-- translations
...

components is the folder for all shared directives
images hosts all images
modules is the core of the app containing all modules
services is the folder for all shared services
translations will host all translated strings

Refactor players-adapter

The problem
This service has been created to have an abstraction layer on the storage.
Currently this service seems to be not reusable so this means that we need to revisit it.

Expected behaviour
Delete players-adapter.
Create PlayersListFactory with the following interface:

  • get(storageKey)
  • isItemAdded(storageKey, item)
  • addItem(storageKey, item)
  • save(storageKey, list)

Create two "Models" like:

  • SavedPlayers
  • SelectedPlayers

that implement PlayerListFactory

Add translation service

Expected behaviour
We need to provide an app that supports the internationalization of its strings.
app/translations is supposed to host all translated strings.

Move bower and gulp as development dependencies

Expected behaviour
Project shouldn't need gulp and bower as global dependencies.
They should be part of the development dependencies and all scripts updated to use them instead of the global ones.

This case should update the main documentation as well.

Order players by name

The problem
In the selection page, all players are displayed by creation.

Expected behaviour
Order all players by name.

Improve code documentation

Expected behaviour
All functions should be documented with appropriate docblocks.
Readme files can be improved with other information.

Create the 'summary' module

Expected behaviour
As shown in the attachment, this page should be called often showing several steps of a match, from the beginning to the end.

screen shot 2016-09-30 at 23 17 38

Mark all ESlint warnings as errors

The problem
See the attachment. To allow first commits the ESlint task has been set as not blocking, so this means that all errors are marked as warnings.

We want to prevent future push with "errors", so all warnings need to be converted into errors in order to prevent push with some bad stuff.

screen shot 2016-09-30 at 21 48 02

Refactor round module

Expected behaviour
As shown in the attachment, the round section should show a list of buttons.

screen shot 2016-09-30 at 23 19 00

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.