Giter Club home page Giter Club logo

web-ui's People

Contributors

danilkuznetsov avatar makskulykov avatar olgakulikova avatar petrokramar avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

web-ui's Issues

Create class Achievement

Class Achievement contains next fileld :

class Achievement {
id: string,
from: string,
to: string,
sendDate: number,
point: number,
description: string,
type: string
}

Create structure project

Move all files to right packages and folders.
Make a structure for assets (images, bootstrap files and etc)

Create component user-details-table

Create new component for view detail user statistics
List columns in table.

from | to | description| count | date | type

from must be converted to user-name using method getNameByUuid(uuid) in userService
to is name user on which to build statistics

Data for this table is array of UserDetails objects that return method getUserDetails(uuid) in gamificationService

Implement Teams page

It shoud be done like tile. One tile = one team. Team has no name and no number so within the tile users names have to be shown. And these names I can click and go to the User Details page.
The example is attached (very simple example, you can do more beautiful).
teams tile

Rename class Person to User

Rename old class Person and add additional fileds
class User contains next field :

User {
   uid, 
   name, 
   skype, 
   slack 
}

Refactoring

Do refactoring code style and small mistakes.

Implement the page Active keepers

Show the table with columns: name, slack, directions.
Do the request to the Keepers microservice:
url - "/keepers"
method - GET
request - {}
response -
[ { "uuid": ... , "directions": ["dir1", "dir2"] }, { "uuid": ... , "directions": ["dir1", "dir2"] } ]

Create method getNameByUuid() for userService

Create method getNameByUuid(uuid) that return of User objects from remote user service. uuid is param for find user.

In class User, fields that are not used must be skipped

See details for user api

Add reverse for user details table

Old approach was bad, but this feature still need

Need change user detail view and move new records to top.

Maybe you can create and use pipe for reverse operation

Create buttons Details in AllUsersTable

When the page is loaded, in each row displays a button btnDetails.
Click on the button opens a new view to view detailed statistics for the user.
Open view user-details-table

Add routing between two view all-user-table and user-details-table

Create method getPointSumForAllUsers into GamificationService

Create or update GamificationService.

In GamificationService create method getPointSumForAllUsers() which receives the data from the remote service and converts them into an array UserActivity

First use a local file json with the required data
json file is simple mock.

Fix vulnerability in dependencies

Github added new service for searching vulnerability in dependencies.

Message
The handlebars dependency defined in package-lock.json has a known moderate severity security vulnerability in version range < 4.0.0 and should be updated.

Create method getAllUsers into UserService

Create or update UserService.
In UserService create method getAllUsers which recieves the data from remote service and convert to array User

First use local json file with the required data. json file is simple mock.

User { 
 uid,
 name,
 slack,
 skype
}

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.