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

New order does not show in admin dashboard #117

Closed
AmandaDLyon opened this issue May 19, 2020 · 3 comments · Fixed by #118
Closed

New order does not show in admin dashboard #117

AmandaDLyon opened this issue May 19, 2020 · 3 comments · Fixed by #118
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@AmandaDLyon
Copy link

Describe the bug

When a new order is placed, it does not show up in the Admin dashboard.

To Reproduce
Steps to reproduce the behavior:

  1. Place a new order
  2. Sign into dashboard
  3. The new order does not show

Expected behavior

The order must show on the dashboard and I should be able to filter between the condition of the order. As in, completed orders should be separated from pending orders.

Additional context

I logged in with veniqademo@gmail.com and password was pass$12 on my local system. I accidentally deleted the super admin accounts (oops!)

However, I am able to make changes to the featured section of the homepage through the aforementioned credentials.

@smaharj1
Copy link
Collaborator

I believe this is because of the pagination feature on the Orders page. There are probably more than 10 orders already made. This feature is yet to be developed from web application side.

About deleting your super admin account in local, you can make changes in Featured section of the admin dashboard, but you can't save it. We decided to enable this to showcase the application's dashboard side features. If this is not what you were talking about, when you use Docker, we are restoring the "original" data every time you do a fresh start of docker. You can change the setting any way you want from the mongo dockerfile.

@smaharj1 smaharj1 added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels May 20, 2020
@AmandaDLyon
Copy link
Author

@smaharj1 so what would be the work-around to the pagination issue? Is it possible for me to simply lift how many orders can be seen on one page?

And once an order is marked as completed/fulfilled, where does it go? What happens to it?

@smaharj1
Copy link
Collaborator

@AmandaDLyon the api capability is there. Only the UI doesn't have 'next page'/'previous page' functionality. You can simply accomplish this by adding pagination and when you make api calls to get orders, give paging info.

@smaharj1 smaharj1 linked a pull request May 23, 2020 that will close this issue
11 tasks
Viveckh added a commit that referenced this issue May 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants