PiedTeam / NikeCloneTraining-FE-BackOffice

0 stars 0 forks source link

[BO] Create UI page Account List #7

Open tientran1234 opened 1 month ago

tientran1234 commented 1 month ago

Sample: https://dribbble.com/tags/user-list Requirement:

Column requirement

tientran1234 commented 1 month ago

Handle no record UI: can you explan more ? @minhhy2801

minhhy2801 commented 1 month ago

Handle no record UI: can you explan more ? @minhhy2801

This ticket was moved to next sprint. We will discuss it in next sprint

tientran1234 commented 2 weeks ago

can you explain this again ? sir @minhhy2801

hoangday185 commented 2 weeks ago

@tientran1234 I need you to define the type of data you want to response from the server when you call api get list acount

ex :

type UserList = Array<{
   _id : string
   name : string
  email : string
 status : UserStatus
 role : UserRole 
}>

const userList : UserList = await databaseService.users.getListAccount()

res.json({
   message : ''get list user success'',
   data : {
      listUser : usersList
   }
})
tientran1234 commented 1 week ago

@hoangday185 yeah like this id: name sdt mail role status active or block