You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2023/09/25 06:16:48 UTC

[cloudstack-documentation] branch dashboard-improvements created (now a1bc066)

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a change to branch dashboard-improvements
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git


      at a1bc066  ui: add userCard configuration details

This branch includes the following new commits:

     new a1bc066  ui: add userCard configuration details

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[cloudstack-documentation] 01/01: ui: add userCard configuration details

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch dashboard-improvements
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git

commit a1bc0662a208c8d9c018f760cdb5e412a01eaaf5
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Mon Sep 25 11:46:27 2023 +0530

    ui: add userCard configuration details
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
 source/adminguide/ui.rst | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/source/adminguide/ui.rst b/source/adminguide/ui.rst
index a69f1db..0c6cfbc 100644
--- a/source/adminguide/ui.rst
+++ b/source/adminguide/ui.rst
@@ -287,6 +287,44 @@ Some assorted primary theme colours:
 - Green: #52C41A
 - Purple: #722ED1
 
+The config.json also allows to configure a special-purpose card that shows on
+the account and project dashboards. This card is created using the `userCard`
+section that has a configurable title, icon and a list of configurable links
+that have a title, text (description), link and icon.
+
+.. parsed-literal::
+
+  "userCard": {
+    "title": "label.help",
+    "icon": "question-circle-outlined",
+    "links": [
+      {
+        "title": "Documentation",
+        "text": "CloudStack documentation website",
+        "link": "https://docs.cloudstack.apache.org/en/latest/",
+        "icon": "read-outlined"
+      },
+      {
+        "title": "API Documentation",
+        "text": "Refer to API documentation",
+        "link": "https://cloudstack.apache.org/api.html",
+        "icon": "api-outlined"
+      },
+      {
+        "title": "Email Support",
+        "text": "Join CloudStack users mailing list to seek and provide support",
+        "link": "mailto:users-subscribe@cloudstack.apache.org",
+        "icon": "mail-outlined"
+      },
+      {
+        "title": "Report Issue",
+        "text": "Submit a bug or improvement request",
+        "link": "https://github.com/apache/cloudstack/issues/new",
+        "icon": "bug-outlined"
+      }
+    ]
+  },
+
 Contextual help documentation URLs can be customized with the help of `docBase` and `docHelpMappings` properties.
 To override a particular documentation URL, a mapping can be added for the URL path in the config. A documentation URL is formed by combining the `docBase` URL base and a path set in the source code. Adding a mapping for any particular path in the configuration will result in generating documetation URL with overridden path.
 By default, `docHelpMappings` lists all existing documentation URL suffixes, mapped to themselves, in the configuration file that are used in the code.