Skip to content

Current node in visualization renders with squiggly red underline #72

@tranhl

Description

@tranhl

Image example:

Image

This appears to be an intentional change in GitHub's markdown renderer. As such, we'll have to remove the self-referencing link. Since we use #<pr-number> to automatically link and populate the PR title of a node in a stack graph, we'll need to enrich the node's data schema with the PR title and conditionally render either the title or #<pr-number> depending on whether the node is the current node or a child/parent.

Alternatively we can simply render the current node as "Current PR" as a temporary fix. This runs the problem if being a little confusing for single stacked PRs as it would look something like this:

  • main
    • Current PR 👈

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions