← 输入框|github.com|刷新
Skip to content

Web console: display pipeline id #505

Closed

Description

@ryzhyk

The user needs to know pipeline id to interact with it via the Rest API, e.g., send data with curl. Currently, it needs to be extracted from the URL in the browser or from the log. It would be nice to show it inside the UI.

Activity

  1. gz commented on Aug 17, 2023

    @gz
    Contributor

    we should probably put it in configuration here:
    image

  2. ryzhyk commented on Aug 17, 2023

    @ryzhyk
    ContributorAuthor

    This was my first instinct, but the config is only displayed when the pipeline is running.

  3. gz commented on Aug 17, 2023

    @gz
    Contributor

    for most of the REST/CURL things you would do, e.g., to send data you'd need pipeline running so this should be fine if only visible then?

    (we could also make it a hidden column in the table that can be enabled (always show it seems a bit noisy as the id's are quite long))

  4. ryzhyk commented on Aug 17, 2023

    @ryzhyk
    ContributorAuthor

    Perhaps it could also be displayed in the pipeline builder?

  5. gz commented on Aug 17, 2023

    @gz
    Contributor

    in builder you can just grab it from URL I think that's acceptable?

    the thing with displaying it in the builder is that there is a time (when the pipeline doesn't exist yet) where there is no id for it yet (until the first time it's saved) so then it would suddenly pop-up.. not terrible, but also not great IMO

    I am not sure putting IDs everywhere in the UI is the way to go -- ideally the point of the UI should be to reduce some complexity (for one thing you don't have to deal with IDs), so putting ids back everywhere defeats the purpose a bit, of course there is a fluent boundary between UI usage and CURL/SDK usage but I think it's ok to expect some "advanced" skills like reading a ID from a URL or from the config tab (or use REST to query by name to find it the id) if one wants to use the REST API

  6. ryzhyk commented on Aug 17, 2023

    @ryzhyk
    ContributorAuthor

    fair enough

  7. added a commit that references this issue on Aug 17, 2023
    1f28f27
  8. assigned and unassigned on Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Web ConsoleRelated to the browser based UI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions