SaaS CMS has officially launched! Learn more now.

Linh Nguyen
Mar 19, 2024
  544
(3 votes)

Improve user experience with restriction information

In EPiServer.CMS.UI 12.28.0, an improvement for restriction information is added.

Previously the restriction information takes quite a lot of space, especially for big sites with a long list of restricted types.

This new improvement reduces the space significantly while still gives editors information about restricted types they need to know.

Before:

Now:

Users can expand the list to view all restricted types, and collapse it if they want.

Mar 19, 2024

Comments

Mike Malloy
Mike Malloy Mar 19, 2024 07:21 PM

Thanks.

Can you improve the users experience by doing this one too?
https://feedback.optimizely.com/ideas/CMS-I-410

Linh Nguyen
Linh Nguyen Mar 19, 2024 10:38 PM

Mike Malloy The suggestion sounds reasonable. But it will need to go through our product manager to evaluate the design and prioritise the work. Thank you for bring it up!

Mark Stott
Mark Stott Mar 20, 2024 10:44 AM

Hello Linh,

This is a very nice quality of life change.  I've seen and implemented the usage of interfaces to classify block types to make block restrictions easier to manage across the solution.  Examples being blocks that have interfaces of IFullWidthBlock, ITwoThirdsBlock, IHeroBlock etc.  It allowed you to apply restrictions very easily and to include a new block to the LeftContent areas across all templates very quickly:

    [Display(
        Name = "Main Content",
        Order = 20)]
    [AllowedTypes(typeof(ITwoThirdsBlock))]
    public virtual ContentArea? LeftContent { get; set; }

    [Display(
        Name = "Main Content",
        Order = 20)]
    [AllowedTypes(typeof(IOneThirdBlock))]
    public virtual ContentArea? LeftContent { get; set; }

The previous iteration of the restrictions hint text wasn't terribly helpful as it said "You  can add these content types: block".  I can see this updated version works a lot nicer, however you wouldn't want the "undefined" part of this.

Please note in this quick example I only have one block using the interface.

Thank you :)

Linh Nguyen
Linh Nguyen Mar 20, 2024 11:28 AM

Thank you, Mark Stott! We do have a bug for it (CMS-32870), hopefully we can fix it soon.

Mark Stott
Mark Stott Mar 20, 2024 11:35 AM

Thank you Linh :)

Linh Nguyen
Linh Nguyen Mar 20, 2024 01:37 PM

Here is the bug link, it is recently set public https://world.optimizely.com/support/Bug-list/bug/CMS-32870

Linda Mohacsi
Linda Mohacsi May 2, 2024 11:26 AM

Hi!

Looks good! But I noticed that the Swedish translations for the contentreferencelisteditor restriction texts are missing.

We run the UI in Swedish and that text comes up in English.

Is that something that you would like me to report as a bug?

Linh Nguyen
Linh Nguyen May 2, 2024 11:30 AM

Hi Linda Mohacsi,

We are aware that some texts aren't translated. We often have a bit delay with translation. But I will make sure to have the translated texts release soon.

Linda Mohacsi
Linda Mohacsi May 2, 2024 11:32 AM

Thanks Linh! Then we will be patient :) 

Jonas Carlbaum
Jonas Carlbaum May 2, 2024 12:20 PM

It's kind of a "fun fact" that swedish translations are missing these days, since the swedish traditionally was the first language you did translate, as of my memory, being around and knowing the history from ElektroPost AB => EPiServer => Optimizely... With the solid base in Stockholm... I guess swedish translations should be the bare minimum included after every review and before every release... ;) 

Robert Svallin
Robert Svallin May 2, 2024 12:37 PM

Jonas, we will try to improve.

Please login to comment.
Latest blogs
Optimizely SaaS CMS Concepts and Terminologies

Whether you're a new user of Optimizely CMS or a veteran who have been through the evolution of it, the SaaS CMS is bringing some new concepts and...

Patrick Lam | Jul 15, 2024

How to have a link plugin with extra link id attribute in TinyMce

Introduce Optimizely CMS Editing is using TinyMce for editing rich-text content. We need to use this control a lot in CMS site for kind of WYSWYG...

Binh Nguyen Thi | Jul 13, 2024

Create your first demo site with Optimizely SaaS/Visual Builder

Hello everyone, We are very excited about the launch of our SaaS CMS and the new Visual Builder that comes with it. Since it is the first time you'...

Patrick Lam | Jul 11, 2024

Integrate a CMP workflow step with CMS

As you might know Optimizely has an integration where you can create and edit pages in the CMS directly from the CMP. One of the benefits of this i...

Marcus Hoffmann | Jul 10, 2024