Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Create the content menu #19

Open
ckrina opened this issue Jul 6, 2023 · 2 comments
Open

Create the content menu #19

ckrina opened this issue Jul 6, 2023 · 2 comments

Comments

@ckrina
Copy link
Contributor

ckrina commented Jul 6, 2023

Description

We are adding a content menu to the toolbar. The goal of this menu is to improve the usability for content editors/authors. The plan is to include this menu in the second phase of the toolbar changes, but we are including this on the prototypes so we can foresee any future usability problems.

Drupal.org issue - https://www.drupal.org/project/ideas/issues/3203618

Activities in this ticket

  • Same as in #15 , create a component that shares the same markup Drupal creates by default when you place a menu as a block. See block--system-menu-block.html.twig as example. Example code:
<nav id="this-menu-id" class="" aria-labelledby="title-id" role="navigation">
 <h2 class="" id="title-id">Administration menu</h2>
 <ul class="">
       <li class=""><a >Link text</a></li>
 </ul>
</nav>

Image

Use the content from the screenshot as example:

  • Add a heading
  • Add links with their own icons
  • Add a “Create" button with icon (this is not standard from Drupal, so we have the freedom to choose the wrapper markup and classes, but it can't be a button: it needs to be a link because it's not in a form) )
  • Same as the other tickets for now, the styles are not important yet.
@sveta1x
Copy link
Contributor

sveta1x commented Jul 6, 2023

Here is my PR, please check it when you have time

@sveta1x sveta1x assigned ckrina and unassigned sveta1x and ckrina Jul 6, 2023
@sveta1x
Copy link
Contributor

sveta1x commented Jul 7, 2023

approved, merged

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants