Problem/Motivation
Now that the Twig engine is in core, we must convert all existing core *.tpl.php template files and theme_ functions to use Twig templates. Preprocess functions and hook_theme definitions must also be updated.
TODO
DOCS: Coding standards for conversion:
Resources
- Watch the Twig screencast for help: http://www.youtube.com/watch?v=HS4yKJjrb2E
- Read more about Twig best practices for preprocess functions and templates in Drupal docs.
Proposed resolution
See sub-issues below.
Remaining tasks
Template file conversions:
Replace all tpl.php files with .html.twig equivalentsUpdate preprocess functions for the .html.twig versions of .tpl.php templates, to use renderablesBenchmark the .html.twig versions of template files to assure they aren't very much slower
Convert theme_* functions to Twig templates. See #2348381: [META-0 theme functions left] Convert/refactor core theme functions.
- Replace all theme functions with .html.twig equivalent templates
- Add new preprocess functions for the .html.twig versions of theme functions (if necessary)
- Benchmark the .html.twig versions of theme functions to assure they aren't very much slower
- Update all hook_theme definitions to include
'template' => 'foo',where foo.html.twig is the template being added
RTBC
Needs review
@see Documentation for reviewing patches
Needs profiling
@see Documentation for profiling twig patches
Needs manual testing
@see Documentation for manually testing twig patches
Needs work
- theme_system_modules_details() (system.admin.inc): #2151109: Convert theme_system_modules_details() to Twig
- theme_system_modules_uninstall() (system.admin.inc): #2151113: Convert theme_system_modules_uninstall() to Twig
Needs work (needs Tests)
@see Documentation for writing automated tests
Needs work (performance tuning)
Postponed
- picture module: #1898442: responsive_image.module - Convert theme_ functions to Twig
- menu module: #1898430: menu.module - Convert theme_ functions to Twig
- #2151109: Convert theme_system_modules_details() to Twig
- theme_test module theme_ functions: #1987414: Remove test coverage for theme functions
Fixed/closed (roughly reverse chronological)
- theme.maintenance.inc (authorize.php): #1885564: theme.maintenance.inc (authorize.php) - Convert theme_ functions to Twig
- #1777332: Replace theme_menu_link() and menu-tree.html.twig with a single Twig template
- menu.inc: #1898478: menu.inc - Convert theme_ functions to Twig
- #2329505: Convert theme_task_list to Twig template
- #1963982: Convert theme_views_ui_rearrange_filter_form() to Twig
- remove theme_more_link #2031301: Replace theme_more_link() and replace with #type 'more_link'
- #2152227: Convert theme_tableselect() to #theme table__tableselect
- #1963980: Convert theme_views_ui_expose_filter_form() to Twig
- #2264833: Convert theme_update_version to update-version.html.twig Assigned to: l0ke
- update module: #1898466: update.module - Convert theme_ functions to Twig
- forum module: #1987400: forum.module - Convert theme_ functions to Twig
- system module meta (@todo add sub-issues here): #1987410: [meta] system.module - Convert theme_ functions to Twig
- user module theme_ functions: #1987418: user.module - Convert theme_ functions to Twig
- seven theme: #1987424: seven.theme - Convert theme_ functions to Twig
- simpletest module: #1898452: simpletest.module - Convert theme_simpletest_result_summary functions to Twig
- mark #1939092: Convert theme_mark() to Twig
- #2151821: Convert theme_system_config_form() to Twig
- image module: #1898420: image.module - Convert theme_ functions to Twig
- file module: #1898070: file.module - Convert theme_ functions to Twig
- #2264753: Convert theme_update_last_check to update-last-check.html.twig
- #2152215: Convert theme_form_element_label() to Twig
- #2152205: Convert theme_date() to #theme input__date
- #2152219: Convert theme_input() to Twig
- language module: #1898422: language.module - Convert theme_ functions to Twig
- #2152217: Remove theme_form_required_marker() from the theme system - use CSS instead
- #2151105: Convert theme_system_admin_index() to Twig
- #2151123: Remove theme_system_modules_incompatible()
- table #1939008: Convert theme_table() to Twig Assigned to: sun
- #2152201: Convert theme_checkboxes() to Twig
- #2151113: Convert theme_system_modules_uninstall() to Twig
- #2152211: Convert theme_form() to Twig
- field module theme_ functions: #1987398: field.module - Convert theme_ functions to Twig
- #2151089: Convert theme_admin_block() to Twig
- #2151095: Convert theme_admin_page() to Twig
- #2151097: Convert theme_confirm_form() to Twig
- #2151107: Convert theme_system_compact_link() to Twig
- #2152221: Convert theme_radios() to Twig
- image: #1939068: Convert theme_image() to Twig
- #2151119: Convert theme_system_themes_page() to Twig
- #2152203: Convert theme_container() to Twig
- #2151093: Convert theme_admin_block_content() to Twig
- #2152209: Convert theme_fieldset() to Twig
- #2152225: Convert theme_select() to Twig
- node module theme_ functions: #1987406: node.module - Convert theme_ functions to Twig
- item list #1939062: Convert theme_item_list() to Twig
- #2152207: Convert theme_details() to Twig
- theme links #1939064: Convert theme_links() to Twig
- forum topic list #2092343: Consolidate forum.module and remove call to _theme_table_cell() within template_preprocess_forum_topic_list()
- #2152213: Convert theme_form_element() to Twig
- #2152229: Convert theme_textarea() to Twig
- #2151117: Remove theme_system_powered_by()
- #2151101: Convert theme_status_report() to Twig
- #2152231: Convert theme_vertical_tabs() to Twig [small followup]
- comment module: #1987396: Refactor & Clean-up comment.module theme functions
- filter module: #1898416: filter.module - Convert theme_ functions to Twig
- toolbar module: #1898464: toolbar.module - Convert theme_ functions to Twig
- ckeditor module: #1963474: ckeditor.module - Convert theme_ functions to Twig
- rdf module: #1898444: rdf.module - Convert theme_ functions to Twig
- indentation: #1939102: Convert theme_indentation() to Twig
- aggregator module theme_ functions: #1987390: aggregator.module - Convert theme_ functions to Twig
- status messages: #1939082: Convert theme_status_messages() to Twig
- feed icon: #1939096: Convert theme_feed_icon() to Twig
- theme_views_mini_pager: #1912604: Convert theme_views_mini_pager to twig
- #1918648: Convert theme_views_ui_style_plugin_table to Twig
- #1912600: Remove theme_views_form_views_form in favour of a prerender callback.
- #1912606: Remove theme_views_view_grouping function
- #1939086: Convert theme_dropbutton_wrapper() to Twig
- #1939100: Convert theme_progress_bar() to Twig
- #1915026: Convert theme_views_ui_container to Twig
- #1963476: datetime.module - Convert theme_ functions to Twig
- #1963986: Convert theme_views_ui_view_info() to Twig
- #2031305: Remove theme_more_help_link() and replace with a #type link render array
- #1898474: pager.inc - Convert theme_ functions to Twig
- #1898426: link.module - Convert theme_ functions to Twig
- #1963988: Convert theme_views_ui_view_preview_section() to Twig
- #1963764: Convert theme_views_view_mapping_test() to Twig
- #1939066: Convert theme_breadcrumb() to Twig
- #1939090: Convert theme_tablesort_indicator() to Twig
- #1939080: Convert theme_datetime() to Twig
- #1898428: locale.module - Convert theme_ functions to Twig
- #1898456: common_test.module - Convert theme_ functions to Twig
- #1898060: Remove all (useless) theme functions from dblog module, so we don't have to convert to Twig
- #1898038: custom_block.module - Convert theme_ functions to Twig
- #1898052: color.module - Convert theme_ functions to Twig
- #1898448: search.module - Convert PHPTemplate templates to Twig
- overlay module theme_ functions: #1987408: overlay.module - Convert theme_ functions to Twig
- options module: #1898434: Remove theme_options_none, use an alter hook instead for changing empty option label
- theme_views_view_field() will be removed in #1843746: Convert views/templates/views-view-field.tpl.php to Twig
- #1939104: Convert theme_html_tag() to Twig
- #1963978: Convert theme_views_ui_build_group_filter_form() to Twig
- shortcut module: #1898450: shortcut.module - Convert theme_ functions to Twig
- field_ui module: #1898068: field_ui.module - Convert theme_ functions to Twig
- [meta] theme.inc: #1885560: [meta] Convert everything in theme.inc to Twig
- link: #1961876: Convert theme_link() to Twig
- more link #1939098: Convert theme_more_link() to Twig
- more help link: #1939094: Convert theme_more_help_link() to Twig
User interface changes
None.
API changes
Likely minimal to no API changes.
Possible new theme layer process order:
http://gist.io/5650535
Resources
Google Docs:
- Twig Conversion Instructions (All conversions have been moved to the core queue, we would like to have a handbook page on Drupal.org similar to this document to detail converting templates and theme functions to Twig)
- Twig Consolidation Suggestions (after this issue is fixed).
Twig sandbox: http://drupal.org/sandbox/pixelmord/1750250 (all conversions have been moved over from the sandbox and we are working directly in the core queue, the sandbox link is only here for reference).
Related Issues
- #1987510: [meta] Convert all core *.tpl.php templates to Twig as singular patch
- #1843650: Remove the process layer (hook_process and hook_process_HOOK)
### These issues were actually blocking progress ###
- #1922454: Gut l(), fix theme('link'), have a working framework for consistently generated links inside and outside of Twig Assigned to: catch
- #1867090: Nested Twig 'for' loops behaving strange
- #1975442: drupal_render() should always return a string.
## This issue will decrease the work we need to do ##
These issues are related to our work, and will block the release of D8
- #1938948: Temporarily allow PHPTemplate themes to use .html.twig templates during Twig conversion
- #1920886: drupal_render() should check if it's rendering a 'render element' and if so call drupal_render_children() (inline) instead
- #1938430: Don't add a default theme hook class in template_preprocess()
- #1649780: Remove first/last/odd/even classes in favor of CSS3 pseudo selectors
Twig engine issues
- #2082845: Remove end of file newline from twig files automatically.
- #1970960: Twig implementation does not print int(0) Assigned to: alexrayu
- #1975462: Allow and test for NULL and integer 0 values in Twig templates.
- #1971860: Document that Twig debug mode breaks tests
- #1964156: Contrib cannot define additional Twig extensions
- #2006282: Refactor Attribute classes - Cleanup, Security, and Readability and minor performance
- #2048637: Add #type => 'attributes' and wrap in Attribute class with drupal_pre_render_attributes
- #1927584: Add support for the Twig {% trans %} tag extension Assigned to: markhalliwell
- #1922304: Remove TwigReference objects in favor of a high speed implementation by using NodeVisitors more cleverly
Performance issues
- #1982018: [meta] Refactor template_preprocess()
- Remove unnecessary preprocessing (no issue yet)
- #1982024: Lazy-load Attribute objects later in the rendering process only if needed
- #1920886: drupal_render() should check if it's rendering a 'render element' and if so call drupal_render_children() (inline) instead
- #1986116: Improve performance by replacing very small and simple templates and theme function with "Markup Utility Functions"
After Commit Issues
- Update preprocess functions for the .html.twig versions of .tpl.php templates - remove unnecessary preprocessing:
- #1963942: Change all instances of $vars to $variables
- #1905584: Move base theme system templates into /core/templates
- #1825952: Turn on twig autoescape by default
- #1818266: [meta] A secure theme system (with twig) Assigned to: fabianx
- #1804614: [meta] Consolidate similar twig templates and properly use theme suggestions in core
- #1993512: template_preprocess_views_ui_display_tab_setting() doesn't need two variables that mean the same thing.
Notes for reviewing Twig Patches manually
To find a list of patches that are theoretically good to go but manual testing is holding them back see http://drupal.org/project/issues/search/drupal?text=convert&status%5B%5D....
It is helpful to use Dreditor to review patches and to test patches applied to fresh install of Drupal8 via simplytest.me.
Generally, you are trying to see if the HTML output has changed from a clean install of Drupal 8 versus a patched install. Many Twig issues have a "To test this code" section in the issue summary that will direct you how to test the patch. If you find that testing the patch using simplytest.me has not produced the results you expected, or only some of the expected output, you will want to test the patch manually.
Check out this screencast on how to use Daisy Diff to compare markup: http://www.youtube.com/watch?v=Bv4PY_ZEP4Q
Comments
Comment #1
larowlantagging
Comment #1.0
larowlanUpdated issue summary.
Comment #2
podarokmoving to proper project
Comment #2.0
podarokUpdated issue summary.
Comment #2.1
c4rl commentedUpdate summary to reflect google doc
Comment #3
c4rl commentedUpdated issue summary to reflect that we're tracking these in a Google Doc.
Comment #4
catchI think this is more appropriate if we're going to get Twig conversion done anywhere near approaching API freeze.
Comment #5
berdirFixing title.
Comment #6
jenlamptonWe're nowhere near being able to replace all the themable output in core with Twig templates yet (I wasn't aware that had anything to do with API freeze?), we don't even have a theme component library ready for use yet.
That said, we are ready to do a straight conversion of all the .tpl.php files into .html.twig files, if that would buy us some time to rethink all the theme functions.
In theory, we could do a straight conversion of everything we have now into Twig - but I think we can do better than that. Doing a straight conversion to twig first would be a bit of a time sink (since some/most of it would get thrown out later) but if we need to go that route to get it in we can.
Comment #7
catchI haven't seen any theme component library patches land recently although might have missed some committed by Dries/webhick? #1595614: [meta] Remove all the theme functions and templates in core that simply output a link. Replace with #type 'link' render arrays for example hasn't had an update for nearly a month. Is there work going on with the theme function/template consolidation that I've missed?
As we're converting templates, we'll likely hit issues with the Twig/Drupal integration and/or want to work on enhancements like removing a bunch of stuff from preprocess for performance. Some of those things might end up getting blocked on API freeze although it depends what they are. But the earlier conversions go in the more chance there is to tweak things as we go.
If functions like theme_links(), theme_item_list() and theme_table() end up getting removed that's quite a significant API change in itself. Module authors need to be able to start porting once API freeze hits, and 1. know that anything that's on its way out is really, really on its way out and they shouldn't use it 2. have enough solid ground for new stuff that replaces it to refer to that they're able to port to it via core examples. i.e. there needs to be enough in to tip the balance by then I think.
Comment #8
mbrett5062 commentedAbout time the Google doc was updated, just checked a number of 'needs review' issues and they were all fixed - closed and committed more then 2 weeks ago. Would be nice to see what the actual status is, and where help is needed.
Comment #8.0
jenlamptonRemove links
Comment #8.1
steveoliver commentedUpdating with issue summary template.
Comment #9
jenlampton@catch so it sounds like we should prioritize everything currently in system module / theme.inc and maybe get those in ASAP - even if that means changing them later to fit with the theme component library (still not done yet, no core patches in progress).
I'll see where we are today in the hangout and maybe we can get going on those.
@mbrett5062 I hope you updated the google doc to show the correct status of all the issues you looked at? :)
Comment #10
mbrett5062 commented@jenlampton, I don't think I have access to update the doc. Correct me if I am wrong, would be happy to help in any way I can.
Comment #11
mbrett5062 commentedIgnore last comment @jenlampton, I was able to update the sheet. Have now marked all rows with correct status of relevant issue. Some were demoted from fixed, and will need looking at again. Lots marked as fixed now as issue has been closed fixed for more then 2 weeks. Hope that helps a little.
Comment #12
eigentor commentedAh O.K. was looking for a twig equivalent for page.tpl.php - so I guess this is a bit soon in the process.
Comment #12.0
jenlamptoncleanup
Comment #13
jenlampton@eigentor In the long run, page.tpl.php will likely be left to the blocks and layouts initiative and will perhaps be replaced with a layout. For now, we've just redone the D7-style template in twig syntax.
@mbrett5062 thanks for the help, there are so many moving pieces it's hard to keep them all in sync! :)
@catch I'm not sure how removing functions like theme_links() is an API change. From the perspective of modules, they should still be calling theme('links') exactly as they were before. Is it because themes will need to write a links.html.twig file instead? I guess that's a pretty huge difference :) Forward we go...
Comment #14
catch@jenlampton - the example would be if theme('links') got replace with theme('item_list') - then theme('links') would just break.
Comment #15
eigentor commented@jenlampton the redone page.tpl.php is not in core yet, right?
Comment #16
webchickThis is a really spooky place to be in, less than one month before feature freeze, folks... :( While we don't have to have all conversions done until July 1, we still have basically no idea right now if we can actually use Twig as a performant, secure, and themer-friendly way yet, because nothing in core other than node and toolbar is actually using Twig.
It would be one thing if the fantastic energy and momentum the Twig team had kept up around BADCamp had kept on, and we were committing a few patches a week to solve underlying Twig things we still don't know how to solve (how will preprocess functions work? will we use the sanitize feature or not? etc.). Instead, it seems like the team has largely dissipated and other than #1812724: Consolidate all form element templates and add theme_hook_suggestons I can't recall committing any Twig-affecting patches in recent memory. http://drupal.org/project/issues/search/drupal?issue_tags=Twig seems to back that up.
There needs to be some pick-up here, real soon, or we might need to have some very hard discussions come mid-Feb. :(
Comment #16.0
webchickadded links to theme.inc patches
Comment #17
jenlampton@webchick I think the Twig team has mostly been fixated on bigger / harder issues that will actually solve some of the problems our theme system faces regardless of the engine in use. Unfortunately, it's really hard for us to make progress on issues that big quick enough for you to commit several underlying patches per week. :) see #939462: Specific preprocess functions for theme hook suggestions are not invoked
We can (and will) start giving you more patches that replace all the .tpl.php files with .html.twig ones, but that's only a very small piece of fixing our theme system. Hopefully making some progress on those issues though will at least make it feel like we're still moving things in the right direction :)
Comment #18
GeminiAgaloos commentedAt this week's San Diego Drupal Camp, we have planned a Twig sprint on Saturday, Jan 26th
https://www.sandcamp.org/twig-sprint-at-sandcamp
@jenlampton, would you by any chance be able to come and join us?
-Gemini
Comment #19
eigentor commentedI don't know how hard it is to convert at least the most common templates. But especially if it is not, it would make the system at least basically usable. I guess there are not too many people trying to create a twig-based theme at the moment.
But even those cannot do that. So Twig remains a black box for too long. The fact that it is usable needs proof.
So if I can help to convert page.tpl.PHP with no coding skills, point me to where I can help. If not, try to get someone to start on it. This might get more people interested.
Comment #19.0
eigentor commentedling to aggregator
Comment #19.1
jenlamptonremove message to leave theme in place
Comment #19.2
c4rl commentedAdd list of all core modules that invoke hook_theme
Comment #19.3
c4rl commentedRemoved extra files from module list
Comment #19.4
c4rl commentedBlock module issue
Comment #19.5
c4rl commentedLinked custom_block module issue
Comment #19.6
c4rl commentedLinked book module issue
Comment #19.7
c4rl commentedLinked color module issue
Comment #19.8
c4rl commentedLinked comment module issue
Comment #19.9
c4rl commentedLinked dblog module issue
Comment #19.10
c4rl commentedLinked field module issue
Comment #19.11
c4rl commentedLinked field_ui module
Comment #19.12
c4rl commentedLinked file module issue
Comment #19.13
c4rl commentedLinked filter module issue
Comment #19.14
c4rl commentedLinked forum module issue
Comment #19.15
c4rl commentedLinked image module issue
Comment #19.16
c4rl commentedLinked language module
Comment #19.17
c4rl commentedLinked layout module issue
Comment #19.18
c4rl commentedLinked link module issue
Comment #19.19
c4rl commentedLinked locale module issue
Comment #19.20
c4rl commentedLinked menu module issue
Comment #19.21
c4rl commentedLinked node module issue
Comment #19.22
c4rl commentedLinked overlay module issue
Comment #19.23
c4rl commentedLinked picture module issue
Comment #19.24
c4rl commentedLinked rdf module issue
Comment #19.25
c4rl commentedLinked search module issue
Comment #19.26
c4rl commentedLinked shortcut module issue
Comment #19.27
c4rl commentedLinked simpletest module issue
Comment #19.28
c4rl commentedLinked system module issue
Comment #19.29
c4rl commentedLinked common_test module issue
Comment #19.30
c4rl commentedLinked theme_test module
Comment #19.31
c4rl commentedLinked taxonomy module issue
Comment #19.32
c4rl commentedConvert toolbar module to Twig
Comment #19.33
c4rl commentedLinked update module issue
Comment #19.34
c4rl commentedLinked user module issue
Comment #19.35
c4rl commentedLInked views module issue
Comment #19.36
c4rl commentedLinked views_ui module issue
Comment #19.37
c4rl commentedLinked pager.inc issue
Comment #20
c4rl commentedMore descriptive title
Comment #20.0
c4rl commentedLinked menu.inc issue
Comment #20.1
c4rl commentedLinked form.inc issue
Comment #21
webchickAwesome, the issues filed under http://drupal.org/project/issues/search/drupal?issue_tags=Twig make me very, very, very happy! :D Hope the sprint this weekend at SandCamp goes well!!
Comment #22
c4rl commentedI think we may have a potential blocker here, that I will explain, and perhaps others have some insight.
Much of the Twig conversion work has been done in the Twig sandbox project. FabianX rebases the sandbox against D8 HEAD frequently, but I believe since the big Twig patch came in during BADCamp, there has been work done in the sandbox that isn't yet part of HEAD (e.g. usage of *.html.twig extension vs *.twig extension).
Inasumch, in order for people to have working patches against core, do we need another maintenance patch on HEAD to bring its Twig integration up to date? And if so, is the most recent rebase on the sandbox working well enough to make this happen? Looking at this last night it appears there are some outstanding bugs in the sandbox, and I've seen a few new bug reports in the sandbox project in the past 24 hours (last rebase was yesterday).
Can someone else confirm this is accurate?
Comment #23
GeminiAgaloos commentedAt SandCamp 2013 twig sprint:
working off pixelmord's sandbox: Drupal 8 Twig Sandbox
Comment #24
eigentor commentedLooking into the sandbox code, one finds all the templates inside the Stark theme in the templates folder.
Do you have to rework all theses to integrate them into the proper core modules, or can they basically stay the same?
Comment #25
c4rl commentedThe sandbox assumes that both PHPTemplate and Twig are valid theme engines, and PHPTemplate is the default. Therefore, stark provides all the markup for every core module. We needed to get Twig working before we could replace PHPTemplate.
The curent proposal now is to replace PHPTemplate with Twig in D8 HEAD, which means that for every core module (and some .inc files) will need to reflect Twig as the default theme engine (and thus will provide .html.twig files). Stark, thus, reverts back to simply being a .info file (as it was in D7).
However, I think there are problems, as I mentioned in my comment #22 since I believe some of the Twig internals have shifted in the sandbox. I need confirmation of this from others -- that is, is Twig even working in HEAD? I'm not certain that it is.
Comment #26
steveoliver commentedTwig works in 8.x head. Make a change to
core/modules/node/templates/node.html.twigand see it is being used instead of the.tpl.phpin the same directory.Comment #27
steveoliver commentedEdit: not .html.twig -- as per #22 there are Twig internals like the .html.twig file extension which needs to be updated.
Comment #28
steveoliver commentedSee #1900458: Use .html.twig instead of .twig file extension.
Comment #29
steveoliver commentedSince #1905584: Move base theme system templates into /core/templates, we'll put all templates from
core/includes/*.incthat don't end up in their own module (like menu), incore/modules/system/[templates].Comment #29.0
steveoliver commentedMore descriptive summary
Comment #29.1
thedavidmeister commentedAdded follow up for comment module.
Comment #30
c4rl commentedYes, based on #29, it seems that the issues listed above regarding the *inc files would be accommodated by #1898454: system.module - Convert PHPTemplate templates to Twig, and I've listed this as a comment in each of those issues.
That could result in a big patch, so if it seems unwieldily, I suppose we can make #1898454: system.module - Convert PHPTemplate templates to Twig a meta issue and split up the rest.
Comment #30.0
c4rl commentedUpdated link to older/original views conversion issue.
Comment #31
star-szrRelated issue about preprocess function documentation, could use some more eyes and opinions please: #1913208: [policy] Standardize template preprocess function documentation
Comment #31.0
star-szradded a follow up issue for image module
Comment #31.1
star-szrAdd link to screencast in summary
Comment #31.2
c4rl commentedMove screencast link to top
Comment #31.3
c4rl commentedReformatting
Comment #31.4
joelpittetMoved the items that related to #1876712 into their own little section
Comment #31.5
joelpittettypo
Comment #31.6
joelpittetmoved simple test down to the tables hold up area
Comment #31.7
steveoliver commentedAdded 'Remove theme functions' to list of proposed resolution(s).
Comment #31.8
jenlamptontheme stuff
Comment #31.9
jenlamptonmove blocked issues
Comment #31.10
jenlamptonstark link
Comment #31.11
jenlamptonmove
Comment #31.12
jenlamptonadded top 8 to top
Comment #31.13
jenlamptonrest label
Comment #31.14
jenlamptonsub theme.inc issue
Comment #31.15
jenlamptonadded node into blocked list
Comment #31.16
star-szrUpdating blocker for node and custom_block
Comment #31.17
star-szrRemoving other blocker for node and custom_block. I think it would be messy to try and convert the core themes before converting the modules.
Comment #31.18
jenlamptonadded more blockers
Comment #31.19
star-szrRemove sub-issue from theme.inc, see meta issue instead.
Comment #31.20
star-szrUpdate theme.inc link
Comment #31.21
jenlamptonupdate theme.inc stuffs
Comment #31.22
joelpittetshuffling and making a needs reviewed pot
Comment #31.23
joelpittetmove more around for needs review
Comment #31.24
jenlamptonunblock
Comment #31.25
jenlamptonorder
Comment #31.26
joelpittetadded rtbc area and moved layout into review needed
Comment #31.27
joelpittetAdded needs work subhead
Comment #31.28
jenlamptonalphabetize
Comment #31.29
jenlamptonrework
Comment #31.30
jenlamptonre
Comment #31.31
jenlamptonre
Comment #31.32
jenlamptonblocker
Comment #31.33
jenlamptonblock
Comment #31.34
jenlampton]
Comment #31.35
jenlamptonbold
Comment #31.36
jenlamptontodos
Comment #31.37
jenlamptonrelated
Comment #31.38
c4rl commentedMove blockers to top
Comment #31.39
star-szrTweak wording
Comment #31.40
jenlamptonremove dupe
Comment #31.41
joelpittetAdded #type=>table to the blocker list because it's holding up some combined conversions or not needed conversions.
Comment #31.42
joelpittetViews meta issues added.
Comment #31.43
steveoliver commentedAdded template_preprocess cleanup issue to list of blockers.
Comment #32
star-szrIf you've been thinking about getting involved, there's no time like the present. We're working hard to get everything converted and could really use your help.
See the announcement posted on g.d.o/core for more information:
http://groups.drupal.org/node/292068
Comment #32.0
star-szradded a blocking issue
Comment #32.1
webchickx
Comment #32.2
star-szrUpdate hook_theme instructions
Comment #32.3
star-szrSerial comma ;)
Comment #32.4
star-szrFix alphabetical order
Comment #33
star-szrI put together a Google docs spreadsheet today based on the sandbox conversion spreadsheet (in the issue summary now also):
https://docs.google.com/spreadsheet/ccc?key=0AsJ6gAy_YfPadGlkX2lMU3F5S1p...
We still need help working on patches, but now that I see the numbers, we really could use more reviewers! As I'm writing this we have 42 conversion patches at needs review that could use some eyes.
Reviewers and contributors, drop by #drupal-twig on IRC if you have any questions or just leave a comment on the issue.
Comment #33.0
star-szrAdd new spreadsheet to summary
Comment #33.1
star-szrAdd ckeditor and datetime modules for conversion.
Comment #33.2
star-szrAdd conversion spreadsheet higher up in the issue as well.
Comment #33.3
star-szrUpdate views and views_ui subissues now that views_ui is a meta
Comment #33.4
joelpittetadded the $vars to $variables conversion as after commit
Comment #34
star-szrWe also need help manually testing almost all of the conversion patches to ensure we don't have regressions in markup or functionality. Search for issues that are at 'needs review' and tagged 'Twig' and 'Needs manual testing'.
There are two main options for testing, the second option only requires a web browser:
If you're testing locally, enabling
$settings['twig_debug']in settings.php will show HTML comments around the output of each Twig template that indicate which template the output comes from.If you find differences in the markup other than whitespace, please add a comment on the issue with the markup before and after applying the patch in
<code>tags. If you spot any visual differences, before and after screenshots can be uploaded.If the patch works as expected, you can remove the 'Needs manual testing' tag after completing testing and commenting with your findings.
Comment #34.0
star-szrAdd coding standards for templates and template preprocess functions
Comment #34.1
ressaCorrected link "Template preprocess function coding standards (RTBC draft)"
Comment #34.2
jenlamptonactual blockers
Comment #34.3
star-szrUpdate spreadsheet links
Comment #34.4
joelpittetAdded the entire theme.inc meta sub issues under for this overview.
Comment #34.5
joelpittetshuffle closed view issues
Comment #34.6
joelpittetmove the droped views ui ones to the end
Comment #34.7
thedavidmeister commentedAdded an "after commit" issue
Comment #34.8
joelpittetadded twig loop bug
Comment #35
thedavidmeister commentedA week later from #33 and we still have 43 issues tagged as "needs review".
Things have obviously moved since then, look at http://drupal.org/project/issues/search/drupal?status%5B%5D=8&issue_tags... to see that none of our conversion issues have been ignored in over a week but we need to keep all these "yellow" issues moving to "red" (needs work) or "green" (RTBC) as fast as possible if we're to maintain our forward momentum - receiving a negative review for a patch you think is finished after a week or two without any update is much more demotivating than hearing the bad news straight away.
If you're not actively responding to feedback on a patch you've written please make providing feedback for others your next highest priority - don't underestimate how important timely and quality reviews are to getting this issue over the line. Easy things to look out for that have been appearing in the reviews that I've been doing this weekend for patches that would otherwise be RTBC are:
- Not adhering to the generic Drupal coding standards, particularly incorrect whitespace or documentation formatting.
- Not using the latest Twig documentation standards, #1913208: [policy] Standardize template preprocess function documentation and #1823416: [Obsolete] Twig coding standards are the references. Look out for "Preprocesses X" instead of "Prepare variables for X" in preprocess function comments. Look out for PHP data types being referenced in Twig templates (they shouldn't be).
- Hardcoded classes/attributes in Twig templates instead of building these inside an Attribute object in the preprocess function.
- Leftover process/theme functions that would be better deleted or merged into another function/template.
- Incomplete documentation in Twig templates - Look out for variables being used in the template that aren't documented in the main @file docblock or maybe a variable is mis-named in the docblock. Remember that many developers will be relying on this documentation exclusively to write a template - they may not even realise that they can cross-reference the preprocess function to get the right name/structure of a variable.
- Forgetting to reference the preprocess function with an @see in the Twig template docblock.
These "little" things are all going to block a patch getting committed, are easy to forget yet easy to spot if you're looking out for them and are easy for the creator of a patch to fix up once they've been identified by a reviewer.
Only once a green (according to testbots) patch has been cleaned out of all the "nitpick" obvious stuff like these those I've pointed out here should we be trying to manually A/B markup output from the Templates. If you are the author of a patch that needs manual review and you're submitting it to "needs review" status please provide step by step instructions showing how to generate/see each of the templates that need testing, see the issue summary of #1898432: node.module - Convert PHPTemplate templates to Twig for a good example.
Comment #35.0
carsonblack commentedUpdated issue summary.
Comment #35.1
carsonblack commentedUpdated issue summary.
Comment #35.2
star-szrtheme_views_ui_rearrange_form() is gone!
Comment #35.3
star-szrAdd a note that theme.inc issues appear in two places, remove issue referenced under image.module (should be covered by gut l() I think.)
Comment #35.4
c4rl commentedAdded link to Daisy Diff screencast
Comment #35.5
c4rl commentedFormatting
Comment #35.6
c4rl commentedLink to Daisy Diff
Comment #35.7
jenlamptonadd engine section
Comment #35.8
jenlamptonreorder
Comment #35.9
jenlampton#
Comment #35.10
jenlamptonautoescape
Comment #36
webchickJust a note that https://github.com/LionsAd/twig-in-d8-core is a fork of core with all of the Twig conversions that are outstanding all in one spot!
Should be an excellent way to both profile and get a sense of what all the markup looks like at the end of this.
Comment #36.0
webchickescape
Comment #36.1
thedavidmeister commentedadded an "after commit" issue
Comment #37
fabianx commentedTo be precise:
* All RTBC and CNR issues are in there and new are added as they become ready.
* Please use the develop branch - 8.x is the state of core this was forked from.
Comment #37.0
fabianx commentedAdded two engine issues
Comment #37.1
thedavidmeister commentedadded an issue blocking progress
Comment #37.2
fabianx commentedAdded new engine issue.
Comment #37.3
fabianx commentedAdd another meta issue
Comment #38
star-szrConsolidation is on the horizon. I propose we remove all @todos and comments from conversion patches that refer to consolidation or removal of templates. In my opinion the @todos are cluttering up our templates and making them less committable at this point in the code cycle. I also think consolidation issues will be easier to track in a meta issue than comments scattered across core :)
…and, if we don't get to all of the consolidations, we're still improving themer experience significantly!
I ran this idea by @c4rl and he approved.
Consolidation @todo removal steps:
A. If there is already an issue link in the @todo, make sure it is part of the issue summary in the consolidation meta: #1804614: [meta] Consolidate similar twig templates and properly use theme suggestions in core
(if it's not in the issue summary, edit the issue summary to add it!)
B. If there isn't an issue created for the proposed consolidation, create the issue, tag it with 'Twig' and 'theme system cleanup', and add it to the meta: #1804614: [meta] Consolidate similar twig templates and properly use theme suggestions in core. Post a link to the issue to the relevant Twig conversion issue as well.
In both cases, roll a new patch to remove the @todo comment from the patch.
Comment #38.0
star-szrAttribution of issues
Comment #38.1
star-szrUpdate after commit issues - remove specific consolidation issue, add general consolidation issue. Add attribution @ sign magic.
Comment #38.2
star-szrTweak capitalization on Dreditor, linkify simplytest.me
Comment #38.3
thedavidmeister commentedadded manual testing instructions
Comment #38.4
fabianx commentedAdd performance issues.
Comment #39
fabianx commentedI updated:
https://github.com/LionsAd/twig-in-d8-core
with the newest patches from here. After careful checking, I also included all "needs work" patches as those were mostly cosmetic issues.
Unfortunately 12 patches failed to apply and need a re-roll:
I already send a re-test to all of them, so they have been marked CNW automatically.
Comment #39.0
fabianx commentedfix typo
Comment #39.1
thedavidmeister commentedadded a performance issue
Comment #40
star-szrThe Twig team has decided to focus on .tpl.php to .html.twig conversions for the immediate future, with the goal of getting these conversions committed before or at DrupalCon Portland. As a result, some of our existing conversion issues will need to be split up and the .tpl.php conversions and related preprocess changes moved to the new issues. I've created a new section near the top of the issue summary to hold the direct PHPTemplate to Twig conversion issues.
The main reasons why we decided to do this are:
We could use help splitting up the patches, I will split up aggregator.module as an example.
Comment #40.0
star-szrAdd new issues focussing on PHPTemplate to Twig conversions, rearranging.
Comment #41
jenlamptonOkay, Since this issue is getting much too big, I've created #1987510: [meta] Convert all core *.tpl.php templates to Twig as singular patch
We should do all the template file conversions over there, and leave the bulk of our work (theme functions) here where it started. Changing title to match new plan for this issue.
I suppose that means this issue doesn't have to be critical anymore (since the critical stuff is all over in #1987510: [meta] Convert all core *.tpl.php templates to Twig as singular patch) so changing priority back to major.
Comment #42
c4rl commentedThough I suppose I agree with the premise of converting the templates first, then approaching the concatenation-based functions, I can't say that I understand wholly (and subsequently can't say I agree wholly) with the administrative decisions that have been made in the past 24 hours. Why were these decisions not saved until the weekly call?
#40
Why? Why not use existing issues? For example, why was it decided that instead of changing the scope and direction of #1898432: node.module - Convert PHPTemplate templates to Twig to simply include the tpl files we now have #1987406: node.module - Convert theme_ functions to Twig.
Do the original issues that were part of this meta issue have relevance any longer? What is now the purpose of the former existing issues? Should they be postponed?
Comment #43
star-szrSorry for any confusion @c4rl, and great suggestion.
Slight change of plan:
We will re-use existing issues for the .tpl.php conversions e.g. #1898432: node.module - Convert PHPTemplate templates to Twig because they have more followers and we can use those eyes on the higher priority issues. We'll still split up the patches as discussed in #40 (theme_ function conversions in one issue, .tpl.php conversions in a separate issue), but we'll instead move the theme_ function conversions to the newly-created issues since they are not our highest priority at this time.
I also didn't make clear in #40 that @Fabianx and I discussed this course of action last night on IRC after the recent discussions with the whole team and decided to push forward with the plan despite the fact that we were not able to consult with the entire team at the time.
Comment #44
c4rl commentedOkay, I am going to start retitling existing issues to make the clarification that they are for tpl.php conversions and the new issues that were created last night should be fore theme functions.
Also, RE: #41, @jenlampton, can you describe why you created a second meta issue? I really don't think we need one, it just gives us more documentation to maintain. What are your thoughts?
Comment #44.0
c4rl commentedmoved other issues to other meta
Comment #44.1
c4rl commentedRevise formatting given new direction to prioritize .tpl.php conversions first.
Comment #45
c4rl commentedRetitling such that per my second comment on #44, I think this issue should accommodate both PHPTemplate file conversion and theme_ function conversion.
Comment #45.0
c4rl commentedEmphasize issues
Comment #46
c4rl commentedI've revised the issue summary so that the highest priority issues (i.e. those that contain .tpl.php files) are shown in bold, prefixed with the word [HIGH].
Comment #46.0
c4rl commentedAdd back in new theme_ function issues
Comment #46.1
star-szrAdd seven theme functions issue
Comment #46.2
star-szrMoving high priority issues to the top and re-adding views and views ui sub-issues so we can see the status of all 35 high priority issues at a glance
Comment #46.3
star-szrUpdated issue summary.
Comment #46.4
star-szrAdd note about conversion doc
Comment #47
c4rl commentedIf the sentiment expressed in #41 that this meta is getting "too big," let's remove any sub-issue references on this issue above that are not marked with [HIGH] (i.e., those that do not contain .tpl.php files) and leave #1987510: [meta] Convert all core *.tpl.php templates to Twig as singular patch as-is.
If, OTOH, if the formatting improvements I made makes this present issue seem more manageable, I vote we simply use this present issue as the sole meta and mark #1987510: [meta] Convert all core *.tpl.php templates to Twig as singular patch as duplicate.
@jenlampton, let me know your thoughts :)
Comment #48
jenlamptonI created another issue because we need someplace to put the patch. "The patch" being the patch that goes into core, the one that contains all the .tpl.php file conversions. The one that is the aggregate of all the tpl.php issues.
Moving that first patch onto it's own issue will prevent this one from being closed when that gets in. I don't want to loose the momentum on this issue, so I want it to remain open. I guess that makes this a meta-meta issue :)
Comment #48.0
jenlamptonMove sandbox link down to reference area
Comment #49
c4rl commented#48@jenlampton, okay that makes sense.
Comment #49.0
c4rl commentedbenchmark
Comment #49.1
c4rl commentedFormatting: Strong tags were a bit, well, strong :)
Comment #49.2
thedavidmeister commentedadded after commit issue
Comment #49.3
joelpittetPhrasing and caps
Comment #49.4
thedavidmeister commentedUpdated issue summary.
Comment #49.5
jwilson3added a "resources" section with links to twig best practices.
Comment #49.6
jwilson3make the resources into bullet list
Comment #50
yesct commentedThese are the ones that need profiling. The functions ones are low priority, the template to twig ones are higher priority.
http://drupal.org/project/issues/search/drupal?status%5B%5D=8&issue_tags...
Comment #51
cosmicdreams commentedI added #1999214: Add a commented out debug line to all templates to show which variables are available to request adding a comment to each template about the dump(_context) techique for revealing all the variables available to a theme.
Comment #51.0
cosmicdreams commentedRemove conversion spreadsheet links for now, no longer actively in use for .tpl.php conversions
Comment #51.1
geoffreyr commentedAdded #1964156 to twig engine issues at request of fabianx.
Comment #51.2
sean charles commentedUpdated issue summary.
Comment #51.3
johannez commentedminor change
Comment #51.4
joelpittetideas from Jen
Comment #51.5
jenlamptonremove greens
Comment #51.6
joelpittetupdated gist url to the pretty one
Comment #51.7
jenlamptonbartik
Comment #51.8
jenlamptonpreprocess cleanup
Comment #51.9
joelpittetadded attribute class issue
Comment #51.10
joelpittetadd profiling
Comment #51.11
star-szrWork in progress on updating issue summary to "move on up" format ala @thedavidmeister :)
Comment #51.12
star-szrBit more organization
Comment #51.13
star-szrMove up theme.maintenance.inc for another round of manual testing.
Comment #51.14
star-szrUpdate link to preprocess standards now that they are in 1354, move up forum issue for manual testing
Comment #51.15
star-szrMove aggregator up for manual testing
Comment #51.16
star-szrMove comment up for manual testing
Comment #51.17
star-szrMove common_test to RTBC-land
Comment #51.18
star-szrMove datetime to needs review
Comment #51.19
joelpittetAdded TODO list, and shuffled around a couple.
Comment #51.20
joelpittetremoved duplicate todo in favour of the todo page.
Comment #51.21
joelpittetshuffle around the todo
Comment #51.22
joelpittetcleanup format on uls
Comment #51.23
joelpittetlocale to profiling
Comment #51.24
joelpittettoolbar and update to CNW
Comment #51.25
joelpittetrdf to needs work
Comment #51.26
star-szrMove locale back to RTBC
Comment #51.27
joelpittetform and menu moved to needs work
Comment #51.28
joelpittetadded theme.inc, views and views ui theme functions from meta.
Comment #51.29
joelpittetAdding items to the fixed pile
Comment #51.30
joelpittetUpdated issue summary.
Comment #51.31
joelpittetmoving items into needs work
Comment #51.32
joelpittetmoved to needs profiling
Comment #51.33
joelpittetmoved a couple more into needs profiling.
Comment #51.34
joelpittetmoved some up to rtbc
Comment #51.35
joelpittetmoving indent to needs review
Comment #51.36
star-szrRemove bartik theme_ function meta since it is no longer needed
Comment #51.37
joelpittetshuffle
Comment #51.38
joelpittetmoving things into needs review
Comment #51.39
joelpittetmoving views container to needs review
Comment #51.40
joelpittetmoving views items up to needs review
Comment #51.41
joelpittetUpdated issue summary.
Comment #51.42
joelpittetPostponed section
Comment #51.43
joelpittetUpdated issue summary.
Comment #51.44
joelpittetUpdated issue summary.
Comment #51.45
joelpittetshuffle
Comment #51.46
star-szrAdd a new reroll
Comment #51.47
star-szrshorten up description
Comment #51.48
star-szrAdd another reroll, fix markup
Comment #51.49
star-szrAdd another reroll
Comment #51.50
jenlamptonupate
Comment #51.51
star-szrMove issues up
Comment #51.52
joelpittetUpdated issue summary.
Comment #51.53
joelpittetShuffle
Comment #51.54
joelpittetUpdated issue summary.
Comment #51.55
joelpittetUpdated issue summary.
Comment #51.56
joelpittetmoving
Comment #51.57
joelpittetmoved menu to postponed
Comment #51.58
joelpittetUpdated issue summary.
Comment #51.59
joelpittetadd re-roll search
Comment #51.60
joelpittetUpdated issue summary.
Comment #51.61
star-szrMove up link module
Comment #51.62
thedavidmeister commentedUpdated issue summary.
Comment #51.63
thedavidmeister commentedUpdated issue summary.
Comment #51.64
thedavidmeister commentedUpdated issue summary.
Comment #51.65
thedavidmeister commentedUpdated issue summary.
Comment #51.66
thedavidmeister commentedUpdated issue summary.
Comment #51.67
thedavidmeister commentedUpdated issue summary.
Comment #51.68
thedavidmeister commentedUpdated issue summary.
Comment #52
jhodgdonFor anyone working on these Twig conversions: Note that there had been an error in the documentation standards for Twig template files.
We no longer want a line saying:
in the documentation block.
We removed this line from the standards, and removed the offending lines from existing Twig templates on
#2013094: [policy adopted, patch needed] Stop saying '@see template_preprocess()' in every twig file
but let's make sure no more creep in with future conversions. Thanks!
Comment #52.0
jhodgdonindent down to needs work
Comment #52.1
jenlamptoncleanup
Comment #53
catchTheme function conversions no longer block a release, so I think this can be 'major'. It'd be great to get as many in as possible (as well as the complete removal ones), but if we don't it just means we didn't get to them all.
Comment #53.0
catchmajor cleanup
Comment #53.1
jenlamptonreorder
Comment #53.2
jenlamptondbw
Comment #53.3
jenlamptonupdate
Comment #53.4
jenlamptonreorder
Comment #53.5
jenlamptonsplit profiling problems
Comment #53.6
joelpittetUpdated issue summary.
Comment #53.7
joelpittetUpdated issue summary.
Comment #53.8
joelpittetUpdated issue summary.
Comment #54
star-szrJust clarifying the title a bit.
Comment #54.0
star-szrMoving bits around
Comment #54.1
joelpittetUpdated issue summary.
Comment #54.2
joelpittetmeter closed
Comment #54.3
joelpittetUpdated issue summary.
Comment #54.4
jenlampton:
Comment #54.5
jenlamptonreorg
Comment #54.6
jenlamptonreorg
Comment #54.7
jenlamptonreorg
Comment #54.8
jenlamptonreorg
Comment #54.9
jenlampton.
Comment #54.10
jenlamptonrtbc
Comment #54.11
jenlamptonprofiling
Comment #54.12
jenlamptonreorg
Comment #54.13
jenlamptonrtbc!
Comment #54.14
jenlamptonreorg
Comment #54.15
jenlamptonreorg
Comment #54.16
joelpittetUpdated issue summary.
Comment #54.17
jenlamptonmore link removals
Comment #54.18
jenlamptonreorg
Comment #54.19
jenlamptonreorg
Comment #54.20
jenlamptonreorg
Comment #54.21
jenlamptonremove metas
Comment #54.22
jenlamptonreorg
Comment #54.23
jenlamptonreorg
Comment #54.24
jenlamptonupdate
Comment #54.25
jenlamptonremove
Comment #55
jenlamptontagging
Comment #55.0
jenlamptonmoving theme_more_help_link to rtbc area
Comment #55.1
joelpittetUpdated issue summary.
Comment #55.2
thedavidmeister commentedUpdated issue summary.
Comment #55.3
thedavidmeister commentedUpdated issue summary.
Comment #55.4
joelpittetUpdated issue summary.
Comment #55.5
joelpittetUpdated issue summary.
Comment #55.6
jenlamptonreorg
Comment #55.7
jenlamptonupdate
Comment #55.8
jenlamptonimage
Comment #56
mgiffordIn a mostly unrelated issue #314385-69: Make position of #description configurable via the API we've been asked to convert new theme_* functions to the twig format.
I've yet to see any documentation for converting this though. Any chance someone's working on a theme-> Coder function? Mostly I need to know how it should be structured and still don't know where to look for that documentation besides looking through dozens of conversions to look for related patterns.
Wait! It's here in this GoogleDoc. There are a lot of links to follow on this thread!
Guess that needs to go into a conversion handbook somewhere. Even just a stub in the Handbooks would be a good start.
Comment #57
star-szrThere is this:
https://drupal.org/node/2025313
Needs work still, I think it is still a copy and paste of the Google doc with some minor tweaks.
Comment #58
mgiffordThat's great, thanks!
Comment #58.0
mgiffordup
Comment #59
jwilson3Please feel free to update that document so it makes the most sense for the current context. Eventually it will have to be generalized as instructions for updating non-core contrib modules.
Comment #59.0
jwilson3moved field to rtbc
Comment #59.1
joelpittetUpdated issue summary.
Comment #59.2
joelpittetUpdated issue summary.
Comment #59.3
joelpittetUpdated issue summary.
Comment #59.4
les limMove field_ issue from RTBC to "needs profiling"
Comment #59.5
jenlamptonup
Comment #59.6
jerdavisMoving image: #1939068: Convert theme_image() to Twig to "needs profiling review"
Comment #59.7
star-szrMove file to needs review
Comment #59.8
jerdavisMoved node module theme_ functions: #1987406: node.module - Convert theme_ functions to Twig to "needs review" given the change to admin overview and the removal of that twig template. Can probably be pushed to needs profiling review after as the remaining chunks have been profiled.
Comment #59.9
les limMove picture module to "needs review"
Comment #59.10
jerdavisMoving theme links #1939064: Convert theme_links() to Twig to Needs Profiling Review
Comment #59.11
jerdavisMoving field module theme_ functions: #1987398: field.module - Convert theme_ functions to Twig to Needs Profiling Review
Comment #59.12
joelpittetUpdated issue summary.
Comment #59.13
joelpittetUpdated issue summary.
Comment #59.14
joelpittetUpdated issue summary.
Comment #59.15
jenlamptonup
Comment #59.16
jenlamptonreorg
Comment #59.17
joelpittetUpdated issue summary.
Comment #59.18
jenlamptondocs
Comment #59.19
jenlamptonreorder
Comment #59.20
jenlamptonrework
Comment #59.21
jenlamptonup
Comment #59.22
jenlamptonup
Comment #59.23
joelpittetUpdated issue summary.
Comment #59.24
joelpittetUpdated issue summary.
Comment #59.25
jenlamptonupdate
Comment #59.26
jenlamptonup
Comment #59.27
jenlamptonaggregator needs profiling not review
Comment #59.28
jenlamptonup
Comment #59.29
jenlamptonup
Comment #59.30
jenlamptonup
Comment #59.31
jenlamptonupdate
Comment #59.32
star-szrTypo fix
Comment #59.33
star-szrMove toolbar to NW
Comment #59.34
markhalliwellUpdated issue summary.
Comment #59.35
joelpittetUpdated issue summary.
Comment #59.36
joelpittetUpdated issue summary.
Comment #59.37
joelpittetUpdated issue summary.
Comment #59.38
star-szrMove ckeditor to reroll
Comment #59.39
star-szrMove progress bar to RTBC
Comment #59.40
star-szrMove views mini pager down
Comment #59.41
star-szrAnother reroll
Comment #59.42
star-szrAnother reroll
Comment #59.43
star-szrRerolls
Comment #59.44
star-szrMove feed icon down for some minor rework
Comment #59.45
star-szrMore rerolls
Comment #59.46
star-szrMove dropbutton wrapper to performance tune-up section
Comment #59.47
joelpittetUpdated issue summary.
Comment #59.48
joelpittetUpdated issue summary.
Comment #59.49
joelpittetUpdated issue summary.
Comment #59.50
naveenvalechaUpdate issue summary.Add Ckeditor issue under needs review and dropbutton wrapper issue under RTBC.
Comment #59.51
joelpittetUpdated issue summary.
Comment #59.52
jenlamptonup
Comment #59.53
joelpittetUpdated issue summary.
Comment #59.54
joelpittetUpdated issue summary.
Comment #59.55
joelpittetUpdated issue summary.
Comment #59.56
joelpittetUpdated issue summary.
Comment #59.57
star-szrAdd another RTBC
Comment #59.58
jenlamptonupdate
Comment #59.59
jenlamptonupdate
Comment #59.60
jenlamptonupdate!
Comment #59.61
drupalmonkey commentedupdate meta data for feed icon
Comment #59.62
drupalmonkey commentedupdate meta data for filter.module
Comment #59.63
jenlamptonup
Comment #59.64
jenlamptonpicture
Comment #59.65
joelpittetUpdated issue summary.
Comment #59.66
star-szrUpdate where issues lie
Comment #59.67
joelpittetUpdated issue summary.
Comment #59.68
joelpittetUpdated issue summary.
Comment #59.69
joelpittetUpdated issue summary.
Comment #59.70
joelpittetUpdated issue summary.
Comment #59.71
joelpittetUpdated issue summary.
Comment #59.72
star-szrReshuffle
Comment #59.73
joelpittetUpdated issue summary.
Comment #59.74
jenlamptonup
Comment #59.75
jenlamptonreup
Comment #59.76
joelpittetUpdated issue summary.
Comment #59.77
joelpittetUpdated issue summary.
Comment #59.78
joelpittetadded whitespace issue to twig engine
Comment #59.79
joelpittetmoving bits around
Comment #59.80
joelpittetUpdated issue summary.
Comment #59.81
joelpittetUpdated issue summary.
Comment #59.82
joelpittetUpdated issue summary.
Comment #59.83
joelpittetUpdated issue summary.
Comment #59.84
joelpittetUpdated issue summary.
Comment #59.85
joelpittetUpdated issue summary.
Comment #59.86
star-szrShuffle around issues to correct statuses
Comment #59.87
joelpittetUpdated issue summary.
Comment #59.88
joelpittetUpdated issue summary.
Comment #59.89
joelpittetUpdated issue summary.
Comment #59.90
star-szrMove item list to performance tuning section…
Comment #59.91
joelpittetUpdated issue summary.
Comment #59.92
joelpittetUpdated issue summary.
Comment #59.93
joelpittetUpdated issue summary.
Comment #59.94
joelpittetUpdated issue summary.
Comment #59.95
jenlamptonup
Comment #59.96
jenlamptonup
Comment #59.97
jenlamptonprofiling link
Comment #59.98
jenlamptonremove profiling review section
Comment #59.99
joelpittetUpdated issue summary.
Comment #59.100
joelpittetUpdated issue summary.
Comment #59.101
joelpittetUpdated issue summary.
Comment #59.102
joelpittetUpdated issue summary.
Comment #59.103
joelpittetUpdated issue summary.
Comment #59.104
joelpittetUpdated issue summary.
Comment #59.105
joelpittetUpdated issue summary.
Comment #59.106
joelpittetUpdated issue summary.
Comment #59.107
joelpittetUpdated issue summary.
Comment #59.108
joelpittetUpdated issue summary.
Comment #59.109
joelpittetUpdated issue summary.
Comment #59.110
joelpittetUpdated issue summary.
Comment #59.111
joelpittetUpdated issue summary.
Comment #59.112
joelpittetUpdated issue summary.
Comment #59.113
joelpittetUpdated issue summary.
Comment #59.114
joelpittetUpdated issue summary.
Comment #59.115
joelpittetUpdated issue summary.
Comment #59.116
joelpittetUpdated issue summary.
Comment #59.117
joelpittetUpdated issue summary.
Comment #59.118
joelpittetUpdated issue summary.
Comment #59.119
joelpittetUpdated issue summary.
Comment #59.120
joelpittetUpdated issue summary.
Comment #59.121
joelpittetUpdated issue summary.
Comment #59.122
joelpittetUpdated issue summary.
Comment #59.123
joelpittetUpdated issue summary.
Comment #59.124
joelpittetUpdated issue summary.
Comment #59.125
joelpittetUpdated issue summary.
Comment #59.126
joelpittetUpdated issue summary.
Comment #59.127
joelpittetUpdated issue summary.
Comment #59.128
joelpittetUpdated issue summary.
Comment #59.129
jenlamptonup
Comment #59.130
jenlamptonupdated
Comment #59.131
star-szrAdd ID for review notes
Comment #60
joelpittetComment #61
joelpittetComment #62
gappleComment #63
star-szrReshuffling.
Comment #64
star-szrFix up code in code tags.
Comment #65
star-szrMoving up filter and toolbar.
Comment #66
star-szrRDF is done, move CKEditor and comment.module to RTBC.
Comment #67
star-szrLast change didn't seem to take, trying again.
Comment #68
star-szrMoving fixed/closed issues to the bottom. The list is growing and I'd like it to be easier to see what's left to be done.
Comment #69
joelpittetComment #70
joelpittetComment #71
star-szrcomment needs a reroll, toolbar and ckeditor have been committed, woot!
Comment #72
star-szrcomment needs a reroll, toolbar and ckeditor have been committed, woot!
Comment #73
joelpittetComment #74
joelpittetComment #75
miklComment #76
joelpittetComment #77
joelpittetComment #78
joelpittetComment #79
joelpittetComment #80
joelpittetComment #81
joelpittetComment #82
joelpittetComment #83
joelpittetComment #84
joelpittetComment #85
joelpittetComment #86
joelpittetComment #87
joelpittetMoved need review up above profiling because usually the markup compare is needs review too, and this is just about ready for RTBC stuffs.
Comment #88
klonos...just wanted to let you know of #2136389-3: Consolidate successive comments from the same user that update the issue summary and/or its metadata into a single comment for which this issue here presents a perfect actual use case ;)
Comment #89
joelpittetComment #90
star-szrReshuffling a bit.
Comment #91
joelpittetShuffling stuff.
Comment #92
joelpittetComment #93
akalata commentedComment #94
star-szrGoing to try keeping a count of remaining core theme functions in the title.
Here's what I ran with ack 2.x to get a count, need to add 1 because theme_system_compact_link() is a rule-breaker and doesn't use $variables.
Current result: 63 + 1 = 64
Comment #95
star-szrComment #96
manuel garcia commented#2152201: Convert theme_checkboxes() to Twig got in, updated summary
Comment #97
star-szrWoot! Decrementing count in title.
Comment #98
star-szrComment #99
joelpittetComment #100
star-szrSorry to make the number go up but at least it's more accurate now. @joelpittet found there were a few more strays/rule breakers.
Updating theme function count and ack regex (in the issue summary now), the new regex accounts for the strays @joelpittet found and the theme_system_compact_link() exception as well.
Comment #101
star-szr#2152217: Remove theme_form_required_marker() from the theme system - use CSS instead :D
Comment #102
joelpittetComment #103
joelpittetComment #104
joelpittetComment #105
joelpittetComment #106
joelpittetComment #107
joelpittetComment #108
joelpittetComment #109
joelpittetComment #110
a-fro commentedComment #111
joelpittetComment #112
jerdavisUpdating issue summary.
Comment #113
jerdavisComment #114
joelpittetComment #115
joelpittetComment #116
steinmb commentedComment #117
joelpittetComment #118
star-szrAnother down.
Comment #119
star-szrDrupalCon :D two more down.
Comment #120
star-szrTwo more theme functions down :D
Comment #121
joelpittetAnswer to the universe is... less theme functions.
Comment #122
star-szrAmazing work everyone. Feels good to be down 23 theme functions since before DrupalCon Austin.
Comment #123
joelpittetComment #124
xjmI only count 17 open issues in the summary. Where are the other 24?
Comment #125
berdirThey are counting theme functions, not issues I think ;)
Comment #126
star-szr@Berdir is correct. Better title?
Comment #127
joelpittetComment #128
akalata commentedComment #129
star-szrThree more down :)
Comment #130
star-szrCounter update.
Comment #131
joelpittetComment #132
star-szrWoo!
Comment #133
joelpittetComment #134
akalata commentedComment #135
akalata commentedComment #136
akalata commentedComment #137
star-szrThank you #1938910: Convert image theme tables to table #type!
Comment #138
star-szr#2152227: Convert theme_tableselect() to #theme table__tableselect is in now! The form.inc meta is now officially done.
Comment #139
joelpittetComment #140
joelpittetComment #141
fabianx commentedComment #142
star-szr3 more down!
Comment #143
star-szrGo team! #1898478: menu.inc - Convert theme_ functions to Twig got in, #1885564: theme.maintenance.inc (authorize.php) - Convert theme_ functions to Twig is the only remaining child issue here that isn't postponed.
Comment #144
akalata commentedComment #145
akalata commentedComment #146
star-szrOne less theme function thanks to #2154781: Convert aggregator/sources and aggregator/opml to views!
Maybe it's time for a new meta encompassing this meta and the #type table meta and any other issues that are going to remove/convert theme functions. Some of the recent additions here are not Twig conversions so I've removed them for now, but thank you @akalata! @joelpittet made this spreadsheet to show the remaining stuff but we could turn it into a meta:
https://docs.google.com/spreadsheets/d/1SL266aD6VmdtAo3x69UCH4ARm6q1N-p6...
I'm tempted to just transform this issue into that, but it's already pretty massive and into 2 pages of comments so I think a fresh one would be good :)
Comment #147
akalata commented+1 for a new meta. I was having trouble figuring out why there 21 items in the issue title, but only one left as active in the issue summary. :)
Comment #148
star-szrWoot! One of the biggest wins is in now: #1777332: Replace theme_menu_link() and menu-tree.html.twig with a single Twig template
Comment #149
star-szrWell it's not as catchy as 1757550 but here is the new meta: #2348381: [META-0 theme functions left] Convert/refactor core theme functions
Comment #150
mgiffordComment #151
star-szrMoving the stuff about counting the number of remaining theme functions to the issue summary of the new meta.
Comment #152
star-szrThis is still a meta :)
Comment #153
stefan.r commenteddiscussed this with @chx - could we at least use an assert() for people still using theme functions while whitelisting the 7 we currently have? that'll break their devel but not production.
Comment #154
akalata commentedComment #155
akalata commentedComment #156
joelpittetWoo! Fixed. Only test theme function is still alive for posterity because we didn't remove before RC. That can be removed in D9.
Comment #157
fabianx commentedWe could definitely think about deprecating using theme functions using a deprecation notice, but we should probably do so just in 8.1.x at this stage.
Comment #158
fabianx commentedAlso - yeah!
1-75-75-5-0 - Come review a patch - become a Drupal 8 hero!