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

Created on 11 September 2013, over 11 years ago
Updated 22 January 2024, about 1 year ago

Views block pager has an option to set "Link display". It can be a little bit unclear what this setting does. Basically it's setting the href target for the more link. This target can be a display of the view or a custom URL.

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

This...

To this...

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

โœจ Feature request
Status

Active

Version

11.0 ๐Ÿ”ฅ

Component
Views UIย  โ†’

Last updated 3 days ago

Created by

๐Ÿ‡ซ๐Ÿ‡ฎFinland jiv_e

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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 about 1 year 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
    about 1 year 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 about 1 year 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 about 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia pooja saraah Chennai
  • Status changed to Needs work about 1 year 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 about 1 year ago
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia sumit-k

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

  • Pipeline finished with Success
    about 1 year ago
    Total: 479s
    #93626
  • Status changed to Needs work about 1 year 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.

  • ๐Ÿ‡ณ๐Ÿ‡ฑNetherlands johnv

    ITMT, on D11.1, I cannot find the 'Link display' option in the pager setting, or anywhere on the view settings page, whereas #19 states it is still there on D11.0.
    (EDIT: That is on a Page display - when checking a Block display, I can see the option. --> Updating summary with test

    As suggested in #30, indeed, the term 'Link display' is still used elsewhere, amongst other in the 'more' link setting. These still must be addressed.

    As dawehner suggests in #1 "Could we not just add a new group, as the link display really simply not belongs to the pager", the setting may move to a better location (affecting only the UI, not the saved configuration setting itself)
    Now is the time!

Production build 0.71.5 2024