Description of the need
When adding a context by path, every field available to the context is presented in the dialog box. This not only produces un-necessary clutter but creates a bad UX because the field chosen may be attached to a different entity type, making it easy to accidentally add a similarly named field that won't display data as expected because it doesn't belong to the given layout path provided in the context.
Additionally, not filtering on a given criteria might also a performance hit on larger sites that have hundreds of fields. By limiting through the selection rule, it reduces the number of fields that need to be loaded.
Proposed solution
Add Selection Rules so a context can be limited to only show the fields related to the rule.
Alternatives that have been considered
See the Drupal Panels module Selection Rules for more inspiration.
Recent comments
Hi @Gnome and welcome to Backdrop When I create custom layout templates I put them in /layouts/custom/my_layout Note: you can split modules and layouts between contrib and custom...
My layout template (layout--blog.tpl.php) doesn't work
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform
After alot of trials, i have done the obvious and translated the whole block for different languages with each property condition as follows: ->propertyCondition('langcode', 'en...
How to get the current page language?