Skip to content

feat: restore document attachment compatibility - #234

Merged
iamfj merged 2 commits into
linearis-oss:nextfrom
ralfschimmel:codex/port-docs-attachments-compat
Jul 2, 2026
Merged

feat: restore document attachment compatibility#234
iamfj merged 2 commits into
linearis-oss:nextfrom
ralfschimmel:codex/port-docs-attachments-compat

Conversation

@ralfschimmel

Copy link
Copy Markdown
Contributor

Summary

  • restore attachments list/create --issue compatibility while preserving positional issue syntax
  • add attachments create --comment and --icon-url, backed by current Linear AttachmentCreateInput fields
  • use current Linear DocumentCreateInput.issueId for documents create --issue/--attach-to and keep documents list --issue compatible with legacy document URL attachments

Verification

  • checked Linear official attachment docs and refreshed GraphQL codegen from https://api.linear.app/graphql
  • npm test
  • npm run check:ci (passes with existing Biome schema-version info)
  • npm run build

@ralfschimmel
ralfschimmel requested a review from iamfj as a code owner June 22, 2026 20:32
@ralfschimmel
ralfschimmel marked this pull request as draft June 23, 2026 06:59
@ralfschimmel
ralfschimmel marked this pull request as ready for review June 23, 2026 07:13
@iamfj
iamfj changed the base branch from main to next July 2, 2026 10:43
iamfj added a commit to ralfschimmel/linearis that referenced this pull request Jul 2, 2026
The document list --issue path now filters via the native document→issue
relation (with a legacy slugId OR branch), leaving listDocumentsBySlugIds
without any production caller. Drop the dead service function and its tests.

Refs linearis-oss#234
ralfschimmel and others added 2 commits July 2, 2026 13:04
The document list --issue path now filters via the native document→issue
relation (with a legacy slugId OR branch), leaving listDocumentsBySlugIds
without any production caller. Drop the dead service function and its tests.

Refs linearis-oss#234
@iamfj
iamfj force-pushed the codex/port-docs-attachments-compat branch from 56b1e67 to eb4fdba Compare July 2, 2026 11:05
@iamfj
iamfj merged commit 5fd53e7 into linearis-oss:next Jul 2, 2026
6 checks passed
@iamfj

iamfj commented Jul 2, 2026

Copy link
Copy Markdown
Member

Thanks for restoring document attachment compatibility! Really appreciate the contribution. It's now live on the prerelease channel (npm i -g linearis@next, currently 2026.6.0-next.5) — feel free to give it a spin. Planning to roll it into stable soon (#231). Happy for any feedback!

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.

2 participants