Comments

cilefen created an issue. See original summary.

webchick’s picture

Status: Active » Postponed

Let's make this one of the last things we do, so as not to destabilize other work going on.

xjm’s picture

Issue tags: -sprint

De-sprinty-tagging per #2.

cilefen’s picture

Status: Postponed » Active
Issue tags: +Novice

This is challenging "novice" but a novice could try it..or anyone.

cilefen’s picture

Status: Active » Postponed

Oh, I think @webchick meant, "last thing we do before 8.3.0".

damienmckenna’s picture

Does this need an extra "release blocker" tag so nobody forgets about it?

yoroy’s picture

Issue tags: +Release blocker

Lets do that yes, thanks Damien.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

yoroy’s picture

Status: Postponed » Active

hmm did we miss this?

tedbow’s picture

@yoroy no I thin the idea was to do this as the last thing before the module is marked as stable.

I don't know what others think. The actually patch will be very simple to make but keeping it up to date if other patches are being worked on would be time consuming.

saurabh-chugh’s picture

Assigned: Unassigned » saurabh-chugh
tedbow’s picture

@saurabh-chugh I really think we should postpone this and done this at the end.

Keeping this patch update to while other work on this module is going to be a nightmare.

But that being said if you want to work on it knowing that I welcome you too.

If you want to work on something else related to this module there are bunch of other issues that need review or work. If want help finding another issue feel to contact me via my drupal.org contact form or tedbow on irc or drupal slack.

Thanks.

saurabh-chugh’s picture

Renamed the Outside-in module to "Settings Tray"

tedbow’s picture

Status: Active » Needs review

@saurabh-chugh thanks for the patch. setting to "Needs Review" so the test run.

Status: Needs review » Needs work

The last submitted patch, 13: rename-Outside-in-to-Settings-Tray-2803375-12.patch, failed testing.

tedbow’s picture

Assigned: saurabh-chugh » Unassigned
Status: Needs work » Postponed

@saurabh-chugh just unassigning because it has been a couple of week. Thanks for starting it.

I am going to postpone because I think it will be easier to do once the module is closer to stable. Hopefully soon.

But of course if @saurabh-chugh or anyone wants to provide a patch that would also be welcome. I just think it will be hard to keep the patch up-to-date with other changes because it will touch almost every file.

tedbow’s picture

Status: Postponed » Needs review
StatusFileSize
new138.4 KB
new147.45 KB

Ok trying this again. But I think should not be committed before #2782891: The Page Title block's title behaves in a confusing way with Settings Tray and the Help block incorrectly has Settings Tray styling because it is RTBC and this would make it need a reroll.

So including a patch for testing including this patch #2782891-81: The Page Title block's title behaves in a confusing way with Settings Tray and the Help block incorrectly has Settings Tray styling

It would great to also commit this issue first #2826722: Add a 'fence' around settings tray with aggressive CSS reset. but not sure if that is going to happen.

Settings to "Needs Review" but will probably postpone for now if tests pass.

wim leers’s picture

Status: Needs review » Postponed

Tests pass! Marking postponed per #17.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

tedbow’s picture

wim leers’s picture

Is this completely unblocked? If so, this needs a reroll.

webchick’s picture

The release notes at https://www.drupal.org/project/drupal/releases/8.4.0-beta1 only mention two other issues besides this one blocking beta, both of which are in. So, yep! I think we just need a patch here and are good to go! :D

wim leers’s picture

Can this still happen during 8.4's beta?

webchick’s picture

Well, it can definitely be committed to 8.5.x. Not sure indeed whether we could backport it at this point, but step 1 is getting it in 8.5.x. :)

xjm’s picture

This can happen at any time before 8.4.0 since Settings Tray is still alpha, and Settings Tray can also be marked beta at any time. Thanks!

webchick’s picture

Title: Rename Outside-in module to "Settings Tray" for real » [PP-1] Rename Outside-in module to "Settings Tray" for real
Status: Active » Postponed
wim leers’s picture

Title: [PP-1] Rename Outside-in module to "Settings Tray" for real » Rename Outside-in module to "Settings Tray" for real
Status: Postponed » Needs work

And that's done now!

cilefen’s picture

Status: Needs work » Needs review
StatusFileSize
new54.96 KB
cilefen’s picture

Status: Needs review » Needs work
  1. +++ b/core/modules/settings_tray/settings_tray.api.php
    @@ -17,7 +17,7 @@
      * - adds additional form items to edit configuration that is rendered by the
    - *   block. See \Drupal\outside_in\Form\SystemBrandingOffCanvasForm which adds
    + *   block. See \Drupal\settings_tray\Form\SystemBrandingOffCanvasForm which adds
      *   site name and slogan configuration.
    

    wrapping

  2. +++ b/core/modules/settings_tray/settings_tray.module
    @@ -7,18 +7,18 @@
           $output = '<h3>' . t('About') . '</h3>';
    -      $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 .= '<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/settings_tray']) . '</p>';
           $output .= '<h3>' . t('Uses') . '</h3>';
    

    url change

  3. +++ b/core/modules/settings_tray/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php
    @@ -541,13 +541,13 @@ public function testValidationMessages() {
           $web_assert->assertWaitOnAjaxRequest();
    -      // The outside_in_test_validation test plugin form always has a validation
    +      // The settings_tray_test_validation test plugin form always has a validation
           // error.
    

    wrapping

Plus, I missed a few:

 git grep OutsideIn
core/modules/settings_tray/settings_tray.api.php: * @see \Drupal\Tests\settings_tray\Functional\OutsideInBlockTest::testPossibleAnnotations()
core/modules/settings_tray/tests/src/Functional/OutsideInTest.php:class OutsideInTest extends BrowserTestBase {
core/modules/settings_tray/tests/src/Functional/OutsideInTest.php:   * @see OutsideInBlockFormTest::testBlocks()
core/modules/settings_tray/tests/src/Functional/OutsideInTest.php:      // \Drupal\Tests\settings_tray\FunctionalJavascript\OutsideInBlockFormTest::testBlocks().
core/modules/settings_tray/tests/src/FunctionalJavascript/OffCanvasTest.php:class OffCanvasTest extends OutsideInJavascriptTestBase {
core/modules/settings_tray/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php:class OutsideInBlockFormTest extends OutsideInJavascriptTestBase {
core/modules/settings_tray/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php:      // \Drupal\Tests\settings_tray\Functional\OutsideInTest::testPossibleAnnotations().
core/modules/settings_tray/tests/src/FunctionalJavascript/OutsideInBlockFormTest.php:      // \Drupal\Tests\settings_tray\Functional\OutsideInTest::testPossibleAnnotations().
core/modules/settings_tray/tests/src/FunctionalJavascript/OutsideInJavascriptTestBase.php:abstract class OutsideInJavascriptTestBase extends JavascriptTestBase {
cilefen’s picture

Status: Needs work » Needs review
StatusFileSize
new34.87 KB
new78.14 KB

The last submitted patch, 30: rename_outside_in-2803375-30.patch, failed testing. View results

cilefen’s picture

StatusFileSize
new806 bytes
new78.42 KB
xjm’s picture

Status: Needs review » Active
Issue tags: -Release blocker

Removing "Release blocker" tag; that's not a thing we track.

webchick’s picture

Status: Active » Needs review

There's a patch here, so needs review.

tedbow’s picture

Status: Needs review » Needs work

Looking good! @cilefen thanks for getting this going again.

Just few cases of "outside" in the code base that need to be removed.

  1. +++ b/core/modules/settings_tray/js/settings_tray.es6.js
    @@ -224,7 +224,7 @@
    -          instance.options.data.dialogOptions.outsideInActiveEditableId = $(instance.element).parents('.outside-in-editable').attr('id');
    +          instance.options.data.dialogOptions.outsideInActiveEditableId = $(instance.element).parents('.settings-tray-editable').attr('id');
    

    outsideInActiveEditableIdshould be settingTrayActiveEditableId

  2. +++ b/core/modules/settings_tray/js/settings_tray.es6.js
    @@ -234,16 +234,16 @@
             const $activeElement = $(`#${settings.outsideInActiveEditableId}`);
    

    settingTrayActiveEditableId

  3. Also in settings_tray.es6.js Drupal.behaviors.toggleEditMode still has the comment
    /**
       * Toggle the js-outside-edit-mode class on items that we want to disable while in edit mode.
       *
       * @type {Drupal~behavior}
       *
       * @prop {Drupal~behaviorAttach} attach
       *   Toggle the js-outside-edit-mode class.
       */
    

    which should have js-settings-tray-edit-mode instead of js-outside-edit-mode

cilefen’s picture

Status: Needs work » Needs review
StatusFileSize
new2.98 KB
new78.97 KB

Status: Needs review » Needs work

The last submitted patch, 38: rename_outside_in-2803375-38.patch, failed testing. View results

tedbow’s picture

#38 had strange unrelated test failures but the patch doesn't seem to have any unrelated changes. Retesting

tedbow’s picture

Status: Needs work » Reviewed & tested by the community

Ok #38 tests passing. Search module for "outside" and there were only few remaining instances such as

Position the dialog-off-canvas tray container outside the right of the viewport.

which are not dealing with the machine name.

Everything else looks good!

  • webchick committed e2e1f61 on 8.5.x
    Issue #2803375 by cilefen, tedbow, saurabh-chugh, Wim Leers: Rename...
webchick’s picture

Status: Reviewed & tested by the community » Fixed

Let's get this in while it's hot!

Committed and pushed to 8.5.x and cherry-picked to 8.4.x. Thanks!

webchick’s picture

Issue tags: +8.4.0 release notes
webchick’s picture

Btw, I'm not sure why that 8.4.x push isn't showing up, but it did make it across the line: http://cgit.drupalcode.org/drupal/commit/core/modules?id=57e7afbda3ba2db...

wim leers’s picture

@webchick can we then now please also rename the component here on d.o from outside_in.module to settings_tray.module?

skaught’s picture

(: cheers. nice to see it finally have a real name.

webchick’s picture

Yep. Unfortunately though, if I do that through the UI, every issue currently assigned to outside_in.module needs to be manually re-assigned to settings_tray.module. :\ The DA might be able to help with an upgrade path. And/or I'll just try and find a couple of volunteers to help with this later when I have a free hour.

wim leers’s picture

Oh, I thought you'd be able to just rename the existing component. But apparently not. Should I ask drumm in #drupal-infrastructure for this? Or perhaps @tedbow was right all along, we need to open a "webmasters" issue?

tedbow’s picture

Component: outside_in.module » settings_tray.module

Changing to new settings_tray.module component. @drpal thanks for script help! :)

Status: Fixed » Closed (fixed)

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