SugarClub
SugarClub
  • User
  • Site
  • Search
  • User
  • Groups & Discussions
    Groups & Discussions
    • Product Forums
      Product-focused Q&A, discussions, best practices, fixes, and help
      Product Forums
      • Sugar Market
      • Sugar Sell & Enterprise
      • Sugar Serve
      • sales-i
    • User Groups
      Professional, Industry, Language
    • Get Involved
      Learn how to become a Raving Fan
    • Social Club
      Live, interactive, virtual meetups with other Sugar customers and Sugar’s Subject Matter experts!
    • Leadership Lounge
      Network with fellow organizational leaders, ask questions, and share insights
    • Developers
      Visit DevClub, the SugarClub group for Sugar Developers
      Developers
      • DevClub
      • Mobile Developers
      • Developer Builds
        Supplemental access level required. Inquiries: developers@sugarcrm.com
    • Additional Groups (Access Required)
      Groups that require special access will be displayed here. Contact sugarclub@sugarcrm.com for assistance. Click here to see all groups
      Additional Groups (Access Required)
      • SugarCloud Platform
  • Product Information
    Product Information
    • Release Central
      Find release-specific content to prepare for your next Sugar update
    • Documentation & Resources
      Looking to expand your Sugar knowledge? Explore our in-depth documentation and other helpful resources!
    • Product Update Blogs
      Updates about each Sugar product
    • Customer Stories »
      Case Studies by SugarCRM
  • Training & Certification
    Training & Certification
    • Training & Certification Home
      Live & On-Demand classes, Quick Videos, Sugar Certifications, and more!
    • Quick Videos
      Short videos about using Sugar
    • My SugarU Dashboard »
    • SugarU News & Updates
  • Adoption
    Adoption
    • Grow Adoption Framework
      Get started on your adoption journey and review the adoption resources from SugarCRM
  • Calendar
  • News
    News
    • Sugar News
    • SugarCRM.com News »
    • Dev Blog
    • SugarCRM Marketplace Blog
  • Help
    Help
    • Welcome to Sugar!
      New to Sugar? Get started here!
    • SugarClub Help & Instructions
      Learn more about SugarClub and find answers to questions about this site
    • New to SugarClub?
      Start your community journey here
    • Technical Support
      Sugar's support resources
      Technical Support
      • Case Portal »
        Access the SugarCRM Case Portal
      • Working with Sugar Support »
        Find out more about engaging with the SugarCRM Support team
      • SugarCloud Information
        Find information about SugarCloud service updates and site status. Contact sugarclub@sugarcrm.com to request access
  • More from Sugar
    More from Sugar
    • DevClub
    • PartnerClub
    • Support
    • SugarOutfitters Marketplace
    • sugarcrm.com
  • DevClub
  • PartnerClub
  • Support
  • Marketplace
  • sugarcrm.com
DevClub
DevClub
Dev Tutorials Modern UI Technical Guide
Click here to join this group and curate your SugarClub experience.
  • +On-Boarding Framework
  • +Customization Guides
  • -Modern UI Technical Guide
    • +UI Element Changes
    • Files with potential upgrade issues
  • +Automated PHP Compatibility Tool
  • +Customization Best Practices in Sugar
  • How to write code for SugarCloud webinar Q&A
  • HOW TO: enforce ACL on Tags
  • Remove custom fields created via package installation
  • Sugar Developer Tools
  • Tutorial:  How to register custom platforms in Sugar instances via Platform extension
  • Adding a google reCAPTCHA in a Web-to-Lead form
  • Sugar Developer Blog Style Guide

You are currently reviewing an older revision of this page.

  • History View current version

Modern UI Technical Guide

What is this Modern UI?

As part of SugarCRM’s commitment to simplifying and modernizing its platforms based on customer feedback and research, Sugar is initiating a new modernization phase of its user interface and navigation. This redesign follows principles of simplicity and consistency, aligned with Material Design 3.

Here is a top level overview of the benefits to the Modern UI: 

  • Simplicity & Consistency (Material Design 3 principles.)
  • Visual Hierarchy & Typography
  • Interactive Charts & Data Visualization
  • Colors, Gradients and Graphics
  • Rounded containers and buttons
  • Personalization & User-Centric Design 

Who is affected by this change?

This modernization has been designed to not have any impact on day-by-day user experience. No changes, other than visual (and some minor bug fixes), are being introduced in an iterative approach. 

Developers might be impacted by any customization in the following areas/components of Sugar: 

  • Handlebars templates 
  • CSS 
  • Javascript 

These areas suffered greater impacts, but should not have been customizable by developers: 

  • MVC View Templates (*.tpl)

When is this happening?

Sugar’s redesigned UI update is coming in our next cloud release 14.2 (Q4 2024) planned for October 2024.

  • End-users:
    • Should work with their partners for a sneak peak demo after release preview code is released in late-August.
  • Developers: 
    • Sugar will release a preview as per our cadence by late-August 2024. It follows our release preview program with an initial Release Preview Drop 1 and subsequently in Mid-September second drop with a more stable release.
    • Technical guide provides all the details you need, as a developer, to plan and refactor your code before our GA date.
    • Testing your refactored code will be available in the release preview's initial Drop.1. 

What will happen during the upgrade?

  • Sugar Upgrader will change core files in the base directory that were modified in this release.
  • If you have customized any Handlebars templates, Javascript controllers, or view/layout metadata files, your custom files will not be altered.
  • You may need to make some updates to your customizations to work well in the updated UI (see “What Action do I Need to Take” below for more information).

What action do I need to take?

  • At the very least, you should plan to test your customizations in your Sugar instance to ensure it still works as expected after upgrade.
    • If you have a sandbox environment, you can use it for your tests as it will be upgraded first per our policy.
  • If you have any existing customizations of the Handlebars templates, Javascript controllers, or layout/view metadata files updated by Modern UI work:
    • You will likely need to refactor your customizations to incorporate the new changes to the core file(s)
    • If you don't have, just make sure you test your customizations to ensure they still appear and behave as expected.
  • If you have any customizations built on these components:
    • Through the extension framework, these are typically safer customizations that are less likely to have issues on upgrade.
    • By overriding the core component file, these customizations are more likely to encounter issues on upgrade 
  • For more technical information about what changes to look for/test on upgrade to 14.2, and how to handle them, see the technical information section below 
  • Views/Layouts 
    • Handlebars Template 
      • If you override these templates, they may break on upgrade.
      • If they do break, make sure you compare your customization to the updated core file and incorporate changes from the core file into your custom template as needed 
    • Javascript 
      • If you used the extendsFrom attribute to extend a core controller, your changes will be loaded and should work.
      • We recommend you test to ensure it still does what it was supposed to.
      • The changes in 14.2 had minor impacts to Javascript behavior, but one change in particular to look out for is that some views/layouts/fields have had their ‘className’ attributes modified to update the CSS of the component.
      • If you have overridden this attribute in your Javascript customization, you may need to modify it to incorporate the changes from the core file 
    • PHP/Metadata 
      • If you've extended the metadata, your changes will be loaded and should work.
      • We recommend you test to ensure it still does what it was supposed to. 
  • If you've built an app or integration for Sugar that uses a Module Loadable Package (MLP) that includes custom Header or Footer:
    • You will need to refactor your customization manually to use the new components accordingly.
    • You will also need to update your module manifest to indicate compatibility with Sugar 14.2 and greater.
    • You may need to maintain two versions of your addon/MLP (prior to 14.2 and 14.2+)
  • Change management is an important
    • Modern UI affects how your end-users interact with Sugar hence plan knowledge transfer sessions so they can adapt to this new experience.

Can I opt out of this new UI change?

  • No. This is a part of Sugar’s standard release. This and future releases will include this redesign.
  • You should use this Technical Guide to refactor your customizations, addons or MLPs to ensure they'll work as designed in this release.
  • If your customizations and/or partners could not refactor their code in time or if your company is not ready to transition/train your users by GA.
    • Send an email to support@sugarcrm.com to request a postponement of your upgrade.
  • We do, however, encourage you to upgrade your sandboxes and start working on technical details as required.
  • If you still have questions about this redesign or customization updates, check our Support Team Case Portal.

You know what this guide is about and its impacts, let's get technical:

Move on to New Component Structure.