- Issue created by @Chi
- 🇮🇳India Shifali Baghel Gurgaon
Hi All,
In order to make this change in Drupal 11's development version, I added this patch.
Here, the aggregation ccs/Js fields have just been transferred from the System Performance form to the Development settings form. Because many core files have been utilising this same system performance config, we have saved the configuration in system.performance itself to make things simpler.Here is the patch.
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,055 pass, 2 fail - Status changed to Needs review
over 1 year ago 4:11am 23 August 2023 - 🇮🇳India bebalachandra
Before adding #3 patch I have observed that css/js aggregation settings are there in performance form and as mentioned in the summary since drupal 10.1 there is a development form for development settings. Twig debugging , cache settings are there in development form. I have added screenshots for both the observation i.e 1. Development form Before Patch and 2.Performance form Before Patch.
navigate to Admin>configuaration>development>Performance to view performance form
navigate to Admin>configuaration>development>development settings to view development settings formAs per the scope of this issue CSS/JS aggregation settings needs to be moved to development settings form. Installed drupal 11.x on my local and Applied #3 patch on that. As per the scope CSS/JS aggregation settings are moved to development settings form from performance form. patch is working as expected. Attached screenshots of development settings form and performance form for reference. i.e 1. Development form after Patch 2.Performance form after Patch.
Hence suggest to moving this issue to RTBC +
- Status changed to Needs work
over 1 year ago 5:32am 23 August 2023 - 🇮🇳India narendraR Jaipur, India
Moving to NW due to test failure.
Also, may be we should make this functionality similar to Twig development mode checkbox, where enabling that checkbox opens the options. Thoughts?
- last update
over 1 year ago 30,055 pass, 2 fail - First commit to issue fork.
- Assigned to utkarsh_33
- last update
over 1 year ago 30,060 pass - @utkarsh_33 opened merge request.
Continued from the patch from #8 and added the feature for checkbox requested in the #7, which makes sense so as to get a consistent behaviour in the form.Attaching the screenshots with the latest changes.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 7:53am 28 August 2023 - Status changed to Needs work
over 1 year ago 8:52am 28 August 2023 - 🇮🇳India narendraR Jaipur, India
If any of the fieldset checkbox is checked, then
bandwidth_optimization_checkbox
should also be checked. Also a test can be written inDevelopmentSettingsFormTest.php
for this checkbox as done for other checkboxes. - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,061 pass - Status changed to Needs review
over 1 year ago 12:32pm 28 August 2023 I have addressed all the feedbacks and also added the testcases.
- Status changed to Needs work
over 1 year ago 4:34am 29 August 2023 - 🇮🇳India narendraR Jaipur, India
Ideally unchecking
Bandwidth optimization
checkbox and saving form should remove any checked Aggregate CSS files/Aggregate JavaScript files checkbox. This is not happening right now. - 🇬🇧United Kingdom catch
This is moving the location of the form, but the development settings form was set up so that it doesn"t require config changes to make the changes. I think this issue should either do a version of that it not move it at all.
- 🇮🇳India narendraR Jaipur, India
Thanks @catch for the background information. I think then we should move config to states in this issue and update issue summary and add CR.
Tags added for CR and IS update. - last update
over 1 year ago 30,134 pass, 2 fail - last update
over 1 year ago 30,130 pass, 4 fail - last update
over 1 year ago 29,980 pass, 152 fail - last update
over 1 year ago 30,021 pass, 61 fail - last update
over 1 year ago 30,022 pass, 61 fail - last update
over 1 year ago 30,131 pass, 6 fail - last update
over 1 year ago 30,065 pass, 103 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Composer error. Unable to continue. - last update
over 1 year ago 30,022 pass, 61 fail - last update
over 1 year ago 30,133 pass, 3 fail - last update
over 1 year ago 30,134 pass, 2 fail - last update
over 1 year ago 30,137 pass - Status changed to Needs review
over 1 year ago 11:55am 5 September 2023 - Status changed to Needs work
over 1 year ago 8:04am 6 September 2023 - 🇮🇳India narendraR Jaipur, India
- last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago 30,133 pass, 3 fail - last update
over 1 year ago Custom Commands Failed - last update
over 1 year ago Build Successful - last update
over 1 year ago 30,145 pass, 5 fail - last update
over 1 year ago 30,151 pass - Status changed to Needs review
over 1 year ago 8:27am 13 September 2023 - 🇺🇸United States smustgrave
Going to leave in review but brought this up in #yes-no-queue and myself and user @Christopher Matthews were -1 to this.
My reason is I don't users are going to assume aggregation is under development over performance.
Also we are now mixing a form of things that will and won't be saved to config. Is that going to clear to new and old users?Just my 2 cents but won't die on that hill.
- 🇸🇰Slovakia poker10
The Performance item has this description:
Configure caching and bandwidth optimization.
The Development settings item has this description:
Configure theme development settings
I think, that the aggregation seems to be closer to the bandwidth optimization as this is not primarily related to the development (for example it is for consideration on HTTP/2.0, ...).
- Status changed to Needs work
over 1 year ago 12:32pm 4 October 2023 The Needs Review Queue Bot → tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide → to find step-by-step guides for working with issues.
- 🇩🇰Denmark ressa Copenhagen
These areas overlap, which makes it harder ...
Maybe we need to unify them all on a "Performance and development" page?
I do think solving ✨ Easy way to bypass all caching with Drush or settings.php Active would be a much bigger gain for developers.