Problem/Motivation

When in the Appearance list page you see a bunch of themes, some have dependants and some dependencies, however there is no way to know the relationship between base themes and sub-themes, quite unlike Modules which you are clearly told which ones relate (requires, required by etc).

This is not very good, some parity with modules is required, we can't expect users to guess which themes they have uninstall.

This seems like a pretty major UX problem.

Proposed resolution

Display the same information for themes as is shown for modules (machine name, version, requires and required by). As with the modules these should be collapsed by default, and use the same expandable description as was used for the modules. Contrary to the modules list, do not collapse also the operations, as this seems to be a usability regression in that case.

Remaining tasks

Review and commit patch.

User interface changes

The theme configuration page will look exactly the same, except that the version number has now been moved to the collapsed information, and the theme description can be expanded to show the required information.

API changes

None

Data model changes

None

Beta phase evaluation

Reference: https://www.drupal.org/core/beta-changes
Issue category Task because this is adding some information to the theme page, that wasn't available before, and problems only occur if the user removes themes without understanding their dependency hierarchy.
Issue priority Major because users don't know which themes it's safe to uninstall without looking at the info.yml files.
Unfrozen changes Unfrozen because it only changes UI description.
Prioritized changes The main goal of this issue is usability
Disruption Not disruptive. Only textual information was added (collapsed), so the look and feel of the page remains largely untouched.
CommentFileSizeAuthor
#96 display_same_info_for-2372183-96.patch15.35 KBhussainweb
#96 interdiff-92-96.txt6.5 KBhussainweb
#92 display_same_info_for-2372183-92.patch13.33 KBhussainweb
#92 interdiff-91-92.txt2.22 KBhussainweb
#91 display_same_info_for-2372183-91.patch11.11 KBhussainweb
#91 interdiff-75-91.txt632 byteshussainweb
#75 display_same_info_for-2372183-75.patch11.08 KBjcnventura
#75 interdiff_67_75.txt475 bytesjcnventura
#67 display_same_info_for-2372183-67.patch11.08 KBjcnventura
#62 Screenshot 2015-09-27 14.09.13.jpg551.17 KBLewisNyman
#57 display_same_info_for-2372183-53-2.png147.44 KBXaviP
#54 display_same_info_for-2372183-53.png66.61 KBXaviP
#53 display_same_info_for-2372183-53.patch14.01 KBjcnventura
#53 interdiff-50-53.txt3.77 KBjcnventura
#50 2372183-display-same-info-modules-themes-49.patch13.35 KBhussainweb
#50 interdiff-44-49.txt519 byteshussainweb
#44 interdiff-2372183-35-43.txt5 KBid.tarzanych
#44 2372183-display-same-info-modules-themes-43.patch13.32 KBid.tarzanych
#40 interdiff-2372183-35-40.txt4.77 KBid.tarzanych
#40 2372183-display-same-info-modules-themes-40.patch13.6 KBid.tarzanych
#39 core_usage_tooltip.png19.8 KBandypost
#35 display_same_info_for-2372183-35.patch14.13 KBHOG
#35 interdiff-2372183-32-35.txt1.58 KBHOG
#32 display_same_info_for-2372183-32.patch166.73 KBHOG
#32 interdiff-2372183-27-32.txt2.61 KBHOG
#27 interdiff-2372183-27.txt604 bytesfloretan
#27 display_same_info_for-2372183-27.patch14.12 KBfloretan
#25 display_same_info_for-2372183-25.patch14.12 KBjcnventura
#25 interdiff.txt558 bytesjcnventura
#21 interdiff.txt516 bytesjcnventura
#21 display_same_info_for-2372183-21.patch13.46 KBjcnventura
#20 interdiff.txt5.33 KBjcnventura
#20 display_same_info_for-2372183-20.patch13.47 KBjcnventura
#19 display_same_info_for-2372183-19.patch12.54 KBlauriii
#17 interdiff.txt5.35 KBlauriii
#17 display_same_info_for-2372183-17.patch12.83 KBlauriii
#15 interdiff.txt5.04 KBjcnventura
#14 display_same_info_for-2372183-14.patch10.68 KBjcnventura
#11 Appearance___Site-Install.png723.16 KBLewisNyman
#11 Screen Shot 2015-08-01 at 12.12.33.jpg815.17 KBLewisNyman
#7 same_info_themes_as_modules-2372183-7.patch6.41 KBjcnventura
why-cant-I-uninstall-my-theme.png50.57 KBJeff Burnz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tim.plunkett’s picture

Status: Active » Closed (duplicate)
tim.plunkett’s picture

Status: Closed (duplicate) » Postponed (maintainer needs more info)
Issue tags: +Needs issue summary update

Or is this a follow-up, saying the work done in that issue was not enough?

Jeff Burnz’s picture

Yes its a follow up, that issue does not solve this problem - themes do not show their relationships to each other and the user has to guess their way to un-installing the right themes.

What sort of more info do you need? The issue is very self evident, especially when you get a chain of themes with 2 or 3 base themes.

Jeff Burnz’s picture

Title: I have no idea which which theme or themes to uninstall » I have no idea which theme or themes to uninstall
Related issues: +#2348793: I can not uninstall Classy theme
larowlan’s picture

Status: Postponed (maintainer needs more info) » Active

No reason to be postponed

jcnventura’s picture

Assigned: Unassigned » jcnventura

I'll work on this in the D8 MUC sprint.

jcnventura’s picture

Title: I have no idea which theme or themes to uninstall » Display same info for themes as for modules
Assigned: jcnventura » Unassigned
Status: Active » Needs review
FileSize
6.41 KB
jcnventura’s picture

LewisNyman’s picture

Issue tags: +frontend, +CSS, +Usability

Status: Needs review » Needs work

The last submitted patch, 7: same_info_themes_as_modules-2372183-7.patch, failed testing.

LewisNyman’s picture

Nice, it's great to make this code more reusable, though I think we will tackle the majority of it in #2408505: Rewrite module page CSS inline with our CSS standards.

I noticed that the details span the full width of the page because the theme-info class is not floated alongside the theme image. This is obvious when the details element has focus.

The spacing between the details summary and the theme title is very small. It looks a little weird. It seems like it's possible to fix this by removing the padding top from .system-projects td and putting it on .system-projects details summary

We also need to change some of the classes in the Seven modules-page.css especially:

.system-modules .details-wrapper {
  padding: 0 0 0.5em 0;
}

jcnventura’s picture

lauriii’s picture

Overall looks good and I'm +1 for doing this. We still need UX people to agree with the layout.

+++ b/core/modules/system/system.admin.inc
@@ -407,12 +416,40 @@ function template_preprocess_system_themes_page(&$variables) {
+      $version = isset($theme->info['version']) ? $theme->info['version'] : '';
+      // Add the description, along with any theme it requires.
+      $description = '';
+      $description .= '<div class="requirements">';
+      $description .= '<div class="admin-requirements">' . t('Machine name: !machine-name', array('!machine-name' => '<span dir="ltr" class="table-filter-text-source">' . $theme->getName() . '</span>')) . '</div>';
+      if ($version) {
+        $description .= '<div class="admin-requirements">' . t('Version: !module-version', array('!module-version' => $version)) . '</div>';
+      }
+      if (!empty($theme->requires)) {
+        $names = array();
+        foreach (array_keys($theme->requires) as $key) {
+          $names[] = isset($theme_infos[$key]) ? $theme_infos[$key] : $key;
+        }
+        $description .= '<div class="admin-requirements">' . t('Requires: !module-list', array('!module-list' => implode(', ', $names))) . '</div>';
+      }
+      if (!empty($theme->required_by)) {
+        $names = array();
+        foreach (array_keys($theme->required_by) as $key) {
+          $names[] = isset($theme_infos[$key]) ? $theme_infos[$key] : $key;
+        }
+        $description .= '<div class="admin-requirements">' . t('Required by: !module-list', array('!module-list' => implode(', ', $names))) . '</div>';
+      }
+      $description .= '</div>';

Otherwise things look good but this should be done in a template. We should try to avoid adding markup in PHP code as much as possible.

jcnventura’s picture

Status: Needs work » Needs review
FileSize
10.68 KB

As requested, this updated patch fixes the test failures here instead of in #2543904: Make attributes optional in the details template.

In addition, it takes into account the comments from #11.

Regarding #13, I just reused some code for creating the module table that was above in the same file. I think fixing it properly (in both places) should be handlded in a separate issue.

jcnventura’s picture

FileSize
5.04 KB

And the interdiff

lauriii’s picture

Status: Needs review » Needs work

We shouldn't add code that we know needs to be replaced in future. We can create follow-up to make the module page follow the direction that has been taken here.

lauriii’s picture

Status: Needs work » Needs review
FileSize
12.83 KB
5.35 KB

This is visually broken because I changed the classes used in the template. They might not be still the final ones because they are still confusing. Maybe @jcventura you want to tackle these and the CSS changes needed?

Status: Needs review » Needs work

The last submitted patch, 17: display_same_info_for-2372183-17.patch, failed testing.

lauriii’s picture

Status: Needs work » Needs review
FileSize
12.54 KB

Removed .swp from patch

jcnventura’s picture

Updated mostly only the templates, and changed to short array syntax where lauriii hadn't corrected it before. (THANKS!)

Once this is commited, it will be trivial to use the same these same templates to the modules page.

jcnventura’s picture

Oops. Extremely minor fix.. I changed the classy template so much that I copied the default over it, and overrode part of the comment.

LewisNyman’s picture

Issue tags: +Needs usability review

Bojan bat signal

The last submitted patch, 20: display_same_info_for-2372183-20.patch, failed testing.

Status: Needs review » Needs work

The last submitted patch, 21: display_same_info_for-2372183-21.patch, failed testing.

jcnventura’s picture

Status: Needs work » Needs review
FileSize
558 bytes
14.12 KB

Fixed the test. The theme version is now part of the collapsed details, not the title anymore.

jcnventura’s picture

Issue summary: View changes
Issue tags: -Needs issue summary update
floretan’s picture

Git complains about empty lines at the end of the template files (attached patch fixes that), otherwise it looks good.

larowlan’s picture

PHP looks good - only one issue I can see:

+++ b/core/modules/system/system.admin.inc
@@ -451,5 +484,4 @@ function template_preprocess_system_themes_page(&$variables) {
+}
\ No newline at end of file

Whitespace issue here

joelpittet’s picture

Status: Needs review » Needs work

This is looking pretty good from a pure code review:

  1. +++ b/core/modules/system/css/system.admin.css
    @@ -76,84 +76,87 @@ small .admin-link:after {
    +  overflow: hidden; /* truncates descriptions if too long */
    

    Probably needs a capital 'Truncates' and period at the end of the comment. (event though that was what it said before the patch)

  2. +++ b/core/modules/system/templates/system-project-details.html.twig
    @@ -0,0 +1,30 @@
    +    <div>{{ 'Machine name: !machine-name'|t({'!machine-name': machine_name}) }}</div>
    ...
    +    <div>{{ 'Version: !version'|t({'!version': version}) }}</div>
    

    Same here use @ instead of !

  3. +++ b/core/modules/system/templates/system-themes-page.html.twig
    @@ -56,12 +56,12 @@
    -            <div class="theme-info__description">{{ theme.description }}</div>
    +            <div class="theme-info__description description">{{ theme.description }}</div>
    

    Does this really need a description class, why is the bem class not enough?

  4. +++ b/core/themes/classy/templates/misc/system-project-details.html.twig
    @@ -0,0 +1,30 @@
    +    <div class="admin-requirements">{{ 'Machine name: !machine-name'|t({'!machine-name': machine_name}) }}</div>
    ...
    +    <div class="admin-requirements">{{ 'Version: !version'|t({'!version': version}) }}</div>
    

    Can we use @ placeholders here instead of !, because there shouldn't be raw variables and that doesn't do what you'd expect anymore (if it's unsafe marks the entire string as unsafe).

  5. +++ b/core/modules/system/templates/system-project-details.html.twig
    @@ -0,0 +1,30 @@
    +    <div>{{ 'Requires: @extensions'|t({'@extensions': requires|join(', ')}) }}</div>
    ...
    +    <div>{{ 'Required by: @extensions'|t({'@extensions': required_by|join(', ')}) }}</div>
    

    might want |safe_join instead of |join or these will get double escaped.

  6. +++ b/core/themes/classy/templates/misc/system-project-details.html.twig
    @@ -0,0 +1,30 @@
    +
    +{#
    

    Extra space at the top of the file.

As well as #28

HOG’s picture

Issue tags: +dcuacs2015
HOG’s picture

HOG’s picture

HOG’s picture

Status: Needs work » Needs review
jcnventura’s picture

Status: Needs review » Needs work
  • +++ b/core/modules/system/templates/system-project-details.html.twig
    @@ -16,15 +15,15 @@
    +    <div>{{ 'Machine name: @machine-name'|t({'<@></@>machine-name': machine_name}) }}</div>
    

    ?? Did you even test this?

  • +++ b/core/modules/system/templates/system-themes-page.html.twig
    @@ -61,7 +61,7 @@
    +            <div class="theme-info__description">{{ theme.description }}</div>
    

    Description is needed, in order to use the same CSS as module info description. In alternative, change the module page CSS to also use BEM

  • HOG’s picture

    Status: Needs work » Needs review
    FileSize
    1.58 KB
    14.13 KB

    Fixed error.

    andypost’s picture

    A bit of derail but I'm sure that's time to clean-up notion of module-theme in favour of Extension that is all over the core now

    So probably class names will be "better" .extension__theme & .extension__module

    1. +++ b/core/includes/form.inc
      @@ -243,7 +243,7 @@ function template_preprocess_fieldset(&$variables) {
      -  $variables['attributes'] = $element['#attributes'];
      +  $variables['attributes'] = isset($element['#attributes']) ? $element['#attributes'] : new Attribute();
      

      looks unrelated change

    2. +++ b/core/modules/system/css/system.admin.css
      @@ -76,84 +76,87 @@ small .admin-link:after {
      -.system-modules thead > tr {
      +.system-projects thead > tr {
      

      now modules, themes and profiles are extensions. Let's keep that naming

    3. +++ b/core/modules/system/src/Form/ModulesListForm.php
      @@ -234,6 +234,7 @@ public function buildForm(array $form, FormStateInterface $form_state) {
      +    $form['#attributes']['class'] = ['system-modules', 'system-projects'];
      
      +++ b/core/modules/system/system.admin.inc
      @@ -381,6 +381,15 @@ function template_preprocess_system_themes_page(&$variables) {
      +  $variables['attributes']['class'] = ['system-themes', 'system-projects'];
      

      both?

    4. +++ b/core/modules/system/system.admin.inc
      @@ -461,5 +494,4 @@ function template_preprocess_system_themes_page(&$variables) {
         $variables['theme_groups'] = $groups;
      -}
      -
      +}
      \ No newline at end of file
      

      needs \n

    5. +++ b/core/modules/system/system.module
      @@ -213,6 +213,14 @@ function system_theme() {
      +    'system_project_details' => [
      +      'variables' => [
      +        'machine_name' => [],
      +        'version' => '',
      +        'requires' => [],
      +        'required_by' => [],
      +      ],
      

      extension_details - makes more sense
      also would be great to pass "type" here

    Bojhan’s picture

    Issue tags: -Needs usability review

    I am not convinced that this is the best way to display this. Can we explore more design directions?

    I am thinking about having this in a tooltip or when you click "details"?

    id.tarzanych’s picture

    Assigned: Unassigned » id.tarzanych
    andypost’s picture

    Issue summary: View changes
    FileSize
    19.8 KB

    @Bojhan the only usage of tooltip we have in core is shortcut "star" - makes sense to re-use

    id.tarzanych’s picture

    Updated patch from #35
    Please provide your thoughts about system-extensions modificator style

    id.tarzanych’s picture

    Assigned: id.tarzanych » Unassigned
    Status: Needs work » Needs review
    andypost’s picture

    1. +++ b/core/modules/system/src/Form/ModulesListForm.php
      @@ -234,6 +234,10 @@ public function buildForm(array $form, FormStateInterface $form_state) {
      +    $form['#attributes']['class'] = [
      +      'system-extensions',
      +      'system-extensions-module',
      +    ];
      
      +++ b/core/modules/system/system.admin.inc
      @@ -381,6 +381,18 @@ function template_preprocess_system_themes_page(&$variables) {
      +  $variables['attributes']['class'] = [
      +    'system-extensions',
      +    'system-extensions-theme',
      +  ];
      

      really questionable thing, maybe better to make them shorter ['extension', 'entension--<type>'] no reason for system prefix

    2. +++ b/core/modules/system/system.admin.inc
      @@ -417,12 +429,36 @@ function template_preprocess_system_themes_page(&$variables) {
      +      $description = [
      +        '#theme' => 'system_extension_details__theme',
      +        '#machine_name' => $theme->getName(),
      +        '#version' => $version,
      +        '#requires' => $requires,
      +        '#required_by' => $required_by,
      +      ];
      ...
      -      $current_theme['description'] = t($theme->info['description']);
      +      $current_theme['description'] = [
      +        '#theme' => 'details',
      +        '#title' => t($theme->info['description']),
      +        '#description' => $description,
      +      ];
      

      please s/$description/$details_description on next re-roll

    Status: Needs review » Needs work

    The last submitted patch, 40: 2372183-display-same-info-modules-themes-40.patch, failed testing.

    id.tarzanych’s picture

    Updated patch, please review

    The last submitted patch, 40: 2372183-display-same-info-modules-themes-40.patch, failed testing.

    andypost’s picture

    +1 rtbc, leaving for mark-up and css review

    Status: Needs review » Needs work

    The last submitted patch, 44: 2372183-display-same-info-modules-themes-43.patch, failed testing.

    andypost’s picture

    following failures

    exception: [Notice] Line 246 of core/includes/form.inc:
    Undefined index: #attributes
    +++ b/core/includes/form.inc
    @@ -243,7 +243,7 @@ function template_preprocess_fieldset(&$variables) {
    -  $variables['attributes'] = $element['#attributes'];
    +  $variables['attributes'] = isset($element['#attributes']) ? $element['#attributes'] : new Attribute();
    

    looks that still needed

    The last submitted patch, 44: 2372183-display-same-info-modules-themes-43.patch, failed testing.

    hussainweb’s picture

    Status: Needs work » Needs review
    FileSize
    519 bytes
    13.35 KB

    I think that hopefully this will fix the failure.

    andypost’s picture

    yay! green now needs frontender's eyes on it

    yoroy’s picture

    Applying the same pattern as on the extend page seems like a good idea. Not sure if the last usability test showed any problems with this pattern on the extend page.

    In reviewing this on simplytest I noticed two things:

    - It's actually quite handy to have the actionable links outside of the collapsed information like on the appearance page, where they are hidden on the extend page. This is definately out of scope for this issue of course.
    - The description font size on appearance is smaller than the same on the extend page . Would be nice to correct that (remove the 0.95em sizing), all those small font-size differences do not look too good.

    jcnventura’s picture

    Reroll of #50, fixing the .95em sizing by getting rid of the description class as suggested in #29-3.

    Also aligned the templates for both classy and seven.

    XaviP’s picture

    FileSize
    66.61 KB

    Reviewed patch #53, it seems ready for RTBC to me, but I don't change the status since it's my first patch review :-D

    lauriii’s picture

    Issue tags: +Needs beta evaluation
    jcnventura’s picture

    XaviP’s picture

    Status: Needs review » Reviewed & tested by the community
    FileSize
    147.44 KB

    Reviewed patch #53 for second time, this time from drupalcon BCN ;-)
    Everything ok; attached screenshot with before-after states.

    Bojhan’s picture

    Assigned: Unassigned » LewisNyman
    Status: Reviewed & tested by the community » Needs review
    jcnventura’s picture

    MustangGB’s picture

    Thanks for the screengrab, it looks great to me.

    jcnventura’s picture

    Issue summary: View changes
    LewisNyman’s picture

    Assigned: LewisNyman » Unassigned
    Issue summary: View changes
    Status: Needs review » Reviewed & tested by the community
    FileSize
    551.17 KB

    The only problem I have with this visually is the focus on the details element. There is an issue to remove these focus effects completely: #2489450: Remove unnecessary focused/hover effects on details and vertical tabs

    Thanks for the work here making the module page CSS reusable!

    Bojhan’s picture

    Hmm, perhaps this should be back to Needs work untill the other issue is fixed?

    LewisNyman’s picture

    I think we can just have it as a follow up issue.

    catch’s picture

    This conflicts with #2151109: Convert theme_system_modules_details() to Twig could use cross-review.

    jcnventura’s picture

    Status: Reviewed & tested by the community » Postponed
    Related issues: +#2151109: Convert theme_system_modules_details() to Twig

    We can work on this again after that one gets committed.

    jcnventura’s picture

    Status: Postponed » Needs review
    FileSize
    11.08 KB

    Re-rolling following #2151109: Convert theme_system_modules_details() to Twig.

    It makes no sense to use the system_extension_details templates in light of the that issue, so this patch copies part of the twig template from there.

    jcnventura’s picture

    Issue summary: View changes
    LewisNyman’s picture

    Status: Needs review » Reviewed & tested by the community

    Great, the appearance is as the screenshots in #62.

    Thank you!

    Bojhan’s picture

    Can we please make sure #2489450: Remove unnecessary focused/hover effects on details and vertical tabs gets adequate follow up, I am always a bit cautious when we do add stuff - but not have anyone of that thread active in the following issues it creates.

    @jcnventura Could you make sure we appropriately follow up.

    star-szr’s picture

    Nothing to really hold up RTBC but one small point and a question.

    1. +++ b/core/modules/system/system.admin.inc
      @@ -341,6 +341,18 @@ function template_preprocess_system_themes_page(&$variables) {
      +  // Build a list of theme names for all known themes
      

      Minor: Should end with a period per https://www.drupal.org/node/1354#general.

    2. +++ b/core/modules/system/templates/system-themes-page.html.twig
      @@ -56,12 +56,29 @@
      +                  <div class="admin-requirements">{{ 'Machine name: @module-machine-name'|t({'@module-machine-name': theme.machine_name}) }}</div>
      ...
      +                    <div class="admin-requirements">{{ 'Version: @module-version'|t({'@module-version': theme.version}) }}</div>
      ...
      +                    <div class="admin-requirements">{{ 'Requires: @module-list'|t({'@module-list': theme.requires|safe_join(', ')}) }}</div>
      ...
      +                    <div class="admin-requirements">{{ 'Required by: @module-list'|t({'@module-list': theme.required_by|safe_join(', ')}) }}</div>
      

      Just wondering if it would make sense for these place holders to be @theme-machine-name, @theme-version, @theme-list, etc.?

    jcnventura’s picture

    @Cottser: It would make sense for those placeholders to be @extension.machine-name, @extension.version, etc.

    As a translator, I don't want to make superfluous strings. So the solution is to alter these strings, both in this template and in the module page template to be a bit more generic. I can certainly create a followup issue should this one get committed. But I'm not sure if it is possible to change strings post-RC1.

    star-szr’s picture

    Good point, I think this is probably fine as is then even if it's not 100% accurate.

    LewisNyman’s picture

    jcnventura’s picture

    And a really minor diff to address the #71.1 (lack of a final dot in the comment). For obvious reasons, not changing the RTBC status.

    star-szr’s picture

    +1 :)

    LewisNyman’s picture

    Category: Bug report » Task
    lauriii’s picture

    Category: Task » Bug report

    IS defines this as UX bug. Please change the IS if you think this is a task

    Bojhan’s picture

    Category: Bug report » Task

    This is a task. A UX bug indicates we have some actual user feedback that it actually causes significant issues, we have no data/feedback of such effect. In general we are quite careful with trowing around the bug indicator.

    lauriii’s picture

    Status: Reviewed & tested by the community » Needs work
    Issue tags: +Needs issue summary update

    Thanks for the clarification :)

    jcnventura’s picture

    Issue summary: View changes
    Status: Needs work » Reviewed & tested by the community
    Issue tags: -Needs issue summary update
    jcnventura’s picture

    Issue tags: +rc eligible

    This patch only generalizes the system modules / theme pages CSS, and adds some documentation to the theme dependencies.

    alexpott’s picture

    Status: Reviewed & tested by the community » Needs work
    Issue tags: -rc eligible +Needs issue summary update

    This is not rc eligible. If you want committers to consider it for inclusion in RC then the issue summary needs to include a statement of why we need to make this change and be tagged with rc target triage. It is possible that contrib or custom is already relying on the behaviour in HEAD.

    jcnventura’s picture

    Status: Needs work » Reviewed & tested by the community
    Issue tags: -Needs issue summary update
    Bojhan’s picture

    Status: Reviewed & tested by the community » Needs work

    I don't see anything changed in the issue summary to reflect alexpott his concerns.

    Still don't think this should go in until #2489450: Remove unnecessary focused/hover effects on details and vertical tabs goes in.

    jcnventura’s picture

    Version: 8.0.x-dev » 8.1.x-dev
    Status: Needs work » Reviewed & tested by the community

    I didn't change the issue summary, and I marked it RTBC again, because the 'needs work' was all about arguing on getting this into 'rc eligible' status. It's a fight I'm not going to fight. This will go into Drupal 8.1 or Drupal 9.

    Bojhan’s picture

    Status: Reviewed & tested by the community » Needs work

    Part of our community dynamics, is that when a committer pushes it back from RTBC. We take the feedback and discuss it, even if at the end we decide that his/her arguments are moot. The request from alex in this process, is one that is common from a committer and requires the set status.

    It is perfectly fine if your not up for it, but please be considerate of our community process - which is responding to feedback, especially from a committer and respecting his push back on status to reflect this.

    jcnventura’s picture

    I did consider it. He asked if I could justify the need to add this change now that we're in the RC stage. I cannot. Maybe someone else can. The fact that this is no longer considered a bug, and is considered a task, makes it somewhat harder to justify the reasoning on why this should be added at this stage. The 'work needed' is no longer in the patch, which is RTBC, but in justifying the need to get it considered as an RC target, since I don't think that needs to be done, I've backtracked to the state before I added the 'rc eligible' tag (#81).

    I'll wait until 8.0.0 is released and set this back to RTBC then, unless someone decides to justify getting this into 8.0.0. If someone does, don't forget to change the version from 8.1.x to 8.0.x.

    jcnventura’s picture

    Status: Needs work » Reviewed & tested by the community

    Setting back to RTBC as it was in #81, as the 'needs work' between #83 and now was all about justifying the need to have this go in to 8.0.0. That is no longer applicable, as the flux capacitor in my DeLorean is broken.

    Status: Reviewed & tested by the community » Needs work

    The last submitted patch, 75: display_same_info_for-2372183-75.patch, failed testing.

    hussainweb’s picture

    Status: Needs work » Needs review
    FileSize
    632 bytes
    11.11 KB

    First of all, I am fixing a missing </div>. This won't make the tests pass. I will try to fix the tests in the next patch. I will reason why I am doing so in that comment.

    hussainweb’s picture

    This should fix the tests. I am not sure if this is acceptable as it changes markup in stable theme. The reason the tests failed was because the changes got overridden by stable.

    Now, I am not sure why this twig file is in stable. It is not a template that is likely to be overridden by themers. Even if it is, there are no changes to classes, etc... but there are new elements. This likely needs maintainer review and feedback. If we can't have these changes, then I can't see any other way except that this issue goes to D9.

    The last submitted patch, 91: display_same_info_for-2372183-91.patch, failed testing.

    Jeff Burnz’s picture

    @ #92could the template not go into Classy or even Seven? It's possible. I would think and exception for this template would be OK, the win is quite large. We could always check with contrib Admin themes to see if they override it, even if we do I think they would be well on board with supporting this anyway.

    hussainweb’s picture

    #92, that's a great idea. I didn't think of it. If we put this into seven, it would make sense as well as not break stable. Of course, other admin themes still may override but at least they will not break.

    hussainweb’s picture

    Sorry, I meant to say #94 earlier.

    This patch reverts the change to stable's template and copies it to seven. I am not sure if the tests use seven when testing, but let's see.

    Status: Needs review » Needs work

    The last submitted patch, 96: display_same_info_for-2372183-96.patch, failed testing.

    hussainweb’s picture

    I guess we are not using seven, or there is something wrong with the patch in #96. Any reviews please?

    davidhernandez’s picture

    Now, I am not sure why this twig file is in stable.

    Just to answer that question, Stable contains all core template files. Most of the files are in fact identical. Stable's and Classy's files cannot change, but the core file can. I only glanced at that test code, but it may have Stark on as the default theme, which means inheriting its template from Stable. I would manually verify that the change in this patch works with Stark and Classy as the admin theme, which I suspect it may not.

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

    Drupal 8.1.0-beta1 was released on March 2, 2016, which means new developments and disruptive changes should now 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.2.x-dev » 8.3.x-dev

    Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now 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.3.x-dev » 8.4.x-dev

    Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now 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.4.x-dev » 8.5.x-dev

    Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now 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.5.x-dev » 8.6.x-dev

    Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now 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.

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

    Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now 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.7.x-dev » 8.8.x-dev

    Drupal 8.7.0-alpha1 will be released the week of March 11, 2019, which means new developments and disruptive changes should now be targeted against the 8.8.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.8.x-dev » 8.9.x-dev

    Drupal 8.8.0-alpha1 will be released the week of October 14th, 2019, which means new developments and disruptive changes should now be targeted against the 8.9.x-dev branch. (Any changes to 8.9.x will also be committed to 9.0.x in preparation for Drupal 9’s release, but some changes like significant feature additions will be deferred to 9.1.x.). 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.1.x-dev

    Drupal 8.9.0-beta1 was released on March 20, 2020. 8.9.x is the final, long-term support (LTS) minor release of Drupal 8, which means new developments and disruptive changes should now 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: 9.1.x-dev » 9.2.x-dev

    Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

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

    Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.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.3.x-dev » 9.4.x-dev

    Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.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.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now 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.5.x-dev » 10.1.x-dev

    Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now 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.

    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.