question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3.0: UX of Widget Editor Drawer

See original GitHub issue

Playing around the Widget Editor drawer, I had 2 suggestions to have a better user experience.

  1. Allow to possibility to add text bloc and separator For widget with multiple or unclear options, it could be useful to be able to add descriptive text to help the end-user. The integration could be in a standalone bloc of a description option. Separators could also be added to help organize widget with multiple options.
fields: {
  add: {
    complexOption: {
      type: 'boolean',
      label: 'Label',
      description: 'More information related to this field. It could be displayed as muted text under the label or with a "?" icon next to it.'
    },
    complexOptionText: {
      type: 'abstract:text',
      content: 'Adding more flexibility, we could have a bloc by itself.'
    },
    separator: {
      type: 'abstract:separator',
    }
  }
}
  1. Add an option to area to not render in the Widget Editor drawer Since some area bloc can be pretty complex, it can become a little awkward to display it in the small drawer.

Really having fun working with V3 so far! I’m really looking forward to it!

Thank you!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gmarchildoncommented, Apr 19, 2021

I think what I was looking for is exactly what @stuartromanek mentioned with the “contextual” flag.

I feel like most of the time, it would just me easier to manage these areas directly in the page instead of the dialog/drawer box. I have the same feeling when I’m editing a page via the “Page Tree”.

In my opinion, I don’t think having a bigger space would fix the issue, in the end, it does not represent the final result and it’s a less pleasant experience than editing directly in the page.

1reaction
stuartromanekcommented, Apr 19, 2021

Hey @gmarchildon, thanks for the ticket.

An overview description of a widget would be a good enhancement for giving the editor a fuller picture of what they’re working with. If you want to open up a more specific enhancement issue for that we would welcome it.

Individual fields do have the ability to include their own help text, just pass a help property with a string and it will be rendered under the field title but above the field UI. You can also pass htmlHelp and provide an HTML string for a more custom help description.

As for not rendering areas in schemas, yes, this is not always ideal and we have a flag for hiding them in A2. We need to port it to A3. The flag was contextual: true in A2, I’m not 100% sure it will be named the same in A3 but be on the look out for something along those lines.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implement Best Practices for UX Design - Mendix Docs
Describes best practices written by a UX Designer for contributing to the app development process.
Read more >
31 Free UI/UX Tools For Designers to Make User Friendly ...
List of 31 free UI-UX tools to make your website UI/UX friendly. · Five Second Test · Axure · Bootstrap · Streamline 3.0...
Read more >
What are the little arrows called that hide additional details?
When the user clicks on it, the item expands to show additional details. Does this UI pattern have a name? Other than "little...
Read more >
Components – Material Design 3
Components are interactive building blocks for creating a user interface. They can be organized into five categories based on their purpose: Action, ...
Read more >
Material Components widgets - Flutter documentation
Implements the basic Material Design visual layout structure. This class provides APIs for showing drawers, snack bars, and bottom sheets. SliverAppBar. A ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found