Problem/Motivation

On small screen, the table on the Extend page is collapsed and the module descriptions are not visible. In order to display them the user has to click on "Show all columns". This label is not very useful because users might not even know that they are looking at a table, and not just a list with tick boxes.

To hide the description, the label is even more confusing "Hide lower priority columns"

Proposed resolution

Replace the extend tab module description labels with "Show description" and "Hide descriptions"

this.showText = Drupal.t('Show all columns');
this.hideText = Drupal.t('Hide lower priority columns');

Remaining tasks

User interface changes

Screenshots

Before
before patch 1


before patch 2
After
after patch 1


after patch 2

Steps to check

  • Go to extend page (/admin/modules)
  • Set screen size <=959px

Testing Steps

  • Download #29 Patch locally and apply it.
  • Clear cache.
  • Navigate to structure -> view and edit any view which contains table format.
  • Check in mobile view version, Lables are reflected as per Proposed resolution.

API changes

Data model changes

Issue fork drupal-2575749

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ifrik created an issue. See original summary.

joyceg’s picture

Assigned: Unassigned » joyceg
joyceg’s picture

joyceg’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 3: Show_description-3-D8.patch, failed testing.

jcnventura’s picture

@joyceg First of, the patch fails to apply because it's including temporary files. Also, you do realize that this function is applicable to all of Drupal? This is a generic responsive table function which may not even be associated with any description.

If you can fix it, keeping it generic, and solving only the extend page text, great! If not, this might be a candidate for closing with "Works as designed".

joyceg’s picture

joyceg’s picture

Status: Needs work » Needs review

The last submitted patch, 3: Show_description-3-D8.patch, failed testing.

joyceg’s picture

GoZ’s picture

Status: Needs review » Needs work

I agree with @jcnventura :

This is a generic responsive table function which may not even be associated with any description.

Label for this.showText and this.hideText are displayed and show / hide columns depending of class defined by RESPONSIVE_PRIORITY_LOW or RESPONSIVE_PRIORITY_MEDIUM.

For example, in \Drupal\comment\Form\CommentAdminOverview, posted_in and changed values are displayed as RESPONSIVE_PRIORITY_LOW, so not descriptions at all.

Unless you find better label description, this looks like Work as designed.

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

ifrik’s picture

Assigned: joyceg » Unassigned

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Nikhil_110’s picture

Attached patch against Drupal 9.x, 10.1.x

_pratik_’s picture

_pratik_’s picture

Status: Needs work » Needs review
needs-review-queue-bot’s picture

Status: Needs review » Needs work
FileSize
944 bytes

The Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.

ranjith_kumar_k_u’s picture

Version: 9.5.x-dev » 10.1.x-dev
FileSize
857 bytes

This is a try as per comments #6 and #11

ranjith_kumar_k_u’s picture

Status: Needs work » Needs review
quietone’s picture

Status: Needs review » Needs work
Issue tags: +Needs issue summary update, +Needs screenshots, +Needs usability review

This issue is changing the user interface, so before and after screenshots are needed. Put them in the Issue summary or at least a link so that reviewers can see the latest work. See the accessibility core gate.

And this will need a usability review, adding tag.

The Issue Summary needs to be updated. The proposed resolution is to replace labels but does not say which labels are being replaced. And the remaining tasks should state what needs to be done.

I have not reviewed the patch.

Rassoni’s picture

Tested locally after applying #29 patch changes are reflected as per proposed resolution. The table has module-list class according to labels are replaced with Proposed resolution. Attached screenshot and video for reference.

Steps to Test:

  1. Download #29 Patch locally and apply it.
  2. Clear cache.
  3. Navigate to structure -> view and edit any view which contains table format.
  4. Check in mobile view version, Lables are reflected as per Proposed resolution.
ranjith_kumar_k_u’s picture

Issue summary: View changes
FileSize
132.29 KB
195.68 KB
134.43 KB
711.94 KB

rckstr_rohan made their first commit to this issue’s fork.

smustgrave’s picture

Status: Needs review » Needs work
Issue tags: +Needs Review Queue Initiative

Issue summary update has not happened.

@rckstr_rohan removing credit for the empty commit in #34.

sahil.goyal’s picture

Issue summary: View changes

Updating the issue summary

Nikhil_110’s picture

Issue summary: View changes
Nikhil_110’s picture

Issue summary: View changes

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.