obsidian-jira-issue icon indicating copy to clipboard operation
obsidian-jira-issue copied to clipboard

[Bug] Column suggest can trigger when not inside jira codeblock fence

Open nathonius opened this issue 1 year ago • 0 comments

Describe the bug In certain, very specific situations, the column suggest will appear even when not in the jira codeblock.

To Reproduce Steps to reproduce the behavior:

  1. Have a valid jira-search codeblock in a file.
  2. Somewhere after the jira codeblock, type columns:
  3. See the suggester appear outside the codeblock.

example file content:

```jira-search
type: TABLE
query: assignee = currentUser() AND status in ("Reopened", "Blocked", "To Do", "In Progress", "In Code Review", "Awaiting Validation") order by updated DESC
columns: KEY, SUMMARY, TYPE, UPDATED, STATUS
```

columns:

Expected behavior The column suggester should not be visible when typing outside of the jira-search codeblock. Specifically I ran into this while developing another obsidian plugin, and it requires a fairly specific circumstance, so not a super high priority.

Plugin version and platform

  • Version: 1.56.0
  • [ ] Obsidian Windows
  • [x] Obsidian Mac
  • [ ] Obsidian Linux
  • [ ] Obsidian Android
  • [ ] Obsidian iOS

nathonius avatar Jan 31 '24 04:01 nathonius