Problem/Motivation

#3041924: [META] Convert hook_help() module overview text to topics for the action module(s).

The topics to cover:
- Configuring actions using the action module -- see #2811663: Rename Action module to Actions UI in the UI and in comments -- this module may be renamed to Action UI
- What actions are used for: They can be triggered by other modules. Also when you create a View the actions that are configured for the base table can be configured as a Bulk Operations "field". This needs to be explained. So we need a topic about adding bulk operations to a view, linked to the actions topic.

This was spun off from #3041926: Convert automated_cron, ban, dblog, syslog, system, update, and user module hook_help() to topic(s) and should wait until #3047723: Convert views, views_ui module hook_help() to topic(s) is done.

Proposed resolution

Take the information that is currently in the hook_help module overview section for the module(s), and make sure the information is in one or more Twig help topic files. Steps:

  1. Find the hook_help() implementation function in the core/modules/MODULENAME/MODULENAME.module file(s). For example, for the core Contact module, the module files is core/modules/contact/contact.module, and the function is called contact_help().
  2. Locate the module overview portion of this function. This is located just after some lines that look something like this:
      switch ($route_name) {
        case 'help.page.contact':
    

    And ends either at the end of the function, or where you find another case 'something': line.

  3. We want to end up with one or more topics about the tasks that you can do with this module, and possibly a section header topic. So, read the help and figure out a good way to logically divide it up into tasks and sections. See Standards for Help Topics for information on how to do this.
  4. See if some of these tasks are already documented in existing topics. Currently, all topics are in core/modules/help_topics/help_topics. Note that to see existing topics, you will need to enable the experimental Help Topics module (available in the latest dev versions of Drupal 8.x).
  5. For each task or section topic that needs to be written, make a new Twig topic file (see Standards for Help Topics) in core/modules/help_topics/help_topics. You will need to choose the appropriate module prefix for the file name -- the module that is required for the functionality. Alternatively, if the information spans several modules or if the information should be visible before the module is installed, you can use the "core" file name prefix. For instance, it might be useful to know that to get a certain functionality, you need to turn on a certain module (so that would be in the core prefix), but then the details of how to use it should only be visible once that module is turned on (so that would be in the module prefix).
  6. File names must be MODULENAME.TOPICNAME.html.twig -- for example, in the Action module, you could create a topic about managing actions with filename action.managing.html.twig (and "MODULENAME" can be "core" as discussed above).
  7. Make a patch file that adds/updates the Twig templates. The patch should not remove the text from the hook_help() implementation (that will be done separately).

Remaining tasks

a) Make a patch (see Proposed Resolution section).

b) Review the patch:

  1. Apply the patch.
  2. Turn on the experimental Help Topics module in your site, as well as the module(s) listed in this issue.
  3. Visit the page for each topic that is created or modified in this patch. The topics are files in the patch ending in .html.twig. If you find a file, such as core/modules/help_topics/help_topics/action.configuring.html.twig, you can view the topic at the URL admin/help/topic/action.configuring within your site.
  4. Review the topic text that you can see on the page, making sure of the following aspects:
    • The text is written in clear, simple, straightforward language
    • No grammar/punctuation errors
    • Valid HTML -- you can use http://validator.w3.org/ to check
    • Links within the text work
    • Instructions for tasks work
    • Adheres to Standards for Help Topics [for some aspects, you will need to look at the Twig file rather than the topic page].
  5. Read the old "module overview" topic(s) for the module(s), at admin/help/MODULENAME. Verify that all the tasks described in these overview pages are covered in the topics you reviewed.

User interface changes

Help topics will be added to cover tasks currently covered in modules' hook_help() implementations.

API changes

None.

Data model changes

None.

Release notes snippet

None.

Comments

jhodgdon created an issue. See original summary.

jhodgdon’s picture

andypost’s picture

Status: Postponed » Active

Version: 8.8.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

jhodgdon’s picture

Issue tags: -Novice

Taking the Novice tag off this issue. It really isn't, at least until we get to the review stage.

batigolix’s picture

Assigned: jhodgdon » batigolix

I am working on this.

The plan is to have 2 topics:
- Actions overview: what are actions
- Using actions: create an action and use it in a view

jhodgdon’s picture

Sounds like an excellent plan!

batigolix’s picture

Assigned: batigolix » Unassigned
Status: Active » Needs review
StatusFileSize
new5.03 KB

This patch adds the 2 help topics according to plan #6.

jhodgdon’s picture

Status: Needs review » Needs work

This looks really good! I have a few fairly minor suggestions -- see Standards for Help Topics for reference:

a) Overview topic -- title should be something like "Managing actions" or "Configuring actions", not just "Actions".

b) Overview topic -- Link to the Actions page goes to admin/help/topic/:actions (404). Reason:

<a href=":actions">Actions page</a>

should be

<a href="{{ actions }}">Actions</a>

c) Overview topic -- nitpick:

Actions are being used in views to perform...

I think I would say "are used" rather than "are being used" here.

d) Overview topic -- There should be an additional section called something like "Overview of configuring actions" -- see item 4 under "Parts of a section topic" on the standards page https://www.drupal.org/docs/develop/documenting-your-project/help-topic-...

e) Task topic -- the links to permissions in the "Who can create actions" section link back to the topic page. I'm not sure where they should link or even if they should be links?

f) Task topic, step 1: "A list of all actions is being shown." ==> "is shown". [Same for views in step 6]

g) Task topic title -- I'm not sure if "creating actions" is the right title here. Probably it should be "Creating an advanced action"?

h) Task topic, step 5: "A list of actions is shown." ... I think this should say something like "You will be returned to the list of actions, with your new action added to the list."

i) Task topic Goal section -- since the Steps including adding the advanced action to a view, I think this should be stated as part of the Goal, such as "Create an advanced action, and add it as an additional bulk operation to a view that already supports bulk operations.".

j) Task topic -- Since we're talking about views, we should link to the views overview topic in the Goal section, like "See ____ for more information about views" and also add the views overview topic and views editing/creating topics as Related.

k) Task topic step 7 -- "Choose the view that you would like to configure and choose Edit from the the dropdown button." ==> Find the view that you would like to edit, and click Edit from the dropdown button.

l) Task topic step 10 -- "The action will be available as bulk operation in the view." ==> as a bulk operation.

m) I think somewhere (in the overview topic?) we need more clarification about action types, and how they might be connected to views base tables... although that said, I am not sure how to determine the base table for a view. It doesn't seem to be visible at admin/structure/views (I thought it used to be???). Hm, if you click through to a particular view, it does show you the base table as part of the page title, but I don't see it on admin/structure/views. I wonder when/why that change was made, seems very lame to me!!!

shetpooja04’s picture

Status: Needs work » Needs review
StatusFileSize
new5.6 KB
new7.41 KB

I have uploaded the patch with minor changes, except the points below as I am not sure about the changes

e) Task topic -- the links to permissions in the "Who can create actions" section link back to the topic page. I'm not sure where they should link or even if they should be links?

j) Task topic -- Since we're talking about views, we should link to the views overview topic in the Goal section, like "See ____ for more information about views" and also add the views overview topic and views editing/creating topics as Related.

m) I think somewhere (in the overview topic?) we need more clarification about action types, and how they might be connected to views base tables... although that said, I am not sure how to determine the base table for a view. It doesn't seem to be visible at admin/structure/views (I thought it used to be???). Hm, if you click through to a particular view, it does show you the base table as part of the page title, but I don't see it on admin/structure/views. I wonder when/why that change was made, seems very lame to me!!!

Please review for the points I have implemented.
Thank you !

jhodgdon’s picture

Status: Needs review » Needs work

Thanks! Here are answers to your questions:

e) Normally when we're talking about permissions, we link to the user/permissions page with a ... what are those things called, fragments? so that it goes to a particular module, like #views

j) What is asked for here is:
- At the top of the topic, you can list related topics. We should include the topic whose machine name is views.overview and also views_ui.create
- In the goal section of the topic, there should be a sentence that says something like "See Managing content listings (views)" that links to the views.overview topic

m) Looking at that views overview topic, it talks about the "base data" type. So, it looks like what we should do is: Add a section to the actions overview topic, or some information to an existing section, that explains that if you are using actions as views bulk operations, the action type has to be the same as the base data type of the view (and this should also link to the views overview topic for more information).

Some notes on the patch that you made:

1. action.creating.html.twig -- the Goal section has a line saying:
"See Actions for more information about views"
But this doesn't make sense. Why would you look at the actions topic for more about views? Probably it should say for more about actions, and then have a separate link to the views overview topic (mentioned above in this review comment) for more about views. Also, the name of the topic linked to is not "Actions" any more, but "Configuring actions".

2. There are typos, such as no . at the end of sentences. Also if you use > in navigation, it needs to be put in as an HTML entity &gt; not a literal ">" character. Also if you have a list, in Drupal we use the "serial comma" before the "and" or "or". Such as: I like cats, dogs, and elephants. And the Latin phrase "et cetera" ... I have really almost never seen that written out... it should probably just be the abbreviation "etc." or else write it in English, like "and other examples" or something like that.

3. action.creating topic again -- one of the steps says:
"Click Save. You will be returned to the list of actions, with your new action added to the list. Note that the action type will decide whether the action is available as bulk operation in the view. So node actions will be available in views that list content, user actions will be available in views that list users, et cetera."

This information is useful about the action types, but I don't think it belongs here -- it should be background information rather than part of a step.

4. On the action.overview topic, there is this information:
"Create an advanced action on the Actions page by selecting an action type from the drop-down list. Then configure your action, for example by specifying the recipient of an automated email message." [actually it appears twice in this topic!]

I don't think this information belongs here. We have a whole task topic devoted to this. In this overview topic, we should be defining and describing things, not telling how to do things.

5. At the end of the overview topic, instead of the detailed information about configuring actions, please replace with the sentence from the help topics standards saying "See the related topics listed below for specific tasks."

shetpooja04’s picture

StatusFileSize
new5.57 KB
new7.92 KB

I have uploaded the patch as per the suggestions in #11

For points
m) I have added it in overview topic in 'where are actions used?' section

3. Removed the explanation and placed it in point m (I have added it in overview topic in 'where are actions used?' section)

Please review
Thank you !

shetpooja04’s picture

Status: Needs work » Needs review

Test is failing because views.overview code is committed in the Drupal code repository for 9.1.x and not in 8.9.x

Issue in which patch added for views.overview https://www.drupal.org/project/drupal/issues/3047723

Status: Needs review » Needs work

The last submitted patch, 12: 3094482-12.patch, failed testing. View results

jhodgdon’s picture

Version: 8.9.x-dev » 9.1.x-dev

Right, this should be a 9.1 issue. I'll hit retest.

jhodgdon’s picture

Status: Needs work » Needs review
jhodgdon’s picture

Status: Needs review » Needs work

Thanks -- the latest patch is a definite improvement!

I looked at the interdiff, and I think we could do a few more things:

a) In action.creating.html.twig, in the Goal section, we could add to that last sentence something like:

and (link)Overview of actions(endlink) for more about actions.

(substitute the actual name of the action.overview topic there)

b) Question about action.overview topic here:

So <em>node</em> actions will be available in views that list content

Are the actions actually called "node" actions in the user interface? I kind of doubt it -- we have had the policy for years of not using the word "node" in UI text except as the name of the module.

c) In action.overview topic:

You can configure what actions to be executed in response to an event.

This is not grammatically correct, and ... also I don't think in Drupal Core you can set up actions to be executed in response to things, can you? So... something else is needed here. (Sorry, this was present in previous patches and I didn't catch it then.) So, I think it could maybe say:

Using core modules, you can configure advanced actions, and use both simple and advanced actions as bulk operations in views.

----------------

I also took another look at the whole patch, and I think it's looking overall very good! One other idea:

d) action.overview topic, What are advanced actions? section: I think it might be helpful to add more details to this section, or maybe an example? It is not clear why this type of action would need to be created/configured individually.

shetpooja04’s picture

Status: Needs work » Needs review
StatusFileSize
new6.01 KB
new4.31 KB

I have made the changes as suggested in #17 except the below point

b) Question about action.overview topic here:

So node actions will be available in views that list content
Are the actions actually called "node" actions in the user interface? I kind of doubt it -- we have had the policy for years of not using the word "node" in UI text except as the name of the module.

I tried searching for some better wordings (Actions page in the UI) but I could not find any, so leaving the word "node" as it is in help.

jhodgdon’s picture

StatusFileSize
new208.57 KB

Thanks! Just to clarify on that last point -- we discussed this in Slack today and here is a screenshot of the Actions page (thanks @shetpooja04 for making it) showing that the page shows "node" as the action type for content-type actions.

jhodgdon’s picture

Status: Needs review » Needs work

Sorry, I just realized I never reviewed the patch from before! It looks mostly good, but (action.overview.html.twig) this is still not grammatically correct:

Advanced actions are user-created and have to be configured individually. It need to be created and configured before they can be used because they have options that need to be specified; for example, sending an e-mail to a specified address or unpublishing content containing certain words.

That second sentence should start with "They" not "It".

Otherwise, looks great -- thanks!

pritishkumar’s picture

Status: Needs work » Needs review
StatusFileSize
new6.01 KB
new2.07 KB

Applied the recommended minor fix.

jhodgdon’s picture

Interdiff looks good, thanks! I'll make some time soon to review the entire patch again.

jhodgdon’s picture

Status: Needs review » Reviewed & tested by the community

I gave the patch one more read, and I think it's fine. Thanks!

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 21: 3094482-21.patch, failed testing. View results

andypost’s picture

Status: Needs work » Reviewed & tested by the community

Known random test fail

Version: 9.1.x-dev » 9.2.x-dev

Drupal 9.1.0-alpha1 will be released the week of October 19, 2020, which means new developments and disruptive changes should now be targeted for the 9.2.x-dev branch. For more information see the Drupal 9 minor version schedule and the Allowed changes during the Drupal 9 release cycle.

catch’s picture

Status: Reviewed & tested by the community » Needs review
+++ b/core/modules/help_topics/help_topics/action.creating.html.twig
@@ -0,0 +1,30 @@
+<h2>{% trans %}Goal{% endtrans %}</h2>
+<p>{% trans %}Create an advanced action, and add it as an additional <em>bulk operation</em> to a <em>view</em> that already supports bulk operations. You can, for example, create an action to change the author of multiple content items. See <a href="{{ view_overview }}">Managing content listings (views)</a> for more information about views and <a href="{{ action_overview }}">Configuring actions</a> for more about actions.{% endtrans %}</p>
+<h2>{% trans %}Who can create actions?{% endtrans %}</h2>
+<p>{% trans %}Users with the <em><a href="{{ action_permissions }}">Administer actions</a></em> permission (typically administrators) can create actions. You will need <em><a href="{{ views_permissions }}">Administer views</a></em> permission to add it to a view.{% endtrans %}</p>
+<h2>{% trans %}Steps{% endtrans %}</h2>
+<ol>

I think this has been discussed in another ticket but not sure where - I think we need to check access to these links and vary the text based on access - so that we're not linking people to a 403.

jhodgdon’s picture

StatusFileSize
new5.67 KB
new5.96 KB

We have an issue about doing this uniformly for Help Topics URLs, because it is a problem all over the place:
#3090659: Make a way for help topics to generate links only if they work and are accessible
I'll update that issue (which is a required part of the Roadmap for Stable for help topics) to make sure 403/permissions are covered in it.

We also have an item on #3121340: Fix up minor copy problems in help topics (item 5) to make sure Task topics tell what permissions are necessary to do their steps. We need to do that in a number of topics.

But this patch does have a problem. On another issue we've been discussing that we should not be linking to topics that belong to other modules (like the Views topic here) unless those modules are dependencies of the module in question. So the patch does need a fix.

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Condition to render parts of topic been discussed somewhere else, but it must be covered in twig issue - which is now various url generation
#3090659: Make a way for help topics to generate links only if they work and are accessible

catch’s picture

Status: Reviewed & tested by the community » Needs work

Links issue has moved on a lot which is good. If that lands first we should update things here, but otherwise fine to commit and then use the new API once it's in.

Some comments on the text:

  1. +++ b/core/modules/help_topics/help_topics/action.creating.html.twig
    @@ -0,0 +1,29 @@
    +<h2>{% trans %}Who can create actions?{% endtrans %}</h2>
    +<p>{% trans %}Users with the <em><a href="{{ action_permissions }}">Administer actions</a></em> permission (typically administrators) can create actions. You will need <em><a href="{{ views_permissions }}">Administer views</a></em> permission to add it to a view.{% endtrans %}</p>
    +<h2>{% trans %}Steps{% endtrans %}</h2>
    

    'to add it to a view' can this be 'to add actions to a view'?

  2. +++ b/core/modules/help_topics/help_topics/action.creating.html.twig
    @@ -0,0 +1,29 @@
    +<h2>{% trans %}Steps{% endtrans %}</h2>
    +<ol>
    +  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>System</em> &gt; <em><a href="{{ actions }}">Actions</a></em>. A list of all actions is shown.{% endtrans %}</li>
    +  <li>{% trans %}Choose an advanced action from the dropdown and click <em>Create</em>.{% endtrans %}</li>
    +  <li>{% trans %}Enter a name for the action in the <em>Label</em> field. This label will be visible for the user.{% endtrans %}</li>
    +  <li>{% trans %}Configure any of the other available options. These will depend on the kind of action that you have chosen.{% endtrans %}</li>
    +  <li>{% trans %}Click <em>Save</em>. You will be returned to the list of actions, with your new action added to the list.{% endtrans %}</li>
    +  <li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em><a href="{{ views }}">Views</a></em>. A list of all views is shown.{% endtrans %}</li>
    +  <li>{% trans %}Find the view that you would like to edit, and click <em>Edit</em> from the the dropdown button.{% endtrans %}</li>
    +  <li>{% trans %}Click on the <em>Operations bulk form</em> in the <em>Fields</em> list. The exact name of the bulk form field depends on the action type.{% endtrans %}</li>
    +  <li>{% trans %}Check the action in the <em>Selected actions</em> list and click <em>Apply (all displays)</em>.{% endtrans %}</li>
    +  <li>{% trans %}Click <em>Save</em>. The action will be available as a <em>bulk operation</em> in the view.{% endtrans %}</li>
    +</ol>
    

    Wonder if the howto would be better as a tour, although I don't think we have any low-level tours at all.

  3. +++ b/core/modules/help_topics/help_topics/action.overview.html.twig
    @@ -0,0 +1,21 @@
    +<h2>{% trans %}What are actions?{% endtrans %}</h2>
    +<p>{% trans %}Actions are tasks that can be executed by the site such as unpublishing content, sending email messages, or blocking a user. Other modules can trigger these actions when specific system events happen; for example, when new content is posted or when a user logs in. Modules can also provide additional actions.{% endtrans %}</p>
    +<h2>{% trans %}What are simple actions?{% endtrans %}</h2>
    

    I'm not sure 'other modules' is the best thing here, especially when administrators can trigger actions via views. This reads like a description of the hook system. Could we possibly drop the last two sentences - modules being able to provide actions is developer information really. The 'how are actions used' section describes how you use them. The other way would be via Rules - but as contrib-only I don't think it needs to be explicitly mentioned.

ankithashetty’s picture

StatusFileSize
new5.97 KB
new1.7 KB

Updated patch in #28 addressing #30.1. Thanks!

jhodgdon’s picture

Status: Needs work » Needs review
StatusFileSize
new9.52 KB
new6.51 KB

Thanks for taking care of item 1!

I thought about items 2 and 3... I think the best thing is really to separate the views stuff into its own topic. Also, I pared down the text in the overview sections to just the essentials. Here's a new patch.

andypost’s picture

StatusFileSize
new7.71 KB
new6.9 KB

Changed to use help_route_link according to https://www.drupal.org/node/3192582

+++ b/core/modules/help_topics/help_topics/action.creating.html.twig
@@ -0,0 +1,21 @@
+{% set action_permissions = render_var(url('user.admin_permissions', {},{'fragment': 'module-action'})) %}

+++ b/core/modules/help_topics/help_topics/action.views.html.twig
@@ -0,0 +1,23 @@
+{% set views_permissions = render_var(url('user.admin_permissions', {},{'fragment': 'module-views_ui'})) %}

also fixed indent before {'fragment'

jhodgdon’s picture

Thanks! This patch still needs a careful review/test.

amber himes matz’s picture

StatusFileSize
new9.09 KB
new8.72 KB

First off, thanks to everyone who's been working on this issue!

I've gone ahead and created a new patch with the changes I think should happen.

1. The topic which was titled "Adding bulk actions to a view" describes the process for adding a bulk operations form to a view, so I updated the title to that. Also, the Actions module does not need to be installed to add a bulk operations form to a view, so I renamed the file to views.bulk_operations.html.twig, and I added it as a related topic to views.overview.html.twig. I think it makes more sense as a Views help topic, even though it uses actions behind the scenes.

Also, I moved info and links to related topics from the "Goal" section and added an "Additional resources" paragraph about installing Actions module to see related topics. This was partially due to the fact that the help_topic_link() function returns the text "Missing help topic" if the module providing the topic is not installed. This isn't really ideal for links to help topics belonging to another that may not be installed. (Luckily our Related Help Topics feature takes care of that nicely and only displays links to topics of modules that are installed.)

2. For action.overview.html.twig, I updated some text with intention of clarifying the text, and I also added information about configuring the bulk operations form and taking care with permissions. I ran into some particularly gnarly white screens when testing bulk operations in views which had conflicting permissions -- it was not pretty and so this text was added to guide the user to best practices and to avoid gnarly gotchas when adding a bulk form element to an administrative view.

I also added some info about how bulk operations forms are labeled and distinguishing them from "operations links". I found this aspect particularly confusing and wanted to give the user some tips on how to successfully add the correct and appropriate bulk operation form to their view. We are trying to help folks with these topics after all.

3. For action.creating.html.twig, I added steps to edit configuration of an action you've created in the Actions UI and also how to delete an action you've created.

Interdiff and new patch attached.

Status: Needs review » Needs work

The last submitted patch, 35: 3094482-35.patch, failed testing. View results

amber himes matz’s picture

StatusFileSize
new800 bytes
new8.75 KB

Forgot some trans/endtrans tags for new text I added (yay, tests caught that!). Interdiff (from my last patch in #35) and new patch attached.

jhodgdon’s picture

Thanks for the patches! I'm leaving the status at Needs Work, because I have a few concerns:

a) Moving the bulk operations topic into Views makes sense, but it should be prefixed with views_ui rather than views (you can only do the steps if you have the Views UI module installed).

b) In actions.overview topic:

See the related {{ action_views }} topic for more information

This variable is not defined. Also, IMO it is not great to make a topic link from a topic in the actions module to a topic in the views or views UI module, because if someone doesn't have views UI turned on, the topic link will show something like "Unknown topic". Instead, I suggest putting in text something like:

If you have the Views UI module installed, see the Related Topic listed below for more about views bulk operations.

c) Normally in other overview topics, we are putting information on the things you can do in the "Overview of ...." section.

d) In actions.overview, I think the two paragraphs explaining bulk operations and that they work better in table views might be better off in their own section, perhaps called
What are views bulk operations?

e) views.bulk_operations -- I think this still needs to tell people specifically where they can go to get an overview about actions, even though a direct link is (see (a) above) problematic.

jhodgdon’s picture

I'm making a new patch based on my feedback in the previous comment.

jhodgdon’s picture

Status: Needs work » Needs review
StatusFileSize
new11.11 KB
new12.25 KB

Here's a new patch. I ended up doing a few more things... mostly small. A few more notes:
- I moved the information about bulk operations to the views overview topic instead of having it be in the actions overview topic.
- I added a step to the views bulk operations topic that talks about permissions, instead of having that information in an overview topic that people might not read.
- According to our topic standards, Additional Information is only supposed to be used for links to drupal.org and other outside resources.
- The interdiff file does not include the file name change from views.bulk_operations to views_ui.bulk_operations, but it does have all the text changes I made.

amber himes matz’s picture

Thanks @jhodgdon for your review, suggestions, and new patch. I agree with your feedback and have reviewed and tested the patch in #40 on a local Drupal 9.2.x development branch with an administrative user and an authenticated user with permissions to view help topics to verify links. It looks good to me!

Past contributors to this issue, could 1 or 2 of you take a look at the latest patch and review?

If you use https://simplytest.me/ to review, select project name "drupal" and from the next drop-down, select branch 9.2.x (it's near the bottom of the list of options). Expand the Advanced options and under Apply patches, enter https://www.drupal.org/files/issues/2021-04-21/3094482-40.patch. Then select the "Launch sandbox" button. Wait for the environment to be prepared (this will take a little while).

Steps to test (see also "Review the patch" instructions from the issue summary at the top of the page. The steps below are specific to the files in the patch in comment #40.

0. Login with username: admin, password: admin (if you used simplytest.me to launch a sandbox site).
1. Install Help Topics and Actions modules (Manage > Extend, under Core check "Action", under Experimental core, check Help Topics, then select Install at the bottom of the page.
2. From the Manage menu, select Help (admin/help). Verify that the Topics section appears and various topics are listed. Verify that the "Configuring actions" topic appears in this list.
3. Select "Configuring actions". Read through the topic and verify the links. Does the topic conform to the "Parts of a section topic" standards?
4. From Related topics, select "Creating an advanced topic". Read through the topic. Does it conform to the "Parts of a Task topic" standards? Can you follow the steps? Do they make sense?
5. From Related topics, select "Adding a bulk operations form to a view". Read through the topic. Does it conform to the "Parts of a Task topic" standards? Can you follow the steps? Do they make sense?
6. From Related topics, select "Managing content listings (views)". Read the section "What are bulk operations?". Is the language clear and understandable?
7. For all topics, are there any spelling or grammar issues or errors? Do the topics adhere to the Help Topic Standards?

daffie’s picture

Status: Needs review » Reviewed & tested by the community

I followed the review process as described in the IS.
I all looks good to me.
For me it is RTBC.

Version: 9.2.x-dev » 9.3.x-dev

Drupal 9.2.0-alpha1 will be released the week of May 3, 2021, which means new developments and disruptive changes should now be targeted for the 9.3.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 40: 3094482-40.patch, failed testing. View results

amber himes matz’s picture

The failed test has to do a with a page crash when running Layout_builder.Drupal\Tests\layout_builder\FunctionalJavascript\LayoutBuilderDisableInteractionsTest and not our patch, I think.

daffie’s picture

Status: Needs work » Reviewed & tested by the community

Testbot is happy again.
Back to RTBC.

larowlan’s picture

+++ b/core/modules/help_topics/help_topics/action.overview.html.twig
@@ -0,0 +1,25 @@
+<p>{% trans %}In the core software, actions can be executed through a <em>bulk operations form</em> added to a view; if you have the core Views module installed, see the related topic "Managing content listings (views)" for more information about views and bulk operations.{% endtrans %}</p>

Discussed with @jhodgdon as to why this isn't linked.

Now that the new help topics url feature is in, this can be a link.

@jhodgdon proposed to add that to #3121340: Fix up minor copy problems in help topics which is doing that in bulk

That's fine with me

Saving issue credits

  • larowlan committed 9f946a9 on 9.2.x
    Issue #3094482 by jhodgdon, shetpooja04, Amber Himes Matz, andypost,...
  • larowlan committed f29f4a3 on 9.3.x
    Issue #3094482 by jhodgdon, shetpooja04, Amber Himes Matz, andypost,...
larowlan’s picture

Version: 9.3.x-dev » 9.2.x-dev
Status: Reviewed & tested by the community » Fixed

Committed f29f4a3 and pushed to 9.3.x. Thanks!

Because help topics is experimental, backported to 9.2.x

jhodgdon’s picture

The follow-up to make that into a link (see comment 47 here) is now item 16 in the issue summary of #3121340: Fix up minor copy problems in help topics. Thanks @larowlan!

larowlan’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.