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

Simplify orders table on dashboard #1762

Open
wants to merge 2 commits into
base: 1.x
Choose a base branch
from

Conversation

alecritson
Copy link
Collaborator

Closes #1758

On the dashboard we reuse the orders table from the OrderResource class, which is causing a host of javascript errors as the more complex the table gets, meaning we have to override a bunch of things on the table, increasing complexity.

Since the latest orders table on the dashboard is meant to be a simplified version of the orders listing table, I don't think it should use the table provided by the resource. This PR looks to strip it back and just use the columns which the resource defines.

@alecritson alecritson added the admin-panel Improvements or additions to admin panel label May 20, 2024
@alecritson alecritson added this to the v1.0 milestone May 20, 2024
Copy link

vercel bot commented May 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lunar-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 0:49am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin-panel Improvements or additions to admin panel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Orders list page - js errors
2 participants