Issue #2782803 by tkoleary, tedbow, xjm, cilefen, yoroy, davidhernandez, prestonso, David_Rothstein, Gábor Hojtsy, nod_, Dries: Rename Outside-in module to "Settings Tray" in the UI and in comments

(cherry picked from commit 1ffb177e41)
8.3.x
webchick 2016-09-21 10:39:34 -07:00
parent fabc088e57
commit 8fca126410
17 changed files with 23 additions and 23 deletions

View File

@ -1,6 +1,6 @@
/**
* @file
* Visual styling for summary and details in the Outside-In module off canvas tray.
* Visual styling for summary and details in the Settings Tray module's off canvas tray.
*/
.ui-dialog-offcanvas details,

View File

@ -1,6 +1,6 @@
/**
* @file
* Visual styling for forms in the Outside-In module off canvas tray.
* Visual styling for forms in the Settings Tray module's off canvas tray.
*/
.ui-dialog-offcanvas label {

View File

@ -1,6 +1,6 @@
/**
* @file
* Styling for Outside-In module.
* Styling for Settings Tray module.
*/
/* Position the offcanvas tray container outside the right of the viewport. */
@ -29,7 +29,7 @@
/*
* Position the edit toolbar tab.
* @todo Move changes into contextual module when outside-in is not
* @todo Move changes into contextual module when Settings Tray is not
* experimental: https://www.drupal.org/node/2784591.
*/
.toolbar .toolbar-bar .contextual-toolbar-tab.toolbar-tab {

View File

@ -1,6 +1,6 @@
/**
* @file
* Motion effects for outside-in module.
* Motion effects for Settings Tray module.
*
* Motion effects are in a separate file so that they can be easily turned off
* to improve performance if desired.

View File

@ -1,6 +1,6 @@
/**
* @file
* Visual styling for tables in the Outside-In module off canvas tray.
* Visual styling for tables in the Settings Tray module's off canvas tray.
*/
.ui-dialog-offcanvas table {

View File

@ -1,6 +1,6 @@
/**
* @file
* Table drag behavior for outside-in module.
* Table drag behavior for Settings Tray module.
*
* @see tabledrag.js
*/

View File

@ -1,6 +1,6 @@
/**
* @file
* Visual styling for Outside-In module.
* Visual styling for Settings Tray module.
*/
/* @todo Move this into toolbar when this module is no longer experimental:
@ -198,7 +198,7 @@
/* Groups below here with todos to move to new component need to load last. */
/**
* Visual styling for buttons in the Outside-In module off canvas tray.
* Visual styling for buttons in the Settings Tray module's off canvas tray.
* @todo Move to it's own component:
* https://www.drupal.org/node/1945262.
*/
@ -238,7 +238,7 @@
/*
* Visual styling for dropbutton in the Outside-In modules off canvas tray.
* Visual styling for dropbutton in the Settings Tray module's off canvas tray.
* @todo Move to it's own component:
* https://www.drupal.org/node/1945262.
*/

View File

@ -1,6 +1,6 @@
/**
* @file
* Visual styling for the toolbar when Outside-In module is enabled.
* Visual styling for the toolbar when Settings Tray module is enabled.
*/
/* @todo Move this into toolbar when module is not experimental:

View File

@ -1,6 +1,6 @@
/**
* @file
* Drupal's Outside-In library.
* Drupal's Settings Tray library.
*/
(function ($, Drupal) {
@ -52,7 +52,7 @@
// Bind a listener to all 'Quick edit' links for blocks
// Click "Edit" button in toolbar to force Contextual Edit which starts
// Outside-In edit mode also.
// Settings Tray edit mode also.
data.$el.find('.outside-inblock-configure a').on('click', function () {
if (!isActiveMode()) {
$('div.contextual-toolbar-tab.toolbar-tab button').click();

View File

@ -1,4 +1,4 @@
name: 'Outside-In'
name: 'Settings Tray'
type: module
description: 'Provides the ability to change the most common configuration from the Drupal front-end.'
package: Core (Experimental)

View File

@ -2,7 +2,7 @@
/**
* @file
* Install, update and uninstall functions for the Outside-In module.
* Install, update and uninstall functions for the Settings Tray module.
*/
use Drupal\Core\Cache\Cache;

View File

@ -18,10 +18,10 @@ function outside_in_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.outside_in':
$output = '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('The outside-in module provides an \'edit mode\' in which clicking on a block opens a side tray which allows configuration to be altered without leaving the page.For more information, see the <a href=":outside-in-documentation">online documentation for the Outside-In module</a>.', [':outside-in-documentation' => 'https://www.drupal.org/documentation/modules/outside_in']) . '</p>';
$output .= '<p>' . t('The Settings Tray module provides an \'edit mode\' in which clicking on a block opens a slide-out tray which allows configuration to be altered without leaving the page.For more information, see the <a href=":outside-in-documentation">online documentation for the Settings Tray module</a>.', [':outside-in-documentation' => 'https://www.drupal.org/documentation/modules/outside_in']) . '</p>';
$output .= '<h3>' . t('Uses') . '</h3>';
$output .= '<dl>';
$output .= '<dt>' . t('Editing blocks on the same page in the side tray') . '</dt>';
$output .= '<dt>' . t('Editing blocks on the same page in the slide-out tray') . '</dt>';
$output .= '</dl>';
return ['#markup' => $output];
}

View File

@ -34,7 +34,7 @@ class OutsideInCacheContext implements CacheContextInterface {
* {@inheritdoc}
*/
public static function getLabel() {
return t('Outside-In');
return t('Settings Tray');
}
/**

View File

@ -7,7 +7,7 @@ use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\Core\Session\AccountInterface;
/**
* Manages information related to Outside-In.
* Manages information related to Settings Tray.
*/
class OutsideInManager implements OutsideInManagerInterface {

View File

@ -8,10 +8,10 @@ namespace Drupal\outside_in;
interface OutsideInManagerInterface {
/**
* Determines if the Outside-In logic should be run on the current page.
* Determines if the Settings Tray logic should be run on the current page.
*
* @return bool
* TRUE if the Outside-In logic should be run.
* TRUE if the Settings Tray logic should be run.
*/
public function isApplicable();

View File

@ -9,7 +9,7 @@ use Drupal\system\Tests\Ajax\AjaxTestBase;
/**
* Performs tests on opening and manipulating dialogs via AJAX commands.
*
* @group Outside-In
* @group outside_in
*/
class OffCanvasDialogTest extends AjaxTestBase {

View File

@ -5,7 +5,7 @@ namespace Drupal\Tests\outside_in\FunctionalJavascript;
use Drupal\FunctionalJavascriptTests\JavascriptTestBase;
/**
* Base class contains common test functionality for the Outside-In module.
* Base class contains common test functionality for the Settings Tray module.
*/
abstract class OutsideInJavascriptTestBase extends JavascriptTestBase {