Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BO] Create UI page Account List #7

Open
tientran1234 opened this issue May 23, 2024 · 5 comments · May be fixed by #8
Open

[BO] Create UI page Account List #7

tientran1234 opened this issue May 23, 2024 · 5 comments · May be fixed by #8
Assignees

Comments

@tientran1234
Copy link

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

  • 3 tab: ALL | Employee | Client
  • Show table user, (default 20 records), per page 3 options 5, 20, 50, 100
  • Having filter, sort
  • Search name, sdt, mail (1 input)
  • Handle no record UI

Column requirement

  • id
  • name
  • sdt
  • mail
  • role
  • status active or block
@tientran1234 tientran1234 self-assigned this May 23, 2024
@tientran1234
Copy link
Author

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

@minhhy2801
Copy link

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

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

@tientran1234
Copy link
Author

can you explain this again ? sir @minhhy2801

@hoangday185
Copy link

@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
Copy link
Author

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

@tientran1234 tientran1234 reopened this Jun 27, 2024
@tientran1234 tientran1234 transferred this issue from PiedTeam/NikeCloneTraining-FE-Project Jun 27, 2024
@tientran1234 tientran1234 linked a pull request Jun 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants