- ๐ณ๐ฟNew Zealand quietone
Update the Issue Summary to include links to the current pages.
It may be helpful to state what is to happen to those pages. Is the format of https://docs.google.com/document/d/1rihTDDGy9-m0TGIadgz16TQ1aONc0OC3u2TkJ8bNaxg/edit related to the pages that will be created/edited? As in, would a 'Heading 2' correspond to a Drupal wiki page?
- ๐ฏ๐ตJapan tyler36 Osaka
Not sure if it's in the scope, but can the standard also include a commitment to review every X years?
Drupal is a PHP framework and requires regular updates to PHP for security and stability.
CSS is constantly eveolving depending on current browser market and trends.I think we to set a formal timeline for re-evaluating supported browsers, build processes and best practises to prevent CSS standards from becoming "woefully outdated" again.
I would suggest every 4 years, perhaps aligned with every even (or odd) major Drupal release.
- ๐บ๐ธUnited States mherchel Gainesville, FL, US
It may be helpful to state what is to happen to those pages.
From my point of view, they should be replaced.
Is the format of https://docs.google.com/document/d/1rihTDDGy9-m0TGIadgz16TQ1aONc0OC3u2Tk... related to the pages that will be created/edited? As in, would a 'Heading 2' correspond to a Drupal wiki page?
I'm assuming so. I'm not 100% sure how we'll split the content across separate pages. Most of the work has been just updating and creating the content, as well as organizing it. I'm willing to work with the documentation team or whoever else as needed.
Not sure if it's in the scope, but can the standard also include a commitment to review every X years?
I'm not opposed to this, but not 100% certain its needed. CSS is changing very fast, but the standards don't dictate what rules we use, just how we format it. Additionally, PostCSS will automatically update compiled CSS as it's updated and our supported browsers change. At some point we'll need to discuss things like native CSS nesting (when we won't need PostCSS), when all our supported browsers support this... but that's probably 2-3 years off.
- ๐ณ๐ฑNetherlands bbrala Netherlands
This reads as a reasonable change for the css docs. Only one thing I kinda miss in "Format Class Names using BEM". Can we have a state for the button also so we also show a state class structure? I understand there is a paragraph under St that regarding js state changes but shouldn't state also be shown if we are showing the other bem structures?
Perhaps a --primary state or --disabled?
This could be a Followup though to change. It's pretty minor.
- ๐ณ๐ฟNew Zealand quietone
I would suggest every 4 years, perhaps aligned with every even (or odd) major Drupal release.
I do support regular review of any policy but it is not something built into the existing practices. For myself, it is a long term plan.
- ๐บ๐ธUnited States mherchel Gainesville, FL, US
What's the next step in this process? From what I gather, the https://www.drupal.org/project/coding_standards โ process text has changed since the last time I looked at it, so we're in a weird place.
The issue should have a change record.
It looks like we need a change record. Should that be on this project, or Drupal core?
If the committee agrees to the change the issue is tagged โNeeds documentation updatesโ and is announced on https://www.drupal.org/about/core โ with a consideration period of 14 days. If there are concerns or conversation is ongoing, the issue consultation time may be extended. If the committee does not agree to the change the status may be set to "Won't fix" or to "Needs work" with an explanatory comment.
I think this already happened. It was announced at https://www.drupal.org/about/core/blog/coding-standards-proposals-for-fi... โ
If the issue affects core it is discussed at the next core committer meeting.
Has this happened yet? Is it on the agenda for the next core committer meeting?
- ๐ณ๐ฟNew Zealand quietone
This was discussed #3375432: Coding Standards Meeting 2023-08-15 โ and there was no objection to proceeding. So that step is done.
No, it hasn't been brought up at a core meeting. The next on is early next month. I have left a note in committer Slack for it to be added to the agenda.
- Status changed to RTBC
about 1 year ago 10:42pm 25 October 2023 - ๐ณ๐ฟNew Zealand quietone
I am updating this to the new process.
The first thing is to set this to RTBC and remove the 'final discussion tag'. This now puts us at Step 6. But since core is affected that moves to step 7, where this needs to go to a committer meeting. It was scheduled to be added to the latest core meeting but instead the issue for updating the process was discussed. I have now re-added that to the schedule.
As for the change record, that should be in this project. I am adding the tag for the change record.
Thanks for you patience!
- ๐บ๐ธUnited States mherchel Gainesville, FL, US
Did this make it to the core meeting yet? If so when is that scheduled?
Also, what information needs to go in the change record? I don't see any at https://www.drupal.org/list-changes/coding_standards โ Does the info need to be extensive, or does it just need to note that CSS coding standards have changed?
- Status changed to Needs review
12 months ago 8:51pm 30 November 2023 - ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
There are open threads in the Google doc
It would be good to resolve them
For the record I'm in support of the changes
- ๐บ๐ธUnited States mherchel Gainesville, FL, US
@larowlan
Just resolved all the threads. Thanks for your feedback in there. Let me know what's next.
- Status changed to RTBC
12 months ago 6:13am 6 December 2023 - ๐ณ๐ฑNetherlands bbrala Netherlands
Gonna set rtbc, and suggest it will be added to core meeting.
We doel still need a change record it seems though. Quietone did point at the correct project in #16
- ๐ณ๐ฑNetherlands bbrala Netherlands
Change record can be found here: [#3406417].
- ๐ณ๐ฑNetherlands bbrala Netherlands
@mherchel there seems to be one line not removed from the document yet, a placeholder for example code, which seems to have examples right above it? Quite minimal imo, so not gonna remove rtbc.
- ๐บ๐ธUnited States mherchel Gainesville, FL, US
done! The code sample was actually there. Just forgot to remove the placeholder!
Change record is at https://www.drupal.org/node/3406417 โ , since the syntax above doesn't work with CR's, I guess.
- ๐ฆ๐บAustralia larowlan ๐ฆ๐บ๐.au GMT+10
This was discussed at core committers meeting on Wed December 5th (UTC)
There were no objectionsThere was however a desire to split the tooling (e.g. stylelint) from the standard.
Can we review the document and remove any specific mentions of a particular tooling.
This will make it easier to change tooling without needing to change the standard.
I think is ready for a draft blog post now.
- ๐ฌ๐งUnited Kingdom jonathan1055
Updated the IS for the full new process, so that we can see all steps 1-9.
- ๐ฌ๐งUnited Kingdom jonathan1055
Discussion post is published 11 Dec so removing the 'Needs announcement for final discussion' tag
https://www.drupal.org/about/core/blog/coding-standards-proposals-for-fi... โ - ๐ฌ๐งUnited Kingdom catch
This has been ready to go for a while - can someone do the honours of the actual documentation update so we can mark this fixed?
- ๐บ๐ธUnited States mherchel Gainesville, FL, US
yeah, this is on me (sorry!). I've been a bit snowed under with both work and personal stuff.
- ๐ณ๐ฟNew Zealand quietone
I updated CSS formatting guidelines โ by replacing content with what is in the google doc. That is available for review. Also, the text is using 'whitespace' which is not in American English dictionaries. Should it be changed to 'white space'?
- ๐ท๐ธSerbia finnsky
https://github.com/prettier/stylelint-prettier
in core now. https://www.drupal.org/project/drupal/issues/3409048 ๐ Configure postcss formatting after stylelint and stylelint-config-standard update Fixed
- ๐ณ๐ฑNetherlands bbrala Netherlands
This still needs documentation updates.
- Status changed to Postponed
4 months ago 5:08am 23 July 2024