Customising a Canvas
Last updated
Last updated
Beyond customising individual widgets, you can personalise your canvas further by:
Adding Sidebar Items
Adding a Logo and Colours
Advanced Configuration
Changing the Color Theme
Before starting this tutorial, you need to have a knowledge in creating a canvas in Lucy.
Add Sidebar items/links help you to navigate to different pages in your canvas. They are typically located on the left side of your canvas for easy access.
There are two ways to create a sidebar item on your canvas.
Developers can use the React toolkit (lucy-xp) to build widgets and register sidebar links, which can then be added to a canvas.
To Select from an Existing Sidebar Item
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Click the Cutomise icon in the bottom right corner.
Then, click Customise this Canvas.
Click the Add Item button.
Pick the Select from an Existing One tab.
Sidebar Link: Select the required existing sidebar link from the list.
Custom Label: Type in the name to be displayed in the link and the existing label will be replaced by the entered one or keep the existing label if necessary.
User Roles: Select required user groups who has access to the link. To allow anyone to access it, do not select any.
Click Save.
Click Save once again.
You will see a sidebar link added to your canvas.
You can create a sidebar item/links in your canvas to open a URL, launch a secondary canvas, or make it a dropdown list.
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Then, click Customise this Canvas.
Click the Add Item button.
Pick the Create a New One tab.
Label:Enter an appropriate label for the sidebar item. This label will be displayed to users, so it should be easy to understand and relevant to the item's purpose.
Type: There are three types of sidebar items: Open URL, Open a Secondary Canvas and Create a Dropdown. Select Open URL to open an external link when the sidebar item is clicked.
URL: Enter the URL.
Open link in: Select to open in a new tab or in the same tab.
User Roles: Select required user groups who has access to the link. To allow anyone to access it, do not select any.
Click Save.
Click Save once again.
You will see a sidebar link added to your canvas. Click on it to open the web page.
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Then, click Customise this Canvas.
Click the Add Item button.
Pick the Create a New One tab.
Label: Enter an appropriate label for the sidebar item. This label will be displayed to users, so it should be easy to understand and relevant to the item's purpose, e.g., Property Management.
Type: There are three types of sidebar items: Open URL, Open a Secondary Canvas and Create a Dropdown. Choose the required type.
Select Open a Secondary Canvas to create an additional canvas on your current canvas.
Name: Enter a name for the secondary canvas.
User Roles: Select required user groups who has access to the link. To allow anyone to access it, do not select any.
Click Save.
Click Save once again.
You will see a sidebar link added to your canvas. Click on it and you will see an additional empty canvas opened on the same tab. Customise it as needed.
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Then, click Customise this Canvas.
Click the Add Item button.
Pick the Create a New One tab.
Label: Enter an appropriate label for the sidebar item. This label will be displayed to users, so it should be easy to understand and relevant to the item's purpose.
Type: There are three types of sidebar items: Open URL, Open a Secondary Canvas and Create a Dropdown. Select Create a Dropdown option to make the sidebar item a dropdown and configure options to be displayed under the dropdown list.
Add dropdown options under the sidebar item.
Click Add Item.
Select from an Existing Item tab: Pick this tab to select an existing sidebar item as the dropdown option.
Create a New One tab: Pick this tab to create a new dropdown option.
Label: Enter an appropriate label for the dropdown option.
Type: There are two types of options: Open URL and Open a Secondary Canvas.
Configure the details as necessary.
Add more options under the dropdown as necessary.
Click Save.
Click Save once again.
You will see a sidebar link added to your canvas. Click on it to expand it and view the configured options under it.
Click on each option to see its functionality.
Add your logo to your canvas and customise the colors of the sidebar and the header.
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Then, click Customise this Canvas.
Add a Logo to your canvas.
Navigate to the left sidebar section of the canvas.
To add a logo, either drag and drop the desired image onto the designated upload area or paste the image's URL into the provided field.
Click Upload.
Add a gradient colour to the sidebar.
Navigate to the left sidebar section of the canvas.
Pick required colours.
Add a header colour or a background image.
Navigate to the header section of the canvas.
To add a header colour, pick the required colour.
Add a background image.
To add a background image, either drag and drop the desired image onto the designated upload area or paste the image's URL into the provided field.
Click Upload.
Add a canvas background image.
Navigate to the footer section of the canvas.
To add a background image, either drag and drop the desired image onto the designated upload area or paste the image's URL into the provided field.
Click Upload.
Blur Background: Select this option to apply a blurred effect to the canvas background.
Click Save.
Under Advanced Configuration, you have two options.
Set as Default
Clear Dashboard
Any canvas can be personalised. Although, it's the same canvas, the content in it can vary depending on the user. By setting a canvas as default, all users can see the same content. Any modifications to the canvas done by a user will be overridden by the default settings, preserving the original configuration.
To Set a Canvas as Default
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Then, click Advanced Configuration.
Click Set as Default.
Click the Exit button to leave the edit mode.
Your canvas is now set as the default.
Log in to Lucy using a different account and open the same canvas.
Modify the canvas, e.g., Add a widget.
Switch back to your account and open the canvas.
You will see that the modifications not applied to the canvas.
Clearing a Dashboard involves removing all widgets from your canvas.
To Clear Your Dashboard
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Then, click Advanced Configuration.
Click Clear Dashboard.
All the widgets added to the canvas will be removed.
Click the Exit button to leave the edit mode.
Color theme is the overall color palette used in your canvas. You can often choose between a dark or light theme to change the appearance of the background, text, and other elements.
On the Lucy app homepage, go to the Gallery tab.
Gallery page will open.
On the Gallery page, find and click on your canvas to open it.
Dark mode: Click the Dark option to switch from light mode to dark.
Light mode: Click the Light option to switch from dark mode to light.
Click the Cutomise icon in the bottom right corner.
Click the Cutomise icon in the bottom right corner.
Click the Cutomise icon in the bottom right corner.
Click the Cutomise icon in the bottom right corner.
Click the icon at the top left.
Click icon.
Click icon.
Click the Cutomise icon in the bottom right corner.
Click the Cutomise icon in the bottom right corner.
Click the Colour Pallet icon . When you create a new canvas, the light mode is activated by default.