Skip to content

Profile: Profile Details module - Inline Edit component #193

Open
@nicksp

Description

@nicksp

A follow-up task for https://zube.io/x-team/xp-formerly-auto/c/1956

To facilitate the functionality development, we'll need a generic inline-edit component that will support onSave and onCancel custom callbacks to do respectively saving data and reverting it to the previous version. We should keep in mind it might be used for different unrelated fields on the admin dashboard, so it should be a generic one. Also, it would be great to support saving by clicking Enter and canceling edit mode by clicking Esc.

On one of the last projects I implemented a similar component and would like to share a recording of how it works:

2018-08-24 00.19.59.gif

It was implemented the way it replicates Trello's similar component, but for our purposes, we can simplify that. I can share the code if required 😄

@mccrodp Do we want to have similar Save/Cancel button when in edit mode? Or what are your expectations of in-edit mode?

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