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

Create dashboard page #341

Closed
DennisAlund opened this issue May 21, 2024 · 1 comment
Closed

Create dashboard page #341

DennisAlund opened this issue May 21, 2024 · 1 comment
Assignees
Labels
priority:high 🚑 High priority issue type:enhancement 😃 New feature or request
Milestone

Comments

@DennisAlund
Copy link
Member

Description

Create a simple dashboard as a landing page for the CMS.

1. Update the sidebar menu

  • The dashboard menu items should not be a dropdown.
  • Remove the eCommerce option
  • Clicking dashboard menu item should be the landing page of the CMS
image

3. Create a simple post type counter

This is the only element on the dashboard. Use the following element template
image

  • Read content types from firestore path: /tanam/tanam-testing/document-types
  • Count how many posts are of each type by using aggregate queries
  • Count the documents by querying firestore path: /tanam/tanam-testing/documents on their attribute documentType to match the document id in document-types
@DennisAlund DennisAlund added type:enhancement 😃 New feature or request priority:high 🚑 High priority issue labels May 21, 2024
@DennisAlund DennisAlund added this to the google-io-ext milestone May 21, 2024
@muzanella11 muzanella11 self-assigned this May 21, 2024
@DennisAlund
Copy link
Member Author

Create two tables on the dashboard page

  1. List of most recently created documents
  2. List of all document types and a counter for how many documents exist of that type (aggregation query)

@DennisAlund DennisAlund linked a pull request May 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
priority:high 🚑 High priority issue type:enhancement 😃 New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants