Skip to content

feat(compose): CreateMessageRequest cannot send linkedInTargets or linkedInLinkAsFirstComment #79

Description

@Adron

Found during PR #71, recorded during the 2026-09-13 tracker reconciliation.

The gap

The web's message-create body sends two LinkedIn fields the macOS client does not model:

  • linkedInTargetswhich LinkedIn destination(s) to publish to (personal profile vs one or more company pages)
  • linkedInLinkAsFirstComment — post the link as the first comment instead of in the body, the standard LinkedIn reach tactic

CreateMessageRequest (Packages/InterlinedKit/Sources/InterlinedKit/DTOs/MessageDTO.swift) models neither. It carries crossPostToLinkedIn: Bool? — a yes/no with no destination choice.

What that means today

A user with a personal profile and one or more assigned company pages has no way to choose from macOS. The server applies its default. Per /help/organizations, an assigned member's default destination is the company page — so "cross-post to LinkedIn" can publish somewhere the user did not intend and cannot redirect.

PR #67 already fixed the display half of this confusion: LinkedInTargetDTO.kind had the wrong taxonomy (personal/org instead of the real personal/orgPage/personalPage), which made the composer's "Posting as …" line name a personal profile while the server published to a company page. The line is now correct — but it is still only a readout, not a control.

Why it was not built in PR #71

It needs the Integrations/Organizations projection to exist — the composer has to know which targets are available before it can offer them. #47 (Integrations) and the org-LinkedIn work in PR #67 are the supply side. Half-building a picker over an incomplete target list was the worse option.

Dependencies

Sequence after #47. PR #67 already ships LinkedInPostingTargets.defaultDestination and the org-LinkedIn routes, so much of the domain supply exists; what is missing is the personal-side inventory and the composer control.

Acceptance

  • The composer offers the real destination list, defaulting to what the server would choose anyway.
  • linkedInLinkAsFirstComment is a visible toggle.
  • Both ride the create body; a scheduled post carries them too.
  • The "Posting as …" line reflects the chosen destination, not the inferred default.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestparityWeb-parity gap with the InterlinedList web app

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions