Improve usability when overriding Views style options and row style options and pager options

Created on 17 August 2015, over 9 years ago
Updated 22 February 2024, 10 months ago

In D7, it was possible to override settings (Format settings, Show settings, Pager settings, ...) directly without explicitly mark the related parameter to (Format, Show, Pager, ...) to be overridden.

The only way to override these settings in D8 is to edit the parameter and mark it as "override" even it is the same as other display. Settings can then be edited for this display only.

It is not really intuitive and looks like a regression.

πŸ“Œ Task
Status

Needs work

Version

11.0 πŸ”₯

Component
Views UIΒ  β†’

Last updated 21 days ago

Created by

πŸ‡«πŸ‡·France vbouchet

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

    Makes Drupal easier to use. Preferred over UX, D7UX, etc.

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

    Self review

    This will need an upgrade path for the new configuration for existing sites.

  • πŸ‡²πŸ‡¦Morocco simobm

    #51 did not work for me on 9.5.9.

    I've created a view of a Solr index, a unformatted list of rendered entities. Once i change the view mode on one of them, the other one changes its view mode too.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    FYI 11.x is the current development branch so issues will have to be committed there first before it's considered for backport to 9.x

  • πŸ‡²πŸ‡¦Morocco simobm

    Thanks @smustgrave i didn't know that.

  • First commit to issue fork.
  • Pipeline finished with Failed
    10 months ago
    Total: 210s
    #99952
  • Pipeline finished with Failed
    10 months ago
    #99955
  • Pipeline finished with Failed
    10 months ago
    Total: 167s
    #99958
  • Pipeline finished with Canceled
    10 months ago
    Total: 587s
    #99963
  • πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

    Hey @smustgrave I've updated this issue with a merge request.
    To create the merge request I applied https://www.drupal.org/files/issues/2022-07-26/2552541-51.patch β†’ to the 11.x branch and then added an update function for updating existing views on sites that were not using this patch.

    See https://git.drupalcode.org/project/drupal/-/merge_requests/6706/diffs

  • Pipeline finished with Success
    10 months ago
    #99970
  • Status changed to Needs review 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

    I think this is now ready for review with one outstanding question.

    - Is the comment about an upgrade path in #55 valid or not.

    There is a new update in the views.install file for review if it is.

  • Status changed to Needs work 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    Thanks for carrying this forward.

    Left a comment on the MR but post_update hooks also requires test coverage. Should be a few examples in the views module that may help.

  • Pipeline finished with Failed
    10 months ago
    Total: 167s
    #101020
  • Pipeline finished with Failed
    10 months ago
    Total: 997s
    #101022
  • Pipeline finished with Failed
    10 months ago
    Total: 754s
    #101038
  • Pipeline finished with Canceled
    10 months ago
    Total: 239s
    #101043
  • Status changed to Needs review 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

    OK, I've updated the install file update function to use hook_post_update_hook and added a test for the update. https://git.drupalcode.org/project/drupal/-/merge_requests/6706/diffs

  • Pipeline finished with Failed
    10 months ago
    Total: 551s
    #101046
  • Status changed to Needs work 10 months ago
  • πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

    NVM tests failed

  • Pipeline finished with Canceled
    10 months ago
    #101054
  • Pipeline finished with Canceled
    10 months ago
    #101056
  • Pipeline finished with Failed
    10 months ago
    Total: 591s
    #101058
  • Pipeline finished with Canceled
    10 months ago
    Total: 339s
    #101068
  • Pipeline finished with Canceled
    10 months ago
    Total: 276s
    #101072
  • Pipeline finished with Failed
    10 months ago
    Total: 484s
    #101074
  • Pipeline finished with Canceled
    about 2 months ago
    #331245
  • Pipeline finished with Failed
    about 2 months ago
    #331246
  • Pipeline finished with Failed
    about 2 months ago
    #331248
  • Pipeline finished with Canceled
    about 2 months ago
    #331249
  • Pipeline finished with Failed
    about 2 months ago
    #331250
  • Pipeline finished with Failed
    about 2 months ago
    #331252
  • Pipeline finished with Failed
    about 2 months ago
    #331256
  • Pipeline finished with Canceled
    about 2 months ago
    #331258
  • Pipeline finished with Failed
    about 2 months ago
    #331267
  • Pipeline finished with Failed
    about 2 months ago
    #331270
  • Pipeline finished with Running
    about 2 months ago
    #331305
Production build 0.71.5 2024