Skip to content

[EuiInlineEdit] Creating the EuiInlineEdit Component #3928

Closed

Description

@jloleysens

In the Ingest Node Pipelines plugin in Kibana (Home > Stack Management > Ingest Node Pipelines) there is a component that provides an "in-place" or "inline" text editing UX. Specifically when editing a pipeline (see gif).

This component/behaviour seems well suited to living in EUI and should have an accompanying style guide explaining where it can be useful.

For instance, a capability like this can help make certain editing experiences more streamlined while not cluttering up the UI with text boxes or sending users through multiple clicks to edit a value. This is different to the more typical flow of see a thing, click to expand the details, then click edit. Only then is the user presented with a text field to enter or edit a value.

At an implementation level, this could be part of the existing text field component and simply be a prop that gets set to adapt the appearance.

Gif

Aug-17-2020 11-15-21

Activity

  1. self-assigned this
    on Sep 18, 2020
  2. github-actions commented on Mar 20, 2021

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  3. added
    stale-issue
    on Mar 20, 2021
  4. myasonik commented on Mar 22, 2021

    @myasonik
    Contributor

    ++ If Elastic products are going to have this type of pattern, would love to see it handled in EUI because I worry about individual implementation a11y

  5. removed
    stale-issue
    on Mar 22, 2021
  6. hbharding commented on Aug 2, 2022

    @hbharding
    Contributor

    I noticed we do this in a few places in Observability. It looked a little off to me, so I decided to mock up a concept of what this could look like. Perhaps we could have an editable wrapper like this for EuiTitle and EuiText.

    GIF
    Kapture 2022-08-02 at 11 04 46

    Figma
    image

    Explortatory view GIF

    Kapture 2022-08-02 at 11 42 06

  7. elizabetdev commented on Aug 2, 2022

    @elizabetdev
    Contributor

    There is also a request for in-place title editing in tabs: #6066 (comment)

    Something to note that isn't completely reflected in this early design is that we'd like to have as much of the behaviour inline as possible. As in, the naming / editing of tabs, rearranging, deleting etc.

  8. ThomThomson commented on Dec 14, 2022

    @ThomThomson
    Contributor

    This is such a cool component! Another use case that could be helpful for this is allowing the user to change the title of a visualization when editing it in Lens. The breadcrumb itself could become editable using this component.

    elastic/kibana#140637 (comment)

  9. MichaelMarcialis commented on Dec 14, 2022

    @MichaelMarcialis
    Contributor

    Hey, gang! Is this inline editing component something that's been prioritized for development by the EUI team? Or is it still in the spec definition/discussion phase? I could swear that I heard somewhere that this was being worked on, I could be misremembering. This proposed component came to mind in discussions I was in with the visualization and dashboard teams regarding whether we could perform inline editing on things like visualization titles, legend labels, etc.

  10. 2 remaining items

  11. changed the title [-][Discuss] "In-place" text editing UX[/-] [+][EuiInlineEdit] Creating the `EuiInlineEdit` Component[/+] on Jan 19, 2023
  12. added
    meta
    on Apr 3, 2023
  13. changed the title [-][EuiInlineEdit] Creating the `EuiInlineEdit` Component[/-] [+][Meta][EuiInlineEdit] Creating the `EuiInlineEdit` Component[/+] on Apr 3, 2023
  14. changed the title [-][Meta][EuiInlineEdit] Creating the `EuiInlineEdit` Component[/-] [+][EuiInlineEdit] Creating the `EuiInlineEdit` Component[/+] on Apr 3, 2023
  15. removed
    meta
    on Apr 3, 2023
  16. breehall commented on May 16, 2023

    @breehall
    Contributor

    Development is rapidly coming to a close on EuiInlineEdit. Here are a few things that should happen after Inline Edit has merged into main.

    ✨ What's Up Next?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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