Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Description
CSS Autoload loads css based on what is loaded on the page. Let's say you have styling for a sidebar, than this styling will only be loaded if that region is loaded. The module can be enabled/disabled per theme.
Link to sandbox page
https://www.drupal.org/sandbox/48/2567459
Git clone command:
git clone --branch 7.x-1.x http://git.drupal.org/sandbox/48/2567459.git css_autoload
cd css_autoload
Link to Pareview review:
http://pareview.sh/pareview/httpgitdrupalorgsandbox482567459git
Comment | File | Size | Author |
---|---|---|---|
#9 | testtheme_and_view.zip | 60.37 KB | martijn.cuppens |
Comments
Comment #2
martijn.cuppens CreditAttribution: martijn.cuppens commentedComment #3
PA robot CreditAttribution: PA robot commentedThere are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandbox482567459git
We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #4
martijn.cuppens CreditAttribution: martijn.cuppens commentedComment #5
martijn.cuppens CreditAttribution: martijn.cuppens commentedComment #6
dilshad.khan CreditAttribution: dilshad.khan commentedPlease provide the git clone url in your issue summary.
Comment #7
ivanzhu CreditAttribution: ivanzhu as a volunteer commentedIn a word, This is a very useful module in some cases. I like it.
1. Still have some errors at http://pareview.sh/pareview/httpgitdrupalorgsandbox482567459git .
2. It's better to implement hook_help in code ,
That's all.
Comment #8
martijn.cuppens CreditAttribution: martijn.cuppens commentedComment #9
martijn.cuppens CreditAttribution: martijn.cuppens commentedTesttheme and testview added as attachment
Comment #10
PA robot CreditAttribution: PA robot commentedFixed the git clone URL in the issue summary for non-maintainer users.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11
Danny_Joris CreditAttribution: Danny_Joris at Lullabot commentedAutomated Review
Looks good: http://pareview.sh/pareview/httpgitdrupalorgsandbox482567459git-7x-1x
Manual Review
$files = array();
or$files = [];
before$files[] = 'foobar';
? Not sure if that depends on D7 coding standards or just PHP versions.css_autoload_path = css/autoload
. That way the path defined in the admin page could be a default to try if it's not set in the theme's info file.This review uses the Project Application Review Template.
Comment #12
martijn.cuppens CreditAttribution: martijn.cuppens commentedDanny_Joris, thanks for the feedback. It looks like it's not needed to define a variable as an array before adding values to it, other contrib modules also don't do that.
Changes made today:
css_autoload_path
Comment #13
yonko.tsvetkov CreditAttribution: yonko.tsvetkov commentedAutomated Review
No errors and warnings: http://pareview.sh/pareview/httpgitdrupalorgsandbox482567459git
Manual Review
This review uses the Project Application Review Template.
Comment #14
martijn.cuppens CreditAttribution: martijn.cuppens commentedConfigure path corrected
Comment #15
hesnvabr CreditAttribution: hesnvabr commentedI found this issue in css_autoload.module
FILE: /var/www/drupal-7-pb/pb_temp/css_autoload.module
---------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------
163 | ERROR | [x] Inline comments must end in full-stops, exclamation
| | marks, colons, or question marks
---------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------
Comment #16
klausi@pranavbabbar: I think you forgot to change the status. Is this now RTBC after your review or are there application blockers left?
Comment #17
hesnvabr CreditAttribution: hesnvabr commentedIn css_autoload.info file add the regions after that this siderbar issue may be resolve
Comment #18
gislePlease don't assign the application issue to yourself if you want other people to review it. Please see this page about assigning ownership to issues.
Comment #19
John Lawter CreditAttribution: John Lawter as a volunteer commentedAutomated Review
No issues identified by pareview.sh
http://pareview.sh/pareview/httpgitdrupalorgsandbox482567459git
I also ran the code though Coder / Coder Tough Love with the review set to look for minor issues. The only errors reported are false positives pertaining to end-user strings not using sentence case. I reviewed the strings in question and determined that titles case appears appropriate. So this check passes as well.
Manual Review
Configuration in Administration » Development » CSS Autoload settings:
If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.
This review uses the Project Application Review Template.
Comment #20
martijn.cuppens CreditAttribution: martijn.cuppens commented@pranavbabbar & @john-lawter,
Thanks for your reviews, I've corrected the issues you mentioned.
Comment #21
djalxs CreditAttribution: djalxs as a volunteer and commentedPAReview passes and a manual inspection of the code as well as XSS tests pass. I have also tested the module functionality wise and everything seems in order so I'm setting this to RTBC.
Comment #22
kattekrab CreditAttribution: kattekrab as a volunteer commented@puyol - You can now promote this to a full project yourself.
Comment #23
apadernoThank you for your contribution! I will update your account so you can opt into security advisory coverage now.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!
Thank you, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks go the dedicated reviewer(s) as well.
Comment #24
klausiAssigning credits.