Skip to content

Post Settings: Scaffolding - #24622

Merged
kean merged 2 commits into
feature/post-settingsfrom
task/post-settings-initial-version
Jun 25, 2025
Merged

Post Settings: Scaffolding#24622
kean merged 2 commits into
feature/post-settingsfrom
task/post-settings-initial-version

Conversation

@kean

@kean kean commented Jun 25, 2025

Copy link
Copy Markdown
Contributor

This PR adds a FF and an initial empty-ish VC that will contains the reworked screen.

@kean
kean changed the base branch from trunk to feature/post-settings June 25, 2025 18:09
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Error
🚫 PR requires at least one label.

Generated by 🚫 Danger

@kean kean closed this Jun 25, 2025
@kean
kean force-pushed the task/post-settings-initial-version branch from e6075c0 to bcb3e07 Compare June 25, 2025 18:09
@kean kean reopened this Jun 25, 2025
@kean kean changed the title Feature: Post Settings Post Settings: Add FF and initial VC Jun 25, 2025
@kean kean added this to the 26.0 milestone Jun 25, 2025
@kean
kean merged commit 33ec01a into feature/post-settings Jun 25, 2025
6 of 33 checks passed
@kean
kean deleted the task/post-settings-initial-version branch June 25, 2025 18:13
@kean kean mentioned this pull request Jun 25, 2025
@sonarqubecloud

Copy link
Copy Markdown

@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number27986
VersionPR #24622
Bundle IDorg.wordpress.alpha
Commitbcb3e07
Installation URL4f4oacanl8n40
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@kean kean changed the title Post Settings: Add FF and initial VC Post Settings: Scaffolding Jun 25, 2025
@wpmobilebot

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number27986
VersionPR #24622
Bundle IDcom.jetpack.alpha
Commitbcb3e07
Installation URL6mc8n42b5ptk0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

import WordPressData

final class PostSettingsViewModel: ObservableObject {
let post: AbstractPost

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since PostSettingsViewModel is an ObservableObject, should you @Publish this property? Otherwise, I guess there will be no update in PostSettingsViewModel instances?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

That's not the intention as the only observable bits we care about are modeled using @Published var settings: PostSettings.

should you @publish this property

A @Published property on a let doesn't really do anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants