Change the misleading and unclear wording in Pager -> Link display

Created on 11 September 2013, about 11 years ago
Updated 13 February 2024, 10 months ago

Problem/Motivation

The current option summary for 'Link display' in the DisplayPluginBase class is unclear and can lead to confusion. This issue aims to improve clarity by updating the option summary text to 'Destination.'

I would suggest to use the word "Destination" to replace "Link display".

Steps to reproduce

* Navigate to a Views configuration page.
* Observe the 'Link display' option in the pager category.

Proposed resolution

Update the title of the 'link_display' option from:
'title' => $this->t('Link display'),
to:
'title' => $this->t('Destination'),
This change provides a more descriptive and understandable label for the option.

User interface changes

Before

After

I feel that the form for editing this has also a hard to understand description under the radio buttons. Should we change that?

Test Plan:
* Navigate to a Views configuration page.
* Verify that the 'Link display' text in the option summary is now replaced with 'Destination.'

API changes

Data model changes

Release notes snippet

โœจ Feature request
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
Views UIย  โ†’

Last updated 6 days ago

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland jiv_e

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Slightly reviewing very old tickets as part of needs-review-queue-initiative

    This still appears to be the case and agree "Link display" is slightly off.

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Probably a good task for new users.

  • First commit to issue fork.
  • Merge request !62822087139-change-required-text โ†’ (Open) created by Drupaler_Kushal
  • Status changed to Needs review 11 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Drupaler_Kushal Mathura

    Completed the text change as suggested. Please review the PR https://git.drupalcode.org/project/drupal/-/merge_requests/6282.

  • Pipeline finished with Success
    11 months ago
    #81233
  • Assigned to Sandeep_k
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Sandeep_k New Delhi

    Hi @Drupaler_Kushal, I've Tested the shared MR- MR !6282 mergeable on the Drupal- 11.0-dev version, The Patch was applied successfully and looks good to me.

    Testing Steps:

    • Install Drupal- 11.0.
    • Go to> admin/structure/view-
    • Create/edit view- Scroll down the Pager section to view the label, Attached before results
    • Download the shared patch & apply.
    • Create/edit view- Scroll down the Pager section to re-verify this.

    Testing Results:
    After applying the patch, the text label is changed now. RTBC++

  • Issue was unassigned.
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Sandeep_k New Delhi

    Attaching Test results here

  • Status changed to Needs work 11 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Was tagged for issue summary and tests.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia pooja saraah Chennai

    Issue Summary:
    Problem/Motivation:
    The current option summary for 'Link display' in the DisplayPluginBase class is unclear and can lead to confusion. This issue aims to improve clarity by updating the option summary text to 'Destination.'
    Steps to Reproduce:
    * Navigate to a Views configuration page.
    * Observe the 'Link display' option in the pager category.
    Proposed Solution:
    Update the title of the 'link_display' option from:
    'title' => $this->t('Link display'),
    to:
    'title' => $this->t('Destination'),
    This change provides a more descriptive and understandable label for the option.

    Test Plan:
    * Before applying the patch:
    * Verify that the option summary for 'Link display' is present on a Views configuration page.
    * Confirm that the text is currently set to 'Link display.'
    * Apply the Patch:
    * Apply the provided patch to update the 'Link display' text to 'Destination.'
    * Confirm that the patch applies cleanly without conflicts.
    * After applying the patch:
    * Navigate to a Views configuration page.
    * Verify that the 'Link display' text in the option summary is now replaced with 'Destination.'

  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Issue summaries shouldnโ€™t go in a comment. And full template should be used.

    Test could be as simple as an assertion somewhere

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia pooja saraah Chennai
  • Status changed to Needs review 10 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia pooja saraah Chennai
  • Status changed to Needs work 10 months ago
  • ๐Ÿ‡บ๐Ÿ‡ธUnited States smustgrave

    Please read the comments and tags. This was tagged for a simple test which isnโ€™t done.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia Drupaler_Kushal Mathura

    What is pending now in this?

  • First commit to issue fork.
  • Status changed to Needs review 10 months ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sumit-k

    I've added a simple functional test to validate the changes made to the label.

  • Pipeline finished with Success
    10 months ago
    Total: 479s
    #93626
  • Status changed to Needs work 10 months ago
  • ๐Ÿ‡ณ๐Ÿ‡ฑNetherlands Lendude Amsterdam

    Please search the Views and Views UI modules (and maybe others?) for 'Link display' and update all occurrences everywhere. Please make sure the changed sentences still make sense, not sure a find/replace is going to work everywhere

    Did anybody ever look into moving this out of the pager section? I agree with @dawehner in #1 that this feel like a weird place for this.

    Do we need to think about updating the machine name of the setting too? We now have a big difference between the name of the field in code and the name in the UI which can lead to more confusion but now from a DX perspective

    Do we need to run the new label past some UI experts and make sure we all agree this is the best we can come up with, 'Destination' feels a bit vague to me.

Production build 0.71.5 2024