GithubHelp home page GithubHelp logo

Comments (8)

jameskoster avatar jameskoster commented on June 15, 2024 2

Yes there is considerable overlap. The same UI can theoretically be used for both inline-edits, and quick actions, e.g.:

reuse

from gutenberg.

jameskoster avatar jameskoster commented on June 15, 2024 1

We could probably omit the repetitive 'Edit...' prefix 👍 The argument to keep each action separate is that they can all be invoked from different flows, e.g.: clicking the values in the table row (inline editing), or bulk actions. Some (like swapping the template) can be invoked from the main document inspector in edit mode too. So it's a case of reusing as much as possible to establish consistency across.

That said, grouping could potentially work similar to wp-admin (albeit with a more considered design). IE a single "Quick edit" action that opens a modal containing all the document meta.

Alternatively the quick actions menu itself might be organised to make use of flyouts. I'll try a couple of mockups.

from gutenberg.

jameskoster avatar jameskoster commented on June 15, 2024 1

Here's a version that groups some options together and utilises flyouts:

page quick actions

This feels like a contextual menu and works well imo. The same menu could be revealed when right-clicking a row.


Here's a mockup encapsulating all quick-edit options in a modal, similar to editor preferences:

modal

The modal approach provides much more room for manoeuvre per section, but I'm not sure they really need it. The flows that require a modal (changing publish date, template, etc.) would make use of one regardless.

from gutenberg.

jasmussen avatar jasmussen commented on June 15, 2024

An immediate thought is that this is a lot of repeated instances of the word "Edit". A more expanded question is whether we can bunch these together as a single, or a few, grouped quick-edit instances. "Edit properties" or "Edit details", something in that vein.

from gutenberg.

paaljoachim avatar paaljoachim commented on June 15, 2024

This looks real interesting James!

from gutenberg.

jasmussen avatar jasmussen commented on June 15, 2024

Might work. Some of the answers might present themselves as we explore in a PR, but I just wonder if in some cases, a single modal opening from the menu, rather than navigating the dropdown, is easier.

from gutenberg.

jameskoster avatar jameskoster commented on June 15, 2024

I have a slight preference for discrete flows per action because it's more lightweight / reusable. But totally open to trying both approaches in a PR 👍

from gutenberg.

ntsekouras avatar ntsekouras commented on June 15, 2024

This issue is really connected to inline editing of fields, and should be addressed probably when we implement that. The goal is to define descriptions for fields, which will generate the editing of them.

from gutenberg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.