Skip to content

make the actions asynchronous #3

@tomoakley

Description

@tomoakley

When making requests to the CircleCI API, the requests should be asynchronous. Currently, when running a command such as :lua require('telescope').extensions.circleci.get_my_pipelines() to show the pipelines in Telescope, it takes a couple of seconds to show the window. Then when moving between pipelines in the Telescope picker, it takes a second or two to move due to the reuqest being made to get the workflow info for that pipeline. If these requests were async, the move would be instant but the preview pane would be blank for a second two (similar to how Octo.nvim does it) - or could have a loading UI/text. This would reduce the "laggy" feeling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions