List field enhancer for displaying key and value

Created on 8 April 2024, 2 months ago
Updated 12 June 2024, 5 days ago

Problem/Motivation

Currently list fields only display the value. This may not be contextual enough without the key/label.

Steps to reproduce

Use a list item field. Only see values.

Proposed resolution

Add ListFieldEnhancer which enhances list fields to return the key and value

Feature request
Status

Fixed

Version

3.0

Component

Code

Created by

🇺🇸United States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @mglaman
  • Merge request !46Add ListFieldEnhancer → (Merged) created by mglaman
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 5.7
    last update 2 months ago
    11 pass, 4 fail
  • Status changed to Needs review 2 months ago
  • 🇺🇸United States mglaman WI, USA

    amangrover90 wrote this internally, I just made the MR. It would be great to add him for issue credit.

  • Pipeline finished with Failed
    2 months ago
    Total: 220s
    #140941
  • e0ipso Can Picafort

    Adding credit. Thanks both!

  • 🇺🇸United States mglaman WI, USA

    thanks @e0ipso! I'll be circling around this week or next to write the test

  • Pipeline finished with Canceled
    2 months ago
    Total: 17s
    #142655
  • Pipeline finished with Canceled
    2 months ago
    Total: 123s
    #142656
  • Pipeline finished with Success
    2 months ago
    Total: 178s
    #142657
  • Pipeline finished with Success
    2 months ago
    Total: 212s
    #143236
  • Pipeline finished with Success
    2 months ago
    Total: 264s
    #144933
  • Pipeline finished with Canceled
    2 months ago
    Total: 9s
    #144945
  • Pipeline finished with Success
    2 months ago
    Total: 240s
    #144947
  • Pipeline finished with Success
    2 months ago
    Total: 305s
    #145189
  • Pipeline finished with Canceled
    2 months ago
    Total: 13s
    #147998
  • Pipeline finished with Failed
    2 months ago
    Total: 448s
    #148002
  • Pipeline finished with Failed
    2 months ago
    Total: 529s
    #148022
  • Pipeline finished with Success
    2 months ago
    Total: 499s
    #148048
  • Pipeline finished with Success
    2 months ago
    Total: 516s
    #148069
  • Pipeline finished with Success
    2 months ago
    Total: 564s
    #148090
  • Pipeline finished with Skipped
    about 2 months ago
    #161447
  • Pipeline finished with Skipped
    about 1 month ago
    #163004
  • Pipeline finished with Skipped
    about 1 month ago
    #165625
  • Pipeline finished with Success
    about 1 month ago
    Total: 160s
    #166680
  • Pipeline finished with Success
    about 1 month ago
    Total: 193s
    #169064
  • Pipeline finished with Success
    about 1 month ago
    Total: 204s
    #170843
  • Pipeline finished with Success
    about 1 month ago
    Total: 150s
    #170963
  • Pipeline finished with Failed
    27 days ago
    Total: 353s
    #177382
  • Pipeline finished with Failed
    27 days ago
    Total: 371s
    #177389
  • Pipeline finished with Failed
    27 days ago
    Total: 371s
    #177395
  • Pipeline finished with Failed
    27 days ago
    #177414
  • Pipeline finished with Success
    27 days ago
    #177421
  • Pipeline finished with Success
    27 days ago
    Total: 382s
    #177428
  • 🇳🇱Netherlands bbrala Netherlands

    Matt, did you conclude there were no enhancerstests available when circeling back or did you forget? :)

  • 🇺🇸United States mglaman WI, USA

    As per usual, I forgot :) I'll see if I can get the test up today.

  • Open in Jenkins → Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 5.7
    last update 23 days ago
    17 pass
  • Pipeline finished with Success
    23 days ago
    Total: 198s
    #181439
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 5.7
    last update 23 days ago
    17 pass, 1 fail
  • 🇺🇸United States mglaman WI, USA

    Added test

  • Pipeline finished with Failed
    23 days ago
    Total: 201s
    #181449
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 5.7
    last update 23 days ago
    20 pass
  • Pipeline finished with Success
    23 days ago
    Total: 211s
    #181461
  • Pipeline finished with Skipped
    23 days ago
    #181504
  • Open in Jenkins → Open on Drupal.org →
    Core: 10.2.1 + Environment: PHP 8.1 & MySQL 5.7
    last update 23 days ago
    20 pass
  • Status changed to Fixed 23 days ago
  • 🇳🇱Netherlands bbrala Netherlands

    Ty! <3

    Nice addition, also, good template for testing enhancers :)

  • Pipeline finished with Failed
    21 days ago
    Total: 272s
    #182603
  • Pipeline finished with Failed
    21 days ago
    #182612
  • Pipeline finished with Success
    21 days ago
    Total: 273s
    #182624
  • Pipeline finished with Skipped
    16 days ago
    #186927
  • Pipeline finished with Canceled
    9 days ago
    #193534
  • Pipeline finished with Failed
    9 days ago
    Total: 265s
    #193537
  • Pipeline finished with Failed
    9 days ago
    Total: 276s
    #193540
  • Pipeline finished with Success
    9 days ago
    #193545
  • Pipeline finished with Success
    9 days ago
    Total: 260s
    #193828
  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Pipeline finished with Failed
    8 days ago
    Total: 223s
    #194272
  • In the JSON output Schema there is an instance of "anOf" which I believe should be "anyOf"?

  • Pipeline finished with Canceled
    3 days ago
    Total: 119s
    #198184
  • Pipeline finished with Success
    3 days ago
    Total: 322s
    #198188
  • Pipeline finished with Success
    3 days ago
    Total: 176s
    #198388
Production build 0.69.0 2024