Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
block.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
7 Jun 2013 at 01:06 UTC
Updated:
29 Jul 2014 at 22:29 UTC
Jump to comment: Most recent file
This is a followup issue for #1875252: [META] Make the block plugin UI shippable. In that thread, discussion centered around making the block's UI "shippable", due to multiple UX issues.
An improved Block UI was proposed in #67 on the issue above. This UI merges the two existing block management pages into a single UI.
The main changes are that the two block screens are merged together, and the interface for adding a block is now a revealable accordion on the left side of the block placement interface.
This UI is outlined in https://projects.invisionapp.com/share/6AESEWGY#/screens/7279850.
| Comment | File | Size | Author |
|---|---|---|---|
| #24 | 2014191-24-block-ui.patch | 32.17 KB | xtfer |
| #8 | blocks.png | 85.79 KB | tkoleary |
Comments
Comment #1
xtfer commentedComment #2
xtfer commented@EclipseGC has sent me the Fireworks file for this work. I'm going to work on it in parallel with issues relating to the Block revisions UI.
#1984582: Add views support for custom blocks
#1984588: Add Block Content revision UI
Comment #3
tkoleary commented@xtfer @bojhan
Awesome! Bojhan and I have been discussing some minor changes to that design. He has a copy of the file as well and may have altered it already. I'm going to ping him in IRC and point him here so he can share the latest design.
Comment #4
jessebeach commentedAwesome @xtfer. Post patches often while you work and so we can iterate quickly on this issue.
Comment #5
xtfer commented@tkolery @bojhan
Yes, please do.
@jessebeach
No worries, will do. Haven't got anything yet. ;)
Comment #6
larowlanAlso related #1998698: Allow Dialog Controller to work with form/entity form routes
Comment #7
gábor hojtsy@xtfer: how is it going?
Comment #8
tkoleary commented@xtfer
Bojhan revised the design to apply the seven styles (from the new style guide) and removed the concept of the slide out drawer in favor of using the meta information paradigm already implemented in the content creation page.
I like the fact that this leverages an existing pattern and that it removes the need for new javascript. I am concerned that it may not scale but we can iterate on it as we go to mitigate that if it proves to be a problem, perhaps by introducing internal scroll into the categories if they exceed the length of the form.
Comment #9
gábor hojtsy@xtfer: are you using a sandbox to work on this? Are you still working on this? It is kind of important we get this done in the upcoming 2 weeks in case there are API changes needed to implement it (also to help validate the existing work from SCOTCH).
Comment #10
xtfer commentedI'm working on it, but its like untangling spaghetti. Hope to have something up tomorrow.
Comment #11
gábor hojtsyYay, looking forward to it!
Comment #12
yoroy commentedWoohoo! Didn't catch that this was spun off. I know we've been looking for more applications of the right sidebar as we introduced it on the create content screen. This looks like a very good candidate!
Comment #13
gábor hojtsy@xtfer: should we try to convince someone else to work on this?
Comment #14
xjmNote that the whole PluginUI business is currently only used by the block module and never underwent a thorough code review, and it's
probablyalmost certainly unnecessarily abstracted. We might need to mark it deprecated if we can't remove it entirely by code freeze, but ideally we should try to get this done in the next 10 days.Bumping to critical; this is release-blocking.
Comment #15
xtfer commented@Gábor Hojtsy: If someone else wants to, thats fine. I'm still going, just very busy. I'll post a WIP today.
Comment #16
xtfer commentedDropped the tag somehow...
Comment #17
gábor hojtsy@xtfer: you don't need to completely solve anything in the first patch :)
Comment #18
jessebeach commentedWIP is totally fine @xtfer! Each of us is an expert on some little part of Drupal. Sometimes it takes a village to build something complicated.
Comment #19
lewisnymanI have a bit of late feedback (I missed the shift to the new issue).
I'm not sure if moving the place block functionality from a modal to a sidebar is an improvement for three reasons:
Comment #20
lewisnymanAlso, I just realised that the dashboard module had the UI to solve this exact problem. Maybe we should just use that? :-)
Comment #21
Bojhan commented@Lewis The Dashboard UI was horrible, I don't think many people actually used that. The reason we are not using a modal is primarily because its moving the "add" functionality further away.
1. Yes, this is unavoidable and a sad downside of this solution.
2. Agreed, we should re title it.
3. This will actually work on mobile, because when you click a block - you will get a modal to configure it, this includes a region selector. This is also needed for a11y purposes. If the modal is mobile friendly, . the interaction itself will be mobile friendly
Comment #22
jessebeach commentedThe following interaction flows are not yet defined by designs (or I don't know where to find them):
If designs exist for these flows, please link to them in the issue summary.
I just had this thought that a placed block might be analogous to a view mode of an entity.
Comment #22.0
jessebeach commentedAdded a related issue
Comment #22.1
jessebeach commentedadded the list of forms
Comment #23
jessebeach commentedUpdating title to reflect the reduced scope of this issue. This will no longer be the "implement the Blocks UI" issue. That goal is too large and amorphous. Instead, we'll track the many sub-issues in #1875252: [META] Make the block plugin UI shippable and break the effort down into manageable chunks.
Comment #24
xtfer commentedSorry for the wait, I've been doing 12hr days this past week. Here's the WIP. I havent tested it to make sure its functional, just snapshotted it on top of today's HEAD.
If someone else wants to pitch in feel free, but I will try and find more time.
Comment #25
xtfer commented@jessebeach A lot of what you are looking for is covered by the invision mocked linked in the issue description, however yes this is basically just to rebuild the theme block interface.
Comment #26
yoroy commentedHeads up that #2029321: Provide list and form controllers for EntityViewMode and EntityFormMode is evolving to having a similar setup: a list of sections, where you can add stuff to each. Difference is you create new ones instead of adding existing ones (view modes in that case over there). Would be good to see if we should try and match these interactions or not. (The 'Add X' button for each section as in https://drupal.org/files/Layout.png would cover both?)
Comment #27
xjmNR for the bot, then we can set it back to NW. :)
Comment #29
xtfer commentedOuch. The predictable pain of failure.
Comment #30
jessebeach commentedDe-prioritzing and postponing on #2055853: [meta] Improve the place block UX; Separate interaction from the create block UX; Improve the existing blocks-by-theme layout, which is a much more narrow scope. After #2055853 is complete, we can reevaluate the further improvements we have time to layer in in this issue here.
Comment #31
xjmI actually feel that this is pretty much a duplicate at this point. If we want to add specific additional improvements following #2055853: [meta] Improve the place block UX; Separate interaction from the create block UX; Improve the existing blocks-by-theme layout, let's file them individually and track them in #1875252: [META] Make the block plugin UI shippable.
Comment #31.0
xjmremoved list of forms