Comments (8)
Yes there is considerable overlap. The same UI can theoretically be used for both inline-edits, and quick actions, e.g.:
from gutenberg.
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.
Here's a version that groups some options together and utilises flyouts:
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:
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.
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.
This looks real interesting James!
from gutenberg.
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.
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.
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)
- Epic: 6.5 Microsite HOT 44
- Tracking issue: 6.5 Video Featurettes HOT 31
- Presets should show actual size as well
- [Mobile] Image block may display blank image HOT 2
- Styles panel content shift from "Browse styles" link HOT 4
- Font Library: Last font in default collection is obscured by dialog footer HOT 1
- MediaReplaceFlow: layout regression
- Component: The Snackbar auto-dismissal timeout is reset on every rerender
- Block Bindings: Improve accessibility for non-editable, bound fields HOT 8
- URLPopover: Long URL is not truncated
- Pattern override: individual binding attributes are saved in the pattern markup and don't auto-update HOT 5
- Add ancestor to the core blocks reference
- wp-block-code doesn't add proper spaces but unicode variants HOT 1
- Displaying Dynamic text HOT 2
- Epic: 6.5 Social Media Assets HOT 19
- Switch out the `gradle/gradle-build-action` in favor of `gradle/actions/setup-gradle`
- Button: Focus outline is too thick in disabled Primary variant
- EditTemplatePartMenuItem: Uncaught TypeError: Cannot destructure property 'params' of 'useLocation(...)' as it is undefined. HOT 6
- Blocks: Introduce 'getBlockIcon' and 'getBlockTitle` selectors HOT 7
- Image block invalidation error. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gutenberg.