Skip to content

feedback when importing DOT fails #22

Description

@brandly

looks like the error is swept under the rug with Result.withDefault GF.default

kite/src/Main.elm

Lines 672 to 675 in a5c8fd6

fileContent
|> DotLang.fromString
|> Result.map GraphFile.DotLang.Decode.fromDot
|> Result.withDefault GF.default

any ideas how to display this feedback? i mention this problem and proposed a "toast" system, which we'd have to build out. maybe that's worth doing. maybe there's something else we should do.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions