Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build a basic "edit data" UI #5996

Open
maltenuhn opened this issue Jun 19, 2024 · 0 comments
Open

Build a basic "edit data" UI #5996

maltenuhn opened this issue Jun 19, 2024 · 0 comments
Assignees
Labels
Blocked Data Cartouches, tracing etc

Comments

@maltenuhn
Copy link
Member

To complete the demo flow, we need a basic UI for updating data in external CMSes. There already is a context menu for this at least on a branch that invokes it.

Basic UI

  • A dialogue invoked by the context menu, where available (strings / renderable content only at first - i.e. no arrays)
  • Information about the data you're updating, and an input field to do so
  • Metadata, including any deep link to the UI (also available from the context menu)
  • the mock-up here is structural, use the standard patterns and components (you can use the existing data panel for reference)

Image

Image

Re the buttons:

  • validate is to validate the choice without applying it, in cases where the API provides for this. It could also retrieve additional metadata eg about usage ('this is being used on your production site' / 'this is being used in 20 places' etc)
  • where "validate" is not an option, use the label "confirm"
  • Only a validated or confirmed state lets you publish the update

After the confirm step
An option to publish the update, along with a standard warning message. The dialogue height changes deliberately to prevent double clicks; you need to use the mouse to do so

Image

Loading state
After requesting validation and publishing, wait until the operation has succeeded or failed. A failed operation should keep the dialogue open.

Image

@maltenuhn maltenuhn added Blocked Data Cartouches, tracing etc labels Jun 19, 2024
@bkrmendy bkrmendy mentioned this issue Jun 19, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Data Cartouches, tracing etc
Projects
None yet
Development

No branches or pull requests

3 participants