Commit 8fca1264 authored by webchick's avatar webchick

Issue #2782803 by tkoleary, tedbow, xjm, cilefen, yoroy, davidhernandez,...

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 1ffb177e)
parent fabc088e
/**
* @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,
......
/**
* @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 {
......
/**
* @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 {
......
/**
* @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.
......
/**
* @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 {
......
/**
* @file
* Table drag behavior for outside-in module.
* Table drag behavior for Settings Tray module.
*
* @see tabledrag.js
*/
......
/**
* @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.
*/
......
/**
* @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:
......
/**
* @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();
......
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)
......
......@@ -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;
......
......@@ -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];
}
......
......@@ -34,7 +34,7 @@ public function __construct(OutsideInManagerInterface $outside_in_manager) {
* {@inheritdoc}
*/
public static function getLabel() {
return t('Outside-In');
return t('Settings Tray');
}
/**
......
......@@ -7,7 +7,7 @@
use Drupal\Core\Session\AccountInterface;
/**
* Manages information related to Outside-In.
* Manages information related to Settings Tray.
*/
class OutsideInManager implements OutsideInManagerInterface {
......
......@@ -8,10 +8,10 @@
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();
......
......@@ -9,7 +9,7 @@
/**
* Performs tests on opening and manipulating dialogs via AJAX commands.
*
* @group Outside-In
* @group outside_in
*/
class OffCanvasDialogTest extends AjaxTestBase {
......
......@@ -5,7 +5,7 @@
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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment