Open

Views

Encourage use of classes in view, display, rows, fields.

Admin

Extend views_ui/admin.styles library, fixes in views_ui.admin.theme.css.

See also: Views admin.

Examples

Faceted search
https://www.drupalarchitect.info/module

Table w/ filters
https://www.retrograde.bike/parts

Templates

views-view-unformated.html.twig, views-view-list.html.twig.

Removed h3 tag, just print {{ title }}. Group headings must be configured in rewrite text for the grouping field.

Issue for making the grouping header customizable:

https://www.drupal.org/project/drupal/issues/1383696

Utilities

Section Header

Underline, italic, right aligned.
Used as subgroup class.
Set position: relative on parent element for sticky position.

Examples
https://www.andrewsclasses.com/courses
https://www.drupalarchitect.info/

Misc

Tags

Taxonomy terms can be prefixed with # by rewriting the field with #{{ field_tags }}.

Drupal views tags prefix

Grouping

Views has a basic grouping template.

You can add a wrapper in here around the title and grouped content.

Group title is also printed in the views style template as an h3.

The h3 has been removed from style templates.

Group headers must be set in the views field rewrite. Style settings don't seem to work.

Issues:

Remove remaining grouping_level from core

HTML outputted as text when using table format with more than one grouping

Views grouping field is double-escaped

Preprocess hook implementation of views_view_grouping never triggering

Leverage views grouping for entityreference selection widget

Views strips HTML from content when grouping fields in columns in Table Format

Group titles not displaying properly

Views grouping field is double-escaped

HTML outputted as text when using table format with more than one grouping

Views relationships with multi-valued entity reference fields invalidate Distinct query option

Twig Debug output shows in Group By title if grouping term has a label

Group by Taxonomy Term Depth

Add support for tables with two headers in views table display

Examples

Drupal Architect