Skip to content

Revert "Temporarily hide draft button." - #5856

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

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

Conversation

@rtibbles

@rtibblesrtibbles commented Apr 21, 2026

Copy link
Copy Markdown
Member

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
rtibblesforce-pushed the show_me_button branch 2 times, most recently from b45fd6a to fa0a6c4CompareApril 21, 2026 22:57

@AlexVelezLlAlexVelezLl left a comment

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.

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.

@rtibblesrtibblesApr 22, 2026

Copy link
Copy Markdown
MemberAuthor

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).

@AlexVelezLlAlexVelezLl left a comment

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.

lgtm!

@rtibbles
rtibbles merged commit 1db1f89 into learningequality:unstableApr 22, 2026
15 checks passed
@rtibbles
rtibbles deleted the show_me_button branch April 22, 2026 15:23
@rtibblesrtibbles mentioned this pull request May 13, 2026
Sign up for freeto 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

@rtibbles@AlexVelezLl