Overview
The Dashboards page is designed to list all existing dashboards based on user roles and permissions. It includes functionalities like searching, adding, viewing, and deleting dashboards, along with pagination for efficient navigation.
Features and Functionalities
1. Dashboard Listing for Users
- Admin Users: Can view all available dashboards.
- Regular Users: Can view only the dashboards they have access to.
2. Dashboard Count
- Displayed in the top-left corner as
Dashboards (Count)
.
- Example:
- Total dashboards: 20 → Displays
Dashboards (20)
.
- After search: Displays the count of dashboards matching the search criteria.
- No dashboards: Displays
Dashboards (0)
.
3. Search Functionality
- Users can search dashboards by Dashboard Name.
- The dashboard count updates dynamically based on search results.
4. Add Dashboard
- Admin Users: Always see the Add Dashboard button.
- Regular Users: See the button only if they have Write Access or Full Access to any dashboard.
5. Pagination
- Initially, 6 dashboards are displayed.
- For more dashboards, a Load More button is shown.
- Clicking Load More displays the next 6 dashboards.