Skip to content

Revert "Temporarily hide draft button."#5856

Merged
rtibbles merged 1 commit intolearningequality:unstablefrom
rtibbles:show_me_button
Apr 22, 2026
Merged

Revert "Temporarily hide draft button."#5856
rtibbles merged 1 commit intolearningequality:unstablefrom
rtibbles:show_me_button

Conversation

@rtibbles
Copy link
Copy Markdown
Member

@rtibbles rtibbles commented Apr 21, 2026

Summary

This reverts commit 9564806.
Reverts the PR that temporarily hid the "Publish draft" button on staging channels
Adds toggle by feature flag instead
Removes call to deleted function that had been absorbed into the draft publish function that was already being called.

References

Reverts #5652

Reviewer guidance

Did I delete v-if="false" correctly?

AI usage

None - crafted with my own two hands!

@rtibbles rtibbles force-pushed the show_me_button branch 2 times, most recently from b45fd6a to fa0a6c4 Compare April 21, 2026 22:57
Copy link
Copy Markdown
Member

@AlexVelezLl AlexVelezLl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code changes make sense, and manual QA checks out! Just a little question regarding the waitForPublishingDraft method.

this.isPublishingDraft = true;

this.publishStagingChannel()
.then(publishDraftchange => Channel.waitForPublishingDraft(publishDraftchange))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a reason to remove this line? It was kind of helpful to know that draft publishing was still in progress.

Copy link
Copy Markdown
Member Author

@rtibbles rtibbles Apr 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method doesn't exist any more - the publish method now includes this wait (I deleted it because otherwise the publish showed an error immediately, trying to invoke a non-existent method).

Copy link
Copy Markdown
Member

@AlexVelezLl AlexVelezLl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@rtibbles rtibbles merged commit 1db1f89 into learningequality:unstable Apr 22, 2026
15 checks passed
@rtibbles rtibbles deleted the show_me_button branch April 22, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants