Renamed editor-labs component directory to editor

no issue

- cleanup now the old publish flow is no more
This commit is contained in:
Kevin Ansfield 2022-05-24 18:20:35 +01:00
parent 49c0a64184
commit f76d7e9cd2
29 changed files with 12 additions and 12 deletions

View File

@ -51,14 +51,14 @@
<GhLoadingSpinner />
{{else}}
{{#if (eq this.tab "browser")}}
<EditorLabs::Modals::Preview::Browser
<Editor::Modals::Preview::Browser
@post={{@data.publishOptions.post}}
@skipAnimation={{this.skipAnimation}}
/>
{{/if}}
{{#if (and (eq this.tab "mobile"))}}
<EditorLabs::Modals::Preview::Mobile
<Editor::Modals::Preview::Mobile
@post={{@data.publishOptions.post}}
@skipAnimation={{this.skipAnimation}}
/>
@ -66,7 +66,7 @@
{{#unless @data.publishOptions.user.isContributor}}
{{#if (and (eq this.tab "email") @data.publishOptions.post.isPost)}}
<EditorLabs::Modals::Preview::Email
<Editor::Modals::Preview::Email
@post={{@data.publishOptions.post}}
@newsletter={{@data.publishOptions.newsletter}}
@skipAnimation={{this.skipAnimation}}
@ -75,7 +75,7 @@
{{/unless}}
{{#if (eq this.tab "social")}}
<EditorLabs::Modals::Preview::Social
<Editor::Modals::Preview::Social
@post={{@data.publishOptions.post}}
@skipAnimation={{this.skipAnimation}}
/>

View File

@ -23,13 +23,13 @@
<div class="gh-publish-settings-container {{unless @data.skipAnimation "fade-in"}}">
{{#if this.emailErrorMessage}}
<EditorLabs::Modals::PublishFlow::CompleteWithEmailError
<Editor::Modals::PublishFlow::CompleteWithEmailError
@emailErrorMessage={{this.emailErrorMessage}}
@publishOptions={{@data.publishOptions}}
@close={{@close}}
/>
{{else if this.isConfirming}}
<EditorLabs::Modals::PublishFlow::Confirm
<Editor::Modals::PublishFlow::Confirm
@publishOptions={{@data.publishOptions}}
@recipientType={{this.recipientType}}
@saveTask={{this.saveTask}}
@ -37,14 +37,14 @@
@close={{@close}}
/>
{{else if this.isComplete}}
<EditorLabs::Modals::PublishFlow::Complete
<Editor::Modals::PublishFlow::Complete
@publishOptions={{@data.publishOptions}}
@recipientType={{this.recipientType}}
@postCount={{this.postCount}}
@close={{@close}}
/>
{{else}}
<EditorLabs::Modals::PublishFlow::Options
<Editor::Modals::PublishFlow::Options
@publishOptions={{@data.publishOptions}}
@recipientType={{this.recipientType}}
@confirm={{this.toggleConfirm}}

View File

@ -22,7 +22,7 @@
{{/if}}
{{#liquid-if (eq this.openSection "publishType")}}
<div class="gh-publish-setting-form">
<EditorLabs::PublishOptions::PublishType
<Editor::PublishOptions::PublishType
@publishOptions={{@publishOptions}}
/>
</div>
@ -82,7 +82,7 @@
{{/if}}
{{#liquid-if (eq this.openSection "emailRecipients")}}
<div class="gh-publish-setting-form">
<EditorLabs::PublishOptions::EmailRecipients
<Editor::PublishOptions::EmailRecipients
@publishOptions={{@publishOptions}}
/>
</div>
@ -125,7 +125,7 @@
</button>
{{#liquid-if (eq this.openSection "publishAt")}}
<div class="gh-publish-setting-form last">
<EditorLabs::PublishOptions::PublishAt
<Editor::PublishOptions::PublishAt
@publishOptions={{@publishOptions}}
/>
</div>

View File

@ -28,7 +28,7 @@
<section class="flex items-center pe-auto h-100">
{{#unless this.post.isNew}}
<EditorLabs::PublishManagement
<Editor::PublishManagement
@post={{this.post}}
@hasUnsavedChanges={{this.hasDirtyAttributes}}
@beforePublish={{perform this.beforeSaveTask}}