Skip to content

[SER-2423] Publish toogle converted to button#6223

Merged
coskunaydinoglu merged 10 commits intojourney+content-mainfrom
publish-toogle-converted-to-button
May 29, 2025
Merged

[SER-2423] Publish toogle converted to button#6223
coskunaydinoglu merged 10 commits intojourney+content-mainfrom
publish-toogle-converted-to-button

Conversation

@coskunaydinoglu
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the publish toggle behavior by replacing the el-switch component with an el-button in the UI and updating the related component logic.

  • Removed the el-switch and added an el-button to handle publish/unpublish actions in the content header template.
  • Added an onPublishButtonClick method in the content component to toggle the publish state.
  • Updated the CHANGELOG to reflect these changes.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
frontend/express/public/javascripts/countly/vue/templates/content/content-header.html Replaced the toggle switch with a button for publishing actions.
frontend/express/public/javascripts/countly/vue/components/content.js Introduced onPublishButtonClick method and reorganized computed properties.
CHANGELOG.md Updated release notes to mention the conversion of the toggle to a button.

Comment thread frontend/express/public/javascripts/countly/vue/components/content.js Outdated
Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
Comment thread frontend/express/public/javascripts/countly/vue/components/content.js Outdated
@coskunaydinoglu coskunaydinoglu merged commit 4a70e05 into journey+content-main May 29, 2025
1 check passed
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.

3 participants