Skip to content

Create an issue from selected text#3

Open
xboluna wants to merge 1 commit intocasals:masterfrom
xboluna:xboluna.feature/Create-issue-from-text-selection
Open

Create an issue from selected text#3
xboluna wants to merge 1 commit intocasals:masterfrom
xboluna:xboluna.feature/Create-issue-from-text-selection

Conversation

@xboluna
Copy link
Copy Markdown

@xboluna xboluna commented Oct 27, 2025

Allows a user to select text in the editor and create an issue from this.

Adds a backlink to the source text document.

trimmed-linear-integration-demo.mov

Comment on lines +30 to +50
// Optional overrides when creating from selection
private initialTitle?: string;
private initialDescription?: string;
private prefillContentOverride?: string;

constructor(
app: App,
private linearClient: LinearClient,
private file: TFile,
private localConfig: LinearNoteConfig,
private settings: LinearPluginSettings,
private onSuccess: (issue: LinearIssue) => void,
initialTitle?: string,
initialDescription?: string,
prefillContentOverride?: string
) {
super(app);
this.initialTitle = initialTitle;
this.initialDescription = initialDescription;
this.prefillContentOverride = prefillContentOverride;
}
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Let me know if you'd prefer if I do this in a different way

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