backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

[META] [UX] Improve the overall creation and placement of custom blocks experience. #1277

Open klonos opened 9 years ago

klonos commented 9 years ago

If we implement #1276 (I think we should), we'll have the situation where advanced users know where to go and what to do with the created block. Not sure about newcomers though...

Previously, they would reach the create custom block form through the "Structure" menu. So chances are they've already noticed the "Layouts" menu item there and I guess they are more likely to go back looking for something related there that will point them to a part of the admin UI where they can use/place their new block. Anyways, this is about to change slightly - no biggie

So upon creation of a custom block, the user is taken to the list of custom blocks and there is a "custom block created" message. The operations available for each block in that listing are "configure" and "delete". There is room for UX improvement here:

  1. [Disclaimer: crazy idea!!] Perhaps add a "Add to a layout" action to the drop-button for custom blocks in the listing page (make it default?). This would open a "Select layout" dialog. Once the layout is chosen, the user is taken to a variation of the layout admin UI where the "Add block" buttons in each region are replaced with "Place block-name block here" buttons instead. Once the block is placed in a region, the layout admin UI switches back to "normal" mode and user can add more blocks or re-arrange as they see fit.
  2. Add something along the lines of "The new block is now available to be placed in any [layout](link-to-the-layout-admin-ui)." to that message. If we end up implementing my crazy idea above, we have the same steps available here (select layout -> "special" place-the-block layout UI variation -> place block in a region using the "Place block here" button -> switch to "normal" layout admin UI).
  3. Going the other way around, we could place a "Create new custom block" link in the "Add block" dialog of the layout admin UI.
  4. Convert the "Add block" button of each layout region to a drop-button with the default action still being "Add block" (opens the modal) but also add a secondary "Create new custom block" action. That would take the user to the add custom block form and upon block save, the block would be added to the layout region of the layout he was editing and the user redirected back to the respective layout edit form where they can re-arrange the newly added block.
  5. Would be nice to be able to filter the list of blocks on the "Add block" dialog by system/custom ones (checkboxes). It was ok when I tested with a single custom block (started typing its name on the search field), but the list of available blocks might get overwhelming if you have a considerable amount of them.
  6. Would also be nice to have a "Used in" column on the custom blocks list that shows layout/region information. This could be a link to the respective layout edit UI. Guessing there could be multiple layouts where a block might be used, so this way people can jump there.
klonos commented 9 years ago

...making this a META-issue. We can discuss and file separate issues for tasks that we decide to implement.

klonos commented 9 years ago

...better title. We don't want to emphasize on just the "custom block created" message. If anything should be emphasized, then that should be my crazy idea about selecting a layout and then a region. I came up with that while typing the issue and was initially listed as number 3 on the list.

docwilmot commented 9 years ago

We intend to get rid of custom blocks by the way, and I just pushed the PR for custom text blocks yesterday. So the custom block functionality can now be done entirely in Layouts once this goes in in 1.3.0.

A direct link from /admin/content to add a block sounds like a good idea too.

And number 6 could probably be done with https://github.com/backdrop/backdrop-issues/issues/449, although I still prefer that to be under layouts and not reports.

klonos commented 9 years ago

...I just pushed the PR for custom text blocks yesterday. So the custom block functionality can now be done entirely in Layouts once this goes in in 1.3.0.

Are you referring to https://github.com/backdrop/backdrop/pull/1092 ? You mean that people will fire an editor right within the layout UI for custom blocks?

And number 6 could probably be done with #449, although I still prefer that to be under layouts and not reports.

Yes, I know, that comprehensive list is going to provide a global overview of all blocks used on the site. That will be awesome, but I'd still like to have a strip-down version of that info (only layout/region) in each admin listing where this applies showing where each menu or custom block for example is used.

docwilmot commented 9 years ago

Are you referring to backdrop/backdrop#1092 ? You mean that people will fire an editor right within the layout UI for custom blocks?

https://github.com/backdrop/backdrop/pull/1096 actually, but yes, that.

klonos commented 9 years ago

Really want to give this a go to see how it looks/works, but no time :disappointed: ...this weekend perhaps.