Skip to content

feat(weibo): add post visibility selection - #2728

Merged
Tlaster merged 3 commits into
masterfrom
codex/weibo-compose-visibility
Oct 31, 2026
Merged

Tlaster merged 3 commits into
masterfrom
codex/weibo-compose-visibility

Conversation

@Tlaster

@Tlaster Tlaster commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Weibo original posts and reposts now offer public, friends-circle and only-me audiences, using the mobile H5 client's visibility parameters (omitted, 6 and 1). Replies keep the platform default.

Show the audience selector only when selected accounts share the same choices and default. Otherwise, hide it without a warning and use each account's platform default. Preserve that choice through draft save and retry, resolving it before validation and media upload. Explicitly unsupported audiences are rejected; plugin wire types remain unchanged.

Restore draft visibility in the shared presenter and wait until the loaded draft is applied before allowing send. A missing draft leaves the composer usable.

Validation:

  • 162 JVM tests passed: 62 shared compose/draft/presenter tests, 65 Weibo tests and 35 Agent tool tests.
  • Android Debug, Desktop Kotlin, Kotlin Web development-library export, and VVO iOS simulator arm64/macOS arm64 compilation passed.
  • Kotlin lint, Swift syntax parsing and localization resource parsing passed.

Limits: no live-account publishing or device checks. Full Apple project validation remains incomplete after existing VideoPlayer/GSPlayer revision mismatches. Svelte checking still reports 7 existing IconType/FaIcon errors at unchanged call sites.

@Tlaster
Tlaster force-pushed the codex/weibo-compose-visibility branch from c1e6789 to 01b88d8 Compare October 31, 2026 18:09
@Tlaster
Tlaster force-pushed the codex/weibo-compose-visibility branch from 01b88d8 to 90c3548 Compare October 31, 2026 18:18
@Tlaster
Tlaster merged commit 3d8e983 into master Oct 31, 2026
1 check passed
@Tlaster
Tlaster deleted the codex/weibo-compose-visibility branch October 31, 2026 19:11
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.

1 participant