This is postponed on:
a) #2920309: Add experimental module for Help Topics being committed
b) #3027054: Help Topics module roadmap: the path to beta and stable having all the other tasks being done.
So the task for this module is to finally merge the Help Topics module into the core Help module for stable release. Sub-tasks:
- Merging the hook_help() from the experimental Help Topics module into existing topics
- Making sure that no help topics mention the Help Topics module (because it will be part of the Help module instead).
- Adding to the drupal.org docs page for the existing Help module
- #3087499: Merge Help Topics classes into Help with BC layer
- Changing function names of hook implementations, deprecate help_topics' classes
- The standard things done in Core to finalize a module, such as adding templates to the Stable/Classy themes, updating the module category in the .info.yml file, removing @internal tags, adding @api tags, etc., (Is there a standard procedure for this?)
- #3377604: Remove leftover mentions of help_topics namespace in help module
- #3144933: Add help_search plugin to the base admin theme test
- #3025577: Move help topics to core or the correct modules
- #3358340: Update help.help_topic_search to remove mention of Help Topics module
- #3370070: Update Maintainers for the Help module
- ...issue to remove help topics in D11 ... [TBD]
- #3074040: Move testing of help topic rendering into child of GenericModuleTestBase
- #3031642: Deprecate hook_help() and combine with Topics -- the part about "Deprecate and remove hook_help()"
| Comment | File | Size | Author |
|---|
Issue fork drupal-3037230
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3037230-final-merge2help
changes, plain diff MR !3934
Comments
Comment #3
jhodgdonAdded a child issue with another task as part of this issue.
Comment #5
jhodgdonI asked in Slack and found out from @xjm that all of the code *and topics* related to the Help Topics module need to stay under core/modules/help_topics until we are Stable. So, minor update to the issue summary here.
Comment #6
jhodgdonAdding one more issue related to #5, replacing one of the bullet items there with an actual issue.
Comment #8
jhodgdonAdded #3144933: Add help_search plugin to the base admin theme test
Comment #14
andypostAll conversions are done so it's time for final merge or keep them separated
Comment #17
amber himes matzUpdated IS to remove mention of Stable/Classy.
I’m not sure what else needs to be done with regard to adding templates to core admin themes.
I’ve opened a MR that:
- Adds new help topic in core Help module to replace Help Topic module overview in its hook_help.
- Moves help.help_topic route case to help_help().
- Deletes help_topic.module, as all other hooks are already being moved in #3087499: Merge Help Topics classes into Help with BC layer.
Comment #18
amber himes matzThis is ready for review. The following items from the IS are addressed in this MR:
I also opened #3358340: Update help.help_topic_search to remove mention of Help Topics module which will need to wait until #3087499: Merge Help Topics classes into Help with BC layer is committed.
All other points except for the “the standard things done in Core to finalize a module such as adding templates to core admin themes, etc” are covered in related issues.
That being said, there may be something else that @andypost thinks should go into this issue, that isn’t part of the MR in #3087499: Merge Help Topics classes into Help with BC layer.
Comment #19
andypostThank you! That's exactly chicken/egg issue I stuck to figure out!
I think I need to review/check all
@internalmentions in topics to be sure that all classes without BC has itRef https://www.drupal.org/about/core/policies/core-change-policies/bc-policy
Comment #20
andypostbtw We may reconsider to open after final merge #2687107-41: Reorganize topics into sensible outline, and/or write more topics
Comment #21
smustgrave commentedOnly moving to NW as there appear to be failures in the MR.
Have not tested yet.
Comment #22
amber himes matzLatest push restores help_topics.module as suggested by @andypost -- it just provides a message saying that Help Topics has been moved to Help module.
I thought I had already done this, but apparently not -- I merged the output from Help Topics' module overview to Help modules. So Help module's module overview page now includes info about Help Topics.
Finally, I updated the branch target to 11.x as requested.
Comment #23
andypostIt looks ready so now should wait for merge of #3087499: Merge Help Topics classes into Help with BC layer
Comment #24
smustgrave commentedSeems some failures in MR but based on #23 this is postponed
Comment #25
andypostFinal merge should mark help topic module obsolete https://www.drupal.org/docs/core-modules-and-themes/deprecated-and-obsolete
Comment #26
andypostSquashed commits and now it's not clear if this changes from the MR could me added to #3087499: Merge Help Topics classes into Help with BC layer
Here's diff (rebase MR on top of 3087499)
Comment #27
amber himes matzYes, I think it makes sense to incorporate the changes here into #3087499 instead.
Comment #29
andypostMoved to #3087499-51: Merge Help Topics classes into Help with BC layer
Comment #30
andypostProper starts
Comment #31
andypostupdated IS a bit
Comment #32
andypostit will need to update https://www.drupal.org/about/core/policies/core-change-policies/experime...
Comment #33
andypostFiled #3370070: Update Maintainers for the Help module
Comment #34
andypostComment #35
benjifisherAfter #3087499: Merge Help Topics classes into Help with BC layer, all the classes under
help_topics/src/are simply wrappers for the corresponding classes in thehelpmodule.Should we also mark those classes as deprecated? Maybe we do not have to, since they are already marked
@internal. But I think this comment from https://www.drupal.org/about/core/policies/core-change-policies/bc-polic... applies:Comment #36
andypostThe main point is not to add them is that help topics module is experimental and should not contain API
Comment #37
andypostFiled patch for the last issue #3074040-15: Move testing of help topic rendering into child of GenericModuleTestBase
All others are RTBC)
Comment #38
andypostone more commited #3358340: Update help.help_topic_search to remove mention of Help Topics module
Comment #39
andypostComment #40
andypostThe only one is left #3144933: Add help_search plugin to the base admin theme test
Comment #42
andypostComment #43
andypostFiled quick-fix #3377604: Remove leftover mentions of help_topics namespace in help module
Comment #44
andypostThe quick-fix needs docs team review so can live on its own #3377604: Remove leftover mentions of help_topics namespace in help module
I find this epic complete and polishing will happen as docs evolving