Lucy
  • Introduction to Lucy
  • Getting Started
  • Key Components
  • Gallery (Dashboards)
    • Creating a Canvas
    • Editing Properties of a Canvas
    • Searching and Viewing Your Canvases
    • Adding Widgets onto Your Canvas
    • Customising User-created Widgets on a Canvas
    • Adjusting Widget Settings
    • Moving a Widget around a Canvas
    • Resizing a Widget on a Canvas
    • Filtering Data in a Widget
    • Deleting a Widget from Your Canvas
    • Building a Widget from Your Canvas
    • Customising a Canvas
  • My Work (Folders)
    • Creating a New Folder
    • Searching and Viewing Your Folders
    • Adding Notes related to a Folder
    • Databases
      • Understanding Databases
      • Creating and Editing Databases
        • Creating a Database Manually
        • Creating a Database by Importing Data from an External Source
        • Using an External Source as a Database
        • Editing Fields in a Database
      • Editing Data in a Database
      • Using the Database Collection Viewer
      • Searching, Filtering, and Sorting Data in a Database
      • Exporting Data from a Database
      • Utilising Content-aware Autofill to Automatically Fill in Fields in Your Database
      • Entering a Question about Databases within a Folder to Build Your Own Widget
      • Adding Data into a Database
    • User Interfaces
      • Designing a User Interface
        • Designing a User Interface to Visualise Information
        • Designing a User Interface to Capture User Feedback
        • Designing a User Interface from Scratch
      • Working with the Widget Designer
      • Selecting a Widget Template
        • Item List Widget Template
      • Viewing Your User Interfaces
      • Sharing a User Interface
      • Saving a Widget as a Template
      • Exporting a User Interface
      • Enabling Anonymous Access to a User Interface
    • Workflows and Integrations
      • Using the Workflow Editor
      • Creating Workflows
      • Creating a Workflow to Run When New Data is Added to a Database
      • Creating a Workflow to Run When an Email is Received
      • Creating a Workflow to Run When a Message from a Chatbot is Received
      • Creating a Workflow that Runs at Specified Intervals
      • Viewing and Editing Your Workflows
      • Automating Form Submission with Email Notification
      • Automating Form Submission with Slack Message
  • Add-ons
    • Installing a New Add-on in Lucy
    • Visitor Management
    • Monitoring Internal Air Quality (IAQ) at Your Workplace
    • Setting up Occupancy Analytics at Your Workplace
    • Energy Budgeting
    • Water Budgeting
    • Gas Budgeting
    • Carbon Footprint Calculation
    • Weather
  • Mobile App
    • Getting Started
    • Designing Your Mobile App
      • Working with the Mobile App Designer
      • Handling Button Click Events
      • Designing the Login Page
      • Designing the Homepage
      • Designing the Settings Page
      • Choosing a Page Type
      • Adding a New Tab to the Bottom Navigation Bar
      • Launching a Widget on Tab Click
  • Users
    • Registering a User
    • Creating a User Group
    • Searching and Viewing Users
    • Editing User Details
    • Your Profile
  • News Feeds
    • Creating a News Feed
    • Searching and Viewing News Feeds
    • Editing a News Feed
Powered by GitBook
On this page
  • Designing a User Interface from Scratch
  • Viewing Your User Interfaces
  1. My Work (Folders)
  2. User Interfaces
  3. Designing a User Interface

Designing a User Interface from Scratch

This article is intended to guide you on designing and customising your own user interface.

To design your user interface, choose a pre-built widget template that suits your intended purpose. For instance, if you want to display a simple text and image, you could use a "Simple Card" template. If you want to embed a YouTube video, you could use a "YouTube Card" template. This approach can save time and effort, as you don't have to design everything from scratch.

Widget Templates

Widget templates are pre-designed templates that provide a foundation for designing user interfaces.

For example, let's use the "Simple Card" widget template. This template allows to configure a background image, icon, title and a clickable button. Upon clicking the button, we can trigger a variety of actions, including:

  • Opening an external link: Directs users to a specified website or webpage.

  • Opening an existing widget: Navigates users to another widget.

  • Executing a Lucy action: Initiates a specific Lucy action, such as sending a notification when the button is clicked.

  • Opening an existing add-on: Launches a particular add-on.

  • Opening a mobile screen: Launches a specific mobile screen, such as the Currency page, designed exclusively for mobile apps.

Designing a User Interface from Scratch

To design a user interface from the ground up:

  1. On the app homepage, go to the My Work on the left.

  2. Search and click on the folder you wish to open.

  3. Navigate to the User Interfaces tab.

  4. Click the + icon.

  5. Choose the Start from Scratch option. This action will display a collection of widget templates to choose from.

  6. Pick the desired Widget Template e.g., Simple Card.

  7. Click Edit this Template to open the template on the widget designer page.

  8. Customise the card as required.

    1. Add a new background image.

      1. Click the background image to open the properties panel on the right.

      2. Click the Search icon.

      3. Choose a image from the gallery or if you already have one, click Upload your own to upload it.

      4. Background Position: Click on required circle to position the image on the card.

      5. Background Size: This property allows you to control how the image is scaled and displayed on the card. Choose the desired background size (e.g., Fill Area).

    2. Customise the footer section of the card.

      1. Click the footer section to open the properties panel on the right.

      2. Background Colour: Select a background colour for the footer.

    3. Add a new icon.

      1. Click the icon to open the properties panel on the right.

      2. Icon: Click the icon field to choose an icon from the Search Icons window.

      3. Colour: Select a icon colour.

      4. Size: Enter a suitable icon size.

    4. Modify Text.

      1. Click the Title of the card.

      2. Text: Enter a appropriate title.

      3. Colour: Pick a title colour.

      4. Size: Change the title size.

      5. Text Align: Used to position the title within the card. Choose the required alignment option.

    5. Customise the button.

      1. Click the button on the card and the properties panel will open on the right.

      2. Label: Type a clear label e.g., Register an asset.

      3. Edit Action: Click this button to open the Action Editor window. This window has five tabs: Open URL, Open Widget, Execute Action, Open Add-on, and Open Mobile Screen. Use these tabs to set what happens when the button is clicked.

        1. Open URL: You can configure a URL to be opened when the button is clicked.

        2. Open Widget: Used to select a specific widget to be opened when the button is clicked.

        3. Execute Action: Used to run a specific Lucy action, such as sending a notification when a work request is created. You can select a model, choose an appropriate action, and provide parameters. Additionally, configure the post-action behavior.

        4. Open Add-on: Used to configure a specific add-on to be opened when the button is clicked.

        5. Open Mobile Screen: Used to select a predefined mobile screen to be opened when the button is clicked.

      4. After configuring the action, click Done.

  9. Once you're happy with your design, click the Save widget button to save your widget.

  10. All your saved user interfaces will be listed under the User Interfaces tab of the respective folder.

    1. To access and view the designed user interface later, go to the User Interfaces tab of the respective folder.

    2. Click on the user interface to open it in a new window.

Watch the video below on designing a user interface from the ground up to gain a better understanding.

Viewing Your User Interfaces

You can find saved user interfaces in the User Interfaces tab of the corresponding folder.

Find the article here:

PreviousDesigning a User Interface to Capture User FeedbackNextWorking with the Widget Designer

Last updated 6 months ago

Viewing Your User Interfaces