From 481edbcaf7086d67811f0bb2b500337084012a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Melan=C3=A7on?= Date: Sun, 6 Mar 2022 21:22:24 -0500 Subject: [PATCH] Commit self-updates to config from D9 upgrade, tour new structure --- config/tour.tour.honeypot.yml | 31 +++++----- config/tour.tour.language-add.yml | 9 ++- config/tour.tour.language-edit.yml | 19 +++---- config/tour.tour.language.yml | 24 ++++---- config/tour.tour.locale.yml | 34 +++++------ config/tour.tour.search-api-index-fields.yml | 52 +++++++---------- config/tour.tour.search-api-index-form.yml | 32 +++++------ .../tour.tour.search-api-index-processors.yml | 17 +++--- config/tour.tour.search-api-index.yml | 57 ++++++++----------- config/tour.tour.search-api-server-form.yml | 17 +++--- config/tour.tour.search-api-server.yml | 22 +++---- config/tour.tour.views-ui.yml | 51 +++++++---------- 12 files changed, 150 insertions(+), 215 deletions(-) diff --git a/config/tour.tour.honeypot.yml b/config/tour.tour.honeypot.yml index 0385688..4004ea8 100644 --- a/config/tour.tour.honeypot.yml +++ b/config/tour.tour.honeypot.yml @@ -20,54 +20,49 @@ tips: weight: -10 body: | Congratulations on installing Honeypot on your site! With just a few clicks, you can have your site well-protected against automated spam bots. - + Click Next to be guided through this configuration page. - location: top + position: top-start protect-all-forms: id: protect-all-forms plugin: text label: 'Protect all forms' weight: -9 - attributes: - data-id: edit-protect-all-forms body: | Protecting all the forms is the easiest way to quickly cut down on spam on your site, but doing this disables Drupal's caching for every page where a form is displayed. - + Note: If you have the honeypot time limit enabled, this option may cause issues with Drupal Commerce product forms or similarly-sparse forms that are able to be completed in a very short time. - location: bottom + selector: '#edit-protect-all-forms' + position: bottom-start log-blocked-form-submissions: id: log-blocked-form-submissions plugin: text label: 'Log blocked form submissions' weight: -8 - attributes: - data-id: edit-log body: 'Check this box to log every form submission using watchdog. If you have Database Logging enabled, you can view these log entries in the Recent log messages page under Reports.' - location: bottom + selector: '#edit-log' + position: bottom-start honeypot-element-name: id: honeypot-element-name plugin: text label: 'Honeypot Element Name' weight: -7 - attributes: - data-id: edit-element-name body: 'Spam bots typically fill out any field they believe will help get links back to their site, so tempting them with a field named something like ''url'', ''homepage'', or ''link'' makes it hard for them to resist filling in the field—and easy to catch them in the trap and reject their submissions!' - location: top + selector: '#edit-element-name' + position: top-start honeypot-time-limit: id: honeypot-time-limit plugin: text label: 'Honeypot Time Limit' weight: -6 - attributes: - data-id: edit-time-limit body: 'If you enter a positive value, Honeypot will require that all protected forms take at least that many seconds long to fill out. Most forms take at least 5-10 seconds to complete (if you''re a human), so setting this to a value < 5 will help protect against spam bots. Set to 0 to disable.' - location: top + selector: '#edit-time-limit' + position: top-start honeypot-form-specific-settings: id: honeypot-form-specific-settings plugin: text label: 'Honeypot form-specific settings' weight: -5 - attributes: - data-id: edit-form-settings body: 'If you would like to choose particular forms to be protected by Honeypot, check the forms you wish to protect in this section. Most common types of forms are available for protection.' - location: top + selector: '#edit-form-settings' + position: top-start diff --git a/config/tour.tour.language-add.yml b/config/tour.tour.language-add.yml index 9715a34..c655c43 100644 --- a/config/tour.tour.language-add.yml +++ b/config/tour.tour.language-add.yml @@ -17,19 +17,18 @@ tips: id: language-add-overview plugin: text label: 'Adding languages' - body: '

This page provides the ability to add common languages to your site.

If the desired language is not available, you can add a custom language.

' weight: 1 + body: '

This page provides the ability to add common languages to your site.

If the desired language is not available, you can add a custom language.

' language-add-choose: id: language-add-choose plugin: text label: 'Select language' - body: '

Choose a language from the list, or choose "Custom language..." at the end of the list.

Click the "Add language" button when you are done choosing your language.

When adding a custom language, you will get an additional form where you can provide the name, code, and direction of the language.

' weight: 2 - attributes: - data-id: edit-predefined-langcode + body: '

Choose a language from the list, or choose "Custom language..." at the end of the list.

Click the "Add language" button when you are done choosing your language.

When adding a custom language, you will get an additional form where you can provide the name, code, and direction of the language.

' + selector: '#edit-predefined-langcode' language-add-continue: id: language-add-continue plugin: text label: 'Continuing on' - body: '

Now that you have an overview of the "Add languages" feature, you can continue by:

' weight: 3 + body: '

Now that you have an overview of the "Add languages" feature, you can continue by:

' diff --git a/config/tour.tour.language-edit.yml b/config/tour.tour.language-edit.yml index 3fd02f8..9b291db 100644 --- a/config/tour.tour.language-edit.yml +++ b/config/tour.tour.language-edit.yml @@ -17,35 +17,32 @@ tips: id: language-edit-overview plugin: text label: 'Editing languages' - body: '

This page provides the ability to edit a language on your site, including custom languages.

' weight: 1 + body: '

This page provides the ability to edit a language on your site, including custom languages.

' language-edit-langcode: id: language-edit-langcode plugin: text label: 'Language code' - body: '

You cannot change the code of a language on the site, since it is used by the system to keep track of the language.

' weight: 2 - attributes: - data-id: edit-langcode-view + body: '

You cannot change the code of a language on the site, since it is used by the system to keep track of the language.

' + selector: '#edit-langcode-view' language-edit-label: id: language-edit-label plugin: text label: 'Language name' - body: '

The language name is used throughout the site for all users and is written in English. Names of built-in languages can be translated using the Interface Translation module, and names of both built-in and custom languages can be translated using the Configuration Translation module.

' weight: 3 - attributes: - data-id: edit-label + body: '

The language name is used throughout the site for all users and is written in English. Names of built-in languages can be translated using the Interface Translation module, and names of both built-in and custom languages can be translated using the Configuration Translation module.

' + selector: '#edit-label' language-edit-direction: id: language-edit-direction plugin: text label: 'Language direction' - body: '

Choose if the language is a "Left to right" or "Right to left" language.

Note that not all themes support "Right to left" layouts, so test your theme if you are using "Right to left".

' weight: 4 - attributes: - data-id: edit-direction--wrapper--description + body: '

Choose if the language is a "Left to right" or "Right to left" language.

Note that not all themes support "Right to left" layouts, so test your theme if you are using "Right to left".

' + selector: '#edit-direction--wrapper--description' language-edit-continue: id: language-edit-continue plugin: text label: 'Continuing on' - body: '

Now that you have an overview of the "Edit language" feature, you can continue by:

' weight: 5 + body: '

Now that you have an overview of the "Edit language" feature, you can continue by:

' diff --git a/config/tour.tour.language.yml b/config/tour.tour.language.yml index 8d12300..e86095f 100644 --- a/config/tour.tour.language.yml +++ b/config/tour.tour.language.yml @@ -17,43 +17,39 @@ tips: id: language-overview plugin: text label: Languages - body: '

The "Languages" page allows you to add, edit, delete, and reorder languages for the site.

' weight: 1 + body: '

The "Languages" page allows you to add, edit, delete, and reorder languages for the site.

' language-add: id: language-add plugin: text label: 'Adding languages' - body: '

To add more languages to your site, click the "Add language" button.

Added languages will be displayed in the language list and can then be edited or deleted.

' weight: 2 - attributes: - data-class: button-action + body: '

To add more languages to your site, click the "Add language" button.

Added languages will be displayed in the language list and can then be edited or deleted.

' + selector: .button-action language-reorder: id: language-reorder plugin: text label: 'Reordering languages' - body: '

To reorder the languages on your site, use the drag icons next to each language.

The order shown here is the display order for language lists on the site such as in the language switcher blocks provided by the Interface Translation and Content Translation modules.

When you are done with reordering the languages, click the "Save configuration" button for the changes to take effect.

' weight: 3 - attributes: - data-class: draggable + body: '

To reorder the languages on your site, use the drag icons next to each language.

The order shown here is the display order for language lists on the site such as in the language switcher blocks provided by the Interface Translation and Content Translation modules.

When you are done with reordering the languages, click the "Save configuration" button for the changes to take effect.

' + selector: .draggable language-default: id: language-default plugin: text label: 'Set a language as default' - body: '

You can change the default language of the site by choosing one of your configured languages as default. The site will use the default language in situations where no choice is made but a language should be set, for example as the language of the displayed interface.

' weight: 4 - attributes: - data-class: js-form-item-site-default-language + body: '

You can change the default language of the site by choosing one of your configured languages as default. The site will use the default language in situations where no choice is made but a language should be set, for example as the language of the displayed interface.

' + selector: .js-form-item-site-default-language language-operations: id: language-operations plugin: text label: 'Modifying languages' - body: '

Operations are provided for editing and deleting your languages.

You can edit the name and the direction of the language.

Deleted languages can be added back at a later time. Deleting a language will remove all interface translations associated with it, and content in this language will be set to be language neutral. Note that you cannot delete the default language of the site.

' weight: 5 - attributes: - data-class: dropbutton-wrapper + body: '

Operations are provided for editing and deleting your languages.

You can edit the name and the direction of the language.

Deleted languages can be added back at a later time. Deleting a language will remove all interface translations associated with it, and content in this language will be set to be language neutral. Note that you cannot delete the default language of the site.

' + selector: .dropbutton-wrapper language-continue: id: language-continue plugin: text label: 'Continuing on' - body: '

Now that you have an overview of the "Languages" page, you can continue by:

' weight: 6 + body: '

Now that you have an overview of the "Languages" page, you can continue by:

' diff --git a/config/tour.tour.locale.yml b/config/tour.tour.locale.yml index c3e8c2a..1315365 100644 --- a/config/tour.tour.locale.yml +++ b/config/tour.tour.locale.yml @@ -17,59 +17,53 @@ tips: id: locale-overview plugin: text label: 'User interface translation' - body: 'This page allows you to translate the user interface or modify existing translations. If you have installed your site initially in English, you must first add another language on the Languages page, in order to use this page.' weight: 1 + body: 'This page allows you to translate the user interface or modify existing translations. If you have installed your site initially in English, you must first add another language on the Languages page, in order to use this page.' locale-language: id: locale-language plugin: text label: 'Translation language' - body: 'Choose the language you want to translate.' weight: 2 - attributes: - data-id: edit-langcode + body: 'Choose the language you want to translate.' + selector: '#edit-langcode' locale-search: id: locale-search plugin: text label: Search - body: 'Enter the specific word or sentence you want to translate, you can also write just a part of a word.' weight: 3 - attributes: - data-id: edit-string + body: 'Enter the specific word or sentence you want to translate, you can also write just a part of a word.' + selector: '#edit-string' locale-filter: id: locale-filter plugin: text label: 'Filter the search' - body: 'You can search for untranslated strings if you want to translate something that isn''t translated yet. If you want to modify an existing translation, you might want to search only for translated strings.' weight: 4 - attributes: - data-id: edit-translation + body: 'You can search for untranslated strings if you want to translate something that isn''t translated yet. If you want to modify an existing translation, you might want to search only for translated strings.' + selector: '#edit-translation' locale-submit: id: locale-submit plugin: text label: 'Apply your search criteria' - body: 'To apply your search criteria, click on the Filter button.' weight: 5 - attributes: - data-id: edit-submit + body: 'To apply your search criteria, click on the Filter button.' + selector: '#edit-submit' locale-translate: id: locale-translate plugin: text label: Translate - body: 'You can write your own translation in the text fields of the right column. Try to figure out in which context the text will be used in order to translate it in the appropriate way.' weight: 6 - attributes: - data-class: js-form-type-textarea + body: 'You can write your own translation in the text fields of the right column. Try to figure out in which context the text will be used in order to translate it in the appropriate way.' + selector: .js-form-type-textarea locale-validate: id: locale-validate plugin: text label: 'Validate the translation' - body: 'When you have finished your translations, click on the Save translations button. You must save your translations, each time before changing the page or making a new search.' weight: 7 - attributes: - data-id: edit-submit--2 + body: 'When you have finished your translations, click on the Save translations button. You must save your translations, each time before changing the page or making a new search.' + selector: '#edit-submit--2' locale-continue: id: locale-continue plugin: text label: 'Continuing on' - body: 'The translations you have made here will be used on your site''s user interface. If you want to use them on another site or modify them on an external translation editor, you can export them to a .po file and import them later.' weight: 8 + body: 'The translations you have made here will be used on your site''s user interface. If you want to use them on another site or modify them on an external translation editor, you can export them to a .po file and import them later.' diff --git a/config/tour.tour.search-api-index-fields.yml b/config/tour.tour.search-api-index-fields.yml index 221ad12..6e51f76 100644 --- a/config/tour.tour.search-api-index-fields.yml +++ b/config/tour.tour.search-api-index-fields.yml @@ -17,85 +17,75 @@ tips: id: search-api-index-fields-introduction plugin: text label: 'Fields indexed in this index' - body: 'This page lists which fields are indexed in this index, grouped by datasource. (Datasource-independent fields are listed under "General".) Indexed fields can be used to add filters or sorting to views or other search displays based on the index. Fields with type "Fulltext" can also be used for fulltext searching.' weight: 1 + body: 'This page lists which fields are indexed in this index, grouped by datasource. (Datasource-independent fields are listed under "General".) Indexed fields can be used to add filters or sorting to views or other search displays based on the index. Fields with type "Fulltext" can also be used for fulltext searching.' search-api-index-fields-add: id: search-api-index-fields-add plugin: text label: 'Add fields' - body: 'With the "Add fields" button you can add additional fields to this index.' weight: 2 - attributes: - data-class: 'button-action[data-drupal-selector="edit-add-field"]' + body: 'With the "Add fields" button you can add additional fields to this index.' + selector: '.button-action[data-drupal-selector="edit-add-field"]' search-api-index-fields-label: id: search-api-index-fields-label plugin: text label: Label - body: 'A label for the field that will be used to refer to the field in most places in the user interface.' weight: 3 - attributes: - data-class: 'details-wrapper:nth(0) table thead th:nth(0)' + body: 'A label for the field that will be used to refer to the field in most places in the user interface.' + selector: '.details-wrapper:nth(0) table thead th:nth(0)' search-api-index-fields-machine-name: id: search-api-index-fields-machine-name plugin: text label: 'Machine name' - body: 'The internal ID to use for this field. Can safely be ignored by inexperienced users in most cases. Changing a field''s machine name requires reindexing of the index.' weight: 4 - attributes: - data-class: 'details-wrapper:nth(0) table thead th:nth(1)' + body: 'The internal ID to use for this field. Can safely be ignored by inexperienced users in most cases. Changing a field''s machine name requires reindexing of the index.' + selector: '.details-wrapper:nth(0) table thead th:nth(1)' search-api-index-fields-property-path: id: search-api-index-fields-property-path plugin: text label: 'Property path' - body: 'The internal relationship linking the indexed item to the field, with links being separated by colons (:). This can be useful information for advanced users, but can otherwise be ignored.' weight: 5 - attributes: - data-class: 'details-wrapper:nth(0) table thead th:nth(2)' + body: 'The internal relationship linking the indexed item to the field, with links being separated by colons (:). This can be useful information for advanced users, but can otherwise be ignored.' + selector: '.details-wrapper:nth(0) table thead th:nth(2)' search-api-index-fields-type: id: search-api-index-fields-type plugin: text label: Type - body: 'The data type to use when indexing the field. Determines how a field can be used in searches. For information on the available types, see the "Data types" box at the bottom of the page.' weight: 6 - attributes: - data-class: 'details-wrapper:nth(0) table thead th:nth(3)' + body: 'The data type to use when indexing the field. Determines how a field can be used in searches. For information on the available types, see the "Data types" box at the bottom of the page.' + selector: '.details-wrapper:nth(0) table thead th:nth(3)' search-api-index-fields-boost: id: search-api-index-fields-boost plugin: text label: Boost - body: 'Only applicable for fulltext fields. Determines how "important" the field is compared to other fulltext fields, to influence scoring of fulltext searches.' weight: 7 - attributes: - data-class: 'details-wrapper:nth(0) table thead th:nth(4)' + body: 'Only applicable for fulltext fields. Determines how "important" the field is compared to other fulltext fields, to influence scoring of fulltext searches.' + selector: '.details-wrapper:nth(0) table thead th:nth(4)' search-api-index-fields-edit: id: search-api-index-fields-edit plugin: text label: 'Edit field' - body: 'Some fields have additional configuration available, in which case an "Edit" link is displayed in the "Operations" column.' weight: 8 - attributes: - data-class: 'details-wrapper:nth(0) table tbody td:nth(5) a' + body: 'Some fields have additional configuration available, in which case an "Edit" link is displayed in the "Operations" column.' + selector: '.details-wrapper:nth(0) table tbody td:nth(5) a' search-api-index-fields-remove: id: search-api-index-fields-remove plugin: text label: 'Remove field' - body: 'Removes a field from the index again. (Note: Sometimes, a field is required (for example, by a processor) and cannot be removed.)' weight: 9 - attributes: - data-class: 'details-wrapper:nth(0) table tbody td:nth(6) a' + body: 'Removes a field from the index again. (Note: Sometimes, a field is required (for example, by a processor) and cannot be removed.)' + selector: '.details-wrapper:nth(0) table tbody td:nth(6) a' search-api-index-fields-submit: id: search-api-index-fields-submit plugin: text label: 'Save changes' - body: 'This saves all changes made to the fields for this index. Until this button is pressed, all added, changed or removed fields will only be stored temporarily and not effect the actual index used in the rest of the site.' weight: 10 - attributes: - data-id: edit-actions-submit + body: 'This saves all changes made to the fields for this index. Until this button is pressed, all added, changed or removed fields will only be stored temporarily and not effect the actual index used in the rest of the site.' + selector: '#edit-actions-submit' search-api-index-fields-cancel: id: search-api-index-fields-cancel plugin: text label: 'Cancel changes' - body: 'If you have made changes to the index''s fields but not yet saved them, the "Cancel" link lets you discard those changes.' weight: 10 - attributes: - data-id: edit-actions-cancel + body: 'If you have made changes to the index''s fields but not yet saved them, the "Cancel" link lets you discard those changes.' + selector: '#edit-actions-cancel' diff --git a/config/tour.tour.search-api-index-form.yml b/config/tour.tour.search-api-index-form.yml index d9ddaef..5a802f7 100644 --- a/config/tour.tour.search-api-index-form.yml +++ b/config/tour.tour.search-api-index-form.yml @@ -19,53 +19,47 @@ tips: id: search-api-index-form-introduction plugin: text label: 'Adding or editing an index' - body: 'This form can be used to edit an existing index or add a new index to your site. Indexes define a set of data that will be indexed and can then be searched.' weight: 1 + body: 'This form can be used to edit an existing index or add a new index to your site. Indexes define a set of data that will be indexed and can then be searched.' search-api-index-form-name: id: search-api-index-form-name plugin: text label: 'Index name' - body: 'Enter a name to identify this index. For example, "Content index". This will only be displayed in the admin user interface.' weight: 2 - attributes: - data-id: edit-name + body: 'Enter a name to identify this index. For example, "Content index". This will only be displayed in the admin user interface.' + selector: '#edit-name' search-api-index-form-datasources: id: search-api-index-form-datasources plugin: text label: Datasources - body: 'Datasources define the types of items that will be indexed in this index. By default, all content entities (like content, comments and taxonomy terms) will be available here, but modules can also add their own.' weight: 3 - attributes: - data-id: edit-datasources + body: 'Datasources define the types of items that will be indexed in this index. By default, all content entities (like content, comments and taxonomy terms) will be available here, but modules can also add their own.' + selector: '#edit-datasources' search-api-index-form-tracker: id: search-api-index-form-tracker plugin: text label: Tracker - body: 'An index''s tracker is the system that keeps track of which items there are available for the index, and which of them still need to be indexed. Changing the tracker of an existing index will lead to reindexing of all items.' weight: 4 - attributes: - data-id: edit-tracker + body: 'An index''s tracker is the system that keeps track of which items there are available for the index, and which of them still need to be indexed. Changing the tracker of an existing index will lead to reindexing of all items.' + selector: '#edit-tracker' search-api-index-form-server: id: search-api-index-form-server plugin: text label: Server - body: 'The search server that the index should use for indexing and searching. If no server is selected here, the index cannot be enabled. An index can only have one server, but a server can have any number of indexes.' weight: 5 - attributes: - data-id: edit-server + body: 'The search server that the index should use for indexing and searching. If no server is selected here, the index cannot be enabled. An index can only have one server, but a server can have any number of indexes.' + selector: '#edit-server' search-api-index-form-description: id: search-api-index-form-description plugin: text label: 'Index description' - body: 'Optionally, enter a description to explain the function of the index in more detail. This will only be displayed in the admin user interface.' weight: 6 - attributes: - data-id: edit-description + body: 'Optionally, enter a description to explain the function of the index in more detail. This will only be displayed in the admin user interface.' + selector: '#edit-description' search-api-index-form-options: id: search-api-index-form-options plugin: text label: 'Advanced options' - body: 'These options allow more detailed configuration of index behavior, but can usually safely be ignored by inexperienced users.' weight: 7 - attributes: - data-id: edit-options + body: 'These options allow more detailed configuration of index behavior, but can usually safely be ignored by inexperienced users.' + selector: '#edit-options' diff --git a/config/tour.tour.search-api-index-processors.yml b/config/tour.tour.search-api-index-processors.yml index 97a0f5a..f47cc70 100644 --- a/config/tour.tour.search-api-index-processors.yml +++ b/config/tour.tour.search-api-index-processors.yml @@ -17,29 +17,26 @@ tips: id: search-api-index-processors-introduction plugin: text label: 'Processors used for this index' - body: 'Processors customize different aspects of an index''s functionality. They can keep items from being indexed, change how certain fields are indexed and influence searches.' weight: 1 + body: 'Processors customize different aspects of an index''s functionality. They can keep items from being indexed, change how certain fields are indexed and influence searches.' search-api-index-processors-enable: id: search-api-index-processors-enable plugin: text label: 'Enable processors' - body: 'This lists all processors available for this index and lets you choose the ones that should be active. (Note: Some processors cannot be disabled.)' weight: 2 - attributes: - data-id: edit-status + body: 'This lists all processors available for this index and lets you choose the ones that should be active. (Note: Some processors cannot be disabled.)' + selector: '#edit-status' search-api-index-processors-weights: id: search-api-index-processors-weights plugin: text label: 'Processor order' - body: 'This shows you which enabled processors will be active in the different parts of the indexing/searching workflow, and lets you re-arrange them. This should usually not be necessary, and only be used by advanced users as some processors will lead to unexpected results when used in the wrong order.' weight: 3 - attributes: - data-id: edit-weights + body: 'This shows you which enabled processors will be active in the different parts of the indexing/searching workflow, and lets you re-arrange them. This should usually not be necessary, and only be used by advanced users as some processors will lead to unexpected results when used in the wrong order.' + selector: '#edit-weights' search-api-index-processors-settings: id: search-api-index-processors-settings plugin: text label: 'Processor settings' - body: 'Some processors have additional configuration available, which you are able to change here.' weight: 4 - attributes: - data-class: form-type-vertical-tabs + body: 'Some processors have additional configuration available, which you are able to change here.' + selector: .form-type-vertical-tabs diff --git a/config/tour.tour.search-api-index.yml b/config/tour.tour.search-api-index.yml index 65db7c2..39a9d91 100644 --- a/config/tour.tour.search-api-index.yml +++ b/config/tour.tour.search-api-index.yml @@ -17,93 +17,82 @@ tips: id: search-api-index-introduction plugin: text label: 'Information about an index' - body: 'This page shows a summary of a search index and its status.' weight: 1 + body: 'This page shows a summary of a search index and its status.' search-api-index-index-status: id: search-api-index-index-status plugin: text label: 'Index status' - body: 'This gives a summary about how many items are known for this index, and how many have been indexed in their latest version. Items that are not indexed yet cannot be found by searches.' weight: 2 - attributes: - data-class: search-api-index-status + body: 'This gives a summary about how many items are known for this index, and how many have been indexed in their latest version. Items that are not indexed yet cannot be found by searches.' + selector: .search-api-index-status search-api-index-status: id: search-api-index-status plugin: text label: Status - body: 'Shows whether the index is currently enabled or disabled.' weight: 3 - attributes: - data-class: search-api-index-summary--status + body: 'Shows whether the index is currently enabled or disabled.' + selector: .search-api-index-summary--status search-api-index-datasources: id: search-api-index-datasources plugin: text label: Datasources - body: 'Lists all datasources that are enabled for this index.' weight: 4 - attributes: - data-class: search-api-index-summary--datasource + body: 'Lists all datasources that are enabled for this index.' + selector: .search-api-index-summary--datasource search-api-index-tracker: id: search-api-index-tracker plugin: text label: Tracker - body: 'The tracker used by the index. Only one ("Default") is available by default.' weight: 5 - attributes: - data-class: search-api-index-summary--tracker + body: 'The tracker used by the index. Only one ("Default") is available by default.' + selector: .search-api-index-summary--tracker search-api-index-server: id: search-api-index-server plugin: text label: Server - body: 'If the index is attached to a server, this server is listed here.' weight: 6 - attributes: - data-class: search-api-index-summary--server + body: 'If the index is attached to a server, this server is listed here.' + selector: .search-api-index-summary--server search-api-index-server-index-status: id: search-api-index-server-index-status plugin: text label: 'Server index status' - body: 'For enabled indexes, the number of items that can actually be retrieved from the server is listed here. For reasons why this number might differ from the number under "Index status", see the module''s documentation.' weight: 7 - attributes: - data-class: search-api-index-summary--server-index-status + body: 'For enabled indexes, the number of items that can actually be retrieved from the server is listed here. For reasons why this number might differ from the number under "Index status", see the module''s documentation.' + selector: .search-api-index-summary--server-index-status search-api-index-cron-batch-size: id: search-api-index-cron-batch-size plugin: text label: 'Cron batch size' - body: 'The number of items that will be indexed at once during cron runs.' weight: 8 - attributes: - data-class: search-api-index-summary--cron-batch-size + body: 'The number of items that will be indexed at once during cron runs.' + selector: .search-api-index-summary--cron-batch-size search-api-index-index-now: id: search-api-index-remove plugin: text label: 'Start indexing now' - body: 'The "Start indexing now" form allows indexing items manually right away, with a batch process. Otherwise, items are only indexed during cron runs. The form might be disabled if indexing is currently not possible for some reason, or not necessary.' weight: 9 - attributes: - data-id: edit-index + body: 'The "Start indexing now" form allows indexing items manually right away, with a batch process. Otherwise, items are only indexed during cron runs. The form might be disabled if indexing is currently not possible for some reason, or not necessary.' + selector: '#edit-index' search-api-index-tracking: id: search-api-index-tracking plugin: text label: 'Track items for index' - body: 'In certain situations, the index''s tracker doesn''t have the latest state of the items available for indexing. This will be automatically rectified during cron runs, but can also be manually triggered here, with the "Track now" button.' weight: 10 - attributes: - data-id: edit-tracking + body: 'In certain situations, the index''s tracker doesn''t have the latest state of the items available for indexing. This will be automatically rectified during cron runs, but can also be manually triggered here, with the "Track now" button.' + selector: '#edit-tracking' search-api-index-reindex: id: search-api-index-reindex plugin: text label: 'Queue all items for reindexing' - body: 'This will queue all items on this index for reindexing. Previously indexed data will remain on the search server, so searches on this index will continue to yield results.' weight: 11 - attributes: - data-id: edit-reindex + body: 'This will queue all items on this index for reindexing. Previously indexed data will remain on the search server, so searches on this index will continue to yield results.' + selector: '#edit-reindex' search-api-index-clear: id: search-api-index-clear plugin: text label: 'Clear all indexed data' - body: 'This will remove all indexed content for this index from the search server and queue it for reindexing. Searches on this index will not return any results until items are reindexed.' weight: 12 - attributes: - data-id: edit-clear + body: 'This will remove all indexed content for this index from the search server and queue it for reindexing. Searches on this index will not return any results until items are reindexed.' + selector: '#edit-clear' diff --git a/config/tour.tour.search-api-server-form.yml b/config/tour.tour.search-api-server-form.yml index d5c3a20..54517ec 100644 --- a/config/tour.tour.search-api-server-form.yml +++ b/config/tour.tour.search-api-server-form.yml @@ -19,29 +19,26 @@ tips: id: search-api-server-form-introduction plugin: text label: 'Adding or editing a Server' - body: 'This form can be used to edit an existing server or add a new server to your site. Servers will hold your indexed data.' weight: 1 + body: 'This form can be used to edit an existing server or add a new server to your site. Servers will hold your indexed data.' search-api-server-form-name: id: search-api-server-form-name plugin: text label: 'Server name' - body: 'Enter a name to identify this server. For example, "Solr server". This will only be displayed in the admin user interface.' weight: 2 - attributes: - data-id: edit-name + body: 'Enter a name to identify this server. For example, "Solr server". This will only be displayed in the admin user interface.' + selector: '#edit-name' search-api-server-form-description: id: search-api-server-form-description plugin: text label: 'Server description' - body: 'Optionally, enter a description to explain the function of the server in more detail. This will only be displayed in the admin user interface.' weight: 3 - attributes: - data-id: edit-description + body: 'Optionally, enter a description to explain the function of the server in more detail. This will only be displayed in the admin user interface.' + selector: '#edit-description' search-api-server-form-backend: id: search-api-server-form-backend plugin: text label: 'Server backend' - body: 'Servers can be based on different technologies. These are called "backends". A server uses exactly one backend and cannot change it later. You can make the "Database" backend available by enabling the "Database Search" module. Another very common backend is "Solr", which requires to be set up separately.' weight: 4 - attributes: - data-id: edit-backend + body: 'Servers can be based on different technologies. These are called "backends". A server uses exactly one backend and cannot change it later. You can make the "Database" backend available by enabling the "Database Search" module. Another very common backend is "Solr", which requires to be set up separately.' + selector: '#edit-backend' diff --git a/config/tour.tour.search-api-server.yml b/config/tour.tour.search-api-server.yml index 5e568fc..4ee658d 100644 --- a/config/tour.tour.search-api-server.yml +++ b/config/tour.tour.search-api-server.yml @@ -17,37 +17,33 @@ tips: id: search-api-server-introduction plugin: text label: 'Information about a server' - body: 'This page shows a summary of a search server.' weight: 1 + body: 'This page shows a summary of a search server.' search-api-server-status: id: search-api-server-status plugin: text label: Status - body: 'Shows whether the server is currently enabled or disabled.' weight: 2 - attributes: - data-class: search-api-server-summary--status + body: 'Shows whether the server is currently enabled or disabled.' + selector: .search-api-server-summary--status search-api-server-backend: id: search-api-server-backend plugin: text label: 'Backend class' - body: 'The backend plugin used for this server. The backend plugin determines how items are indexed and searched – for example, using the database or an Apache Solr server.' weight: 3 - attributes: - data-class: search-api-server-summary--backend + body: 'The backend plugin used for this server. The backend plugin determines how items are indexed and searched – for example, using the database or an Apache Solr server.' + selector: .search-api-server-summary--backend search-api-server-indexes: id: search-api-server-indexes plugin: text label: 'Search indexes' - body: 'Lists all search indexes that are attached to this server.' weight: 4 - attributes: - data-class: search-api-server-summary--indexes + body: 'Lists all search indexes that are attached to this server.' + selector: .search-api-server-summary--indexes search-api-server-clear: id: search-api-server-clear plugin: text label: 'Delete all indexed data' - body: 'This will permanently remove all data currently indexed on this server for indexes that aren''t read-only. Items are queued for reindexing. Until reindexing occurs, searches for the affected indexes will not return any results.' weight: 5 - attributes: - data-id: edit-clear + body: 'This will permanently remove all data currently indexed on this server for indexes that aren''t read-only. Items are queued for reindexing. Until reindexing occurs, searches for the affected indexes will not return any results.' + selector: '#edit-clear' diff --git a/config/tour.tour.views-ui.yml b/config/tour.tour.views-ui.yml index 38aeb08..c6243f3 100644 --- a/config/tour.tour.views-ui.yml +++ b/config/tour.tour.views-ui.yml @@ -19,79 +19,70 @@ tips: id: views-main plugin: text label: 'Manage view settings' - body: 'View or edit the configuration.' weight: 1 + body: 'View or edit the configuration.' views-ui-displays: id: views-ui-displays plugin: text label: 'Displays in this view' - body: 'A display is a way of outputting the results, e.g., as a page or a block. A view can contain multiple displays, which are listed here. The active display is highlighted.' weight: 2 - attributes: - data-id: views-display-top + body: 'A display is a way of outputting the results, e.g., as a page or a block. A view can contain multiple displays, which are listed here. The active display is highlighted.' + selector: '#views-display-top' views-ui-view-admin: id: views-ui-view-admin plugin: text label: 'View administration' - body: 'Perform administrative tasks, including adding a description and creating a clone. Click the drop-down button to view the available options.' weight: 3 - location: left - attributes: - data-id: views-display-extra-actions + body: 'Perform administrative tasks, including adding a description and creating a clone. Click the drop-down button to view the available options.' + selector: '#views-display-extra-actions' + position: left-start views-ui-format: id: views-ui-format plugin: text label: 'Output format' - body: 'Choose how to output results. E.g., choose Content to output each item completely, using your configured display settings. Or choose Fields, which allows you to output only specific fields for each result. Additional formats can be added by installing modules to extend Drupal''s base functionality.' weight: 4 - attributes: - data-class: views-ui-display-tab-bucket.format + body: 'Choose how to output results. E.g., choose Content to output each item completely, using your configured display settings. Or choose Fields, which allows you to output only specific fields for each result. Additional formats can be added by installing modules to extend Drupal''s base functionality.' + selector: .views-ui-display-tab-bucket.format views-ui-fields: id: views-ui-fields plugin: text label: Fields - body: 'If this view uses fields, they are listed here. You can click on a field to configure it.' weight: 5 - attributes: - data-class: views-ui-display-tab-bucket.field + body: 'If this view uses fields, they are listed here. You can click on a field to configure it.' + selector: .views-ui-display-tab-bucket.field views-ui-filter: id: views-ui-filter plugin: text label: 'Filter your view' - body: 'Add filters to limit the results in the output. E.g., to only show content that is published, you would add a filter for Published and select Yes.' weight: 6 - attributes: - data-class: views-ui-display-tab-bucket.filter + body: 'Add filters to limit the results in the output. E.g., to only show content that is published, you would add a filter for Published and select Yes.' + selector: .views-ui-display-tab-bucket.filter views-ui-filter-operations: id: views-ui-filter-operations plugin: text label: 'Filter actions' - body: 'Add, rearrange or remove filters.' weight: 7 - attributes: - data-class: 'views-ui-display-tab-bucket.filter .dropbutton-widget' + body: 'Add, rearrange or remove filters.' + selector: '.views-ui-display-tab-bucket.filter .dropbutton-widget' views-ui-sorts: id: views-ui-sorts plugin: text label: 'Sort Criteria' - body: 'Control the order in which the results are output. Click on an active sort rule to configure it.' weight: 8 - attributes: - data-class: views-ui-display-tab-bucket.sort + body: 'Control the order in which the results are output. Click on an active sort rule to configure it.' + selector: .views-ui-display-tab-bucket.sort views-ui-sorts-operations: id: views-ui-sorts-operations plugin: text label: 'Sort actions' - body: 'Add, rearrange or remove sorting rules.' weight: 9 - attributes: - data-class: 'views-ui-display-tab-bucket.sort .dropbutton-widget' + body: 'Add, rearrange or remove sorting rules.' + selector: '.views-ui-display-tab-bucket.sort .dropbutton-widget' views-ui-preview: id: views-ui-preview plugin: text label: Preview - body: 'Show a preview of the view output.' weight: 10 - location: left - attributes: - data-id: preview-submit + body: 'Show a preview of the view output.' + selector: '#preview-submit' + position: left-start