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.
Problem/Motivation
The forum.css file within Bartik is missing a file comment. This goes against Core CSS coding standards.
Proposed resolution
Add a file comment in the correct format, see here for details... https://www.drupal.org/node/1887862/#file-comments
Remaining tasks
Create a patch
Review the format and content of the file comment produced.
User interface changes
none
API changes
none
Data model changes
none
Beta phase evaluation
Issue category | Task because it is formatting of CSS files. |
---|---|
Issue priority | Not critical because it is coding standards work and the functioning code works fine. |
Prioritized changes | The main goal of this issue is providing good examples of code in Core. |
Disruption | Non disruptive, it is adding a file comment. |
Comment | File | Size | Author |
---|---|---|---|
#5 | forum_css_missing_file_comment-2560245-5.patch | 353 bytes | rudraram |
#2 | forum_css_missing_file_comment-2560245-2.patch | 352 bytes | rudraram |
Comments
Comment #2
rudraram CreditAttribution: rudraram at Axelerant commentedAdded the comment.
Comment #3
joshi.rohit100There are few other css file which need this file block. For example - form.css in seven and few others.
So I think, instead of single file, we should do this for all in one go, otherwise we this will have many small patches
Thoughts ?
If yes, then IS needs update.
Comment #4
emma.maria@joshi.rohit100
There are open issues for all of the CSS files and their components which you can find listed here #1342054: [META] Clean up templates and CSS.
The forum code was worked on as part of this Core issue #2408513: Refactor forum module CSS files inline with our CSS standards but they missed the Bartik file comment so I raised that specific issue here, thanks :)
One small nit with the patch, can it say 'Visual styles for forums in Bartik'. Forums come from the Forum module and are not owned by Bartik, thanks :)
Comment #5
rudraram CreditAttribution: rudraram at Axelerant commented@emma.maria Just updated the patch as per your suggestion.
Comment #6
emma.mariaThe patch in #5 looks great. Thanks!
Comment #9
emma.mariaThis patch still applies cleanly. I'm going to set it back to RTBC.
Comment #10
alexpottCommitted e9a960b and pushed to 8.0.x. Thanks!