From 1f64b5167c726c904d8b9b50e88fb3734ad2cda9 Mon Sep 17 00:00:00 2001 From: "dev-docs-github-app[bot]" <178952281+dev-docs-github-app[bot]@users.noreply.github.com> Date: Thu, 17 Apr 2025 03:55:42 +0000 Subject: [PATCH 1/4] Create file --- dev-docs.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 dev-docs.json diff --git a/dev-docs.json b/dev-docs.json new file mode 100644 index 0000000000..ad795ee991 --- /dev/null +++ b/dev-docs.json @@ -0,0 +1,9 @@ +{ + "gitHubApp": { + "approvalWorkflow": true, + "userDocsWorkflows": [ + "generateUserDocs" + ], + "issues": true + } +} \ No newline at end of file From 4e377779011d92e6f9b0d21449935fafcb366c85 Mon Sep 17 00:00:00 2001 From: avb-dev-docs <123575048+avb-dev-docs@users.noreply.github.com> Date: Wed, 16 Apr 2025 20:57:34 -0700 Subject: [PATCH 2/4] Update dev-docs.json --- dev-docs.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev-docs.json b/dev-docs.json index ad795ee991..41cc331aa8 100644 --- a/dev-docs.json +++ b/dev-docs.json @@ -5,5 +5,6 @@ "generateUserDocs" ], "issues": true - } -} \ No newline at end of file + }, + "aiProvider": "google" +} From 2d5e3350fbc20bd1beed8a494ceaabf20e7965c3 Mon Sep 17 00:00:00 2001 From: avb-dev-docs <123575048+avb-dev-docs@users.noreply.github.com> Date: Wed, 16 Apr 2025 21:18:09 -0700 Subject: [PATCH 3/4] Update dev-docs.json --- dev-docs.json | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dev-docs.json b/dev-docs.json index 41cc331aa8..e1820254da 100644 --- a/dev-docs.json +++ b/dev-docs.json @@ -1,10 +1,3 @@ { - "gitHubApp": { - "approvalWorkflow": true, - "userDocsWorkflows": [ - "generateUserDocs" - ], - "issues": true - }, "aiProvider": "google" } From 7f9ea2ae0ea6a9c98abd2648606c84c3c2c31d45 Mon Sep 17 00:00:00 2001 From: "dev-docs-github-app-dev[bot]" <178211755+dev-docs-github-app-dev[bot]@users.noreply.github.com> Date: Thu, 17 Apr 2025 04:24:25 +0000 Subject: [PATCH 4/4] Update file --- docusaurus/docs/cms/features/admin-panel.md | 25 +++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/docusaurus/docs/cms/features/admin-panel.md b/docusaurus/docs/cms/features/admin-panel.md index ce220a0b12..e2fa57d6b6 100644 --- a/docusaurus/docs/cms/features/admin-panel.md +++ b/docusaurus/docs/cms/features/admin-panel.md @@ -2,6 +2,17 @@ title: Admin panel description: Learn to use the admin panel. toc_max_heading_level: 5 +tags: + - admin panel + - profile + - light mode + - dark mode +--- +```markdown +--- +title: Admin panel +description: Learn to use the admin panel. +toc_max_heading_level: 5 tags: - admin panel - profile @@ -153,3 +164,17 @@ sources={{ dark: '/img/assets/getting-started/login-page_DARK.png', }} /> + +## Admin Panel Widgets + +The admin panel's homepage includes widgets that display information such as recently edited and published entries. These widgets may display different states based on the data available and the user's permissions. + +* **Loading State:** A loader is displayed while the widget fetches data. + +* **Error State:** An error message is shown if the widget fails to load data. + +* **No Data State:** A message indicates that no data is available if the widget has no content to display. + +* **No Permissions State:** A message indicates that the user does not have the necessary permissions to view the widget. This state ensures that sensitive information is not exposed to unauthorized users. + +These states are handled using the `Widget` component, which provides a consistent way to display these different states in the admin panel. Ensure your user roles and permissions are appropriately configured to allow users to see the data they need. If a user is seeing a "No Permissions" message, verify their role has the correct permissions set in the RBAC settings.