-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation Improvements #74
Comments
As much as it wouldn't and shouldn't happen for sites with large (10+) numbers of collections, it would be extremely useful to be able to surface collections as part of the main navigation, to avoid having to dig into the collections page every time you want to access arguably the most highly-trafficked part of any CMS's control panel - the actual content. Maybe a configuration setting could be added to provide an array of collections to "pin" to the main navigation if the site admin so chose, so that the X most important collections are a single click away? Might be a little cumbersome to work with, but it avoids the control panel having to make guesses about what the user wants, and avoids cluttering the navigation by default. |
I like that the listing of content and the creation of new content types is so close in the UI on one page. I can click Collections and click the Create Collection button easily. It's also uniform that Create Collection and Create Entry are in the same place on the page. For creating content types, I prefer not having to go to a separate 'Settings' page to create all content types, but that would be one solution. Currently, you have to click Collections and only then you get the exact same listing in the sidenav and listing area. An idea would be to get rid of the intermediate listing pages (Ex. /cp/collections) that really only add the Create button and entry totals. You'd have to work out where the Create button goes like into the sidenav listing, a sidenav dropdown next to each CONTENT type, or a separate settings page, plus you'd need to make the display of sidenav listings toggleable as you wouldn't want to see all listings all the time. Sidenote: I'd recommend adding entry totals to each listing page. |
Honestly, that would be absolutely perfect. Elegant, flexible, and reduces
friction for clients hugely.
On Fri, 31 Jan 2020 at 8:45 pm, Jack McDade ***@***.***> wrote:
What if we supported pinning collections, taxonomies, and global sets to
the top of the nav? Would that alone make enough difference?
[image: image]
<https://user-images.githubusercontent.com/44739/73573141-9fee1f00-4440-11ea-9b6c-dcb672bd0256.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#74?email_source=notifications&email_token=AN7C6N44AV472CNVCNTFYADRASEVTA5CNFSM4KOJRUI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKP6LPY#issuecomment-580904383>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN7C6N4ERGZMIBMS5T6M3N3RASEVTANCNFSM4KOJRUIQ>
.
--
Peter Hicks
Shopify Consultant
// THE INGREDIENTS TO SUCCESS
Email // [email protected]
Telephone // 0161 883 1252 <//+441618831252>
Web // ayko.com <https://www.ayko.com/>
[image: Magento Enterprise Solution Partner] [image: 29 Magento 2 Certified
Developers] [image: Magneto Contributor] [image: Google Partner] [image:
Microsoft Advertising Partner]
The information transmitted by this email is intended only for the person
or entity to which it is addressed. This email may contain proprietary,
business-confidential and/or privileged material. If you are not the
intended recipient of this message, be aware that any use, review,
retransmission, distribution, reproduction or any action taken in reliance
upon this message is strictly prohibited. If you received this in error,
please contact the sender and delete the material from all computers.
|
Just a note that you can already pin a specific collection/taxonomy/etc. to the favorites in the search bar, though it's not as in-your-face as pinning to the nav itself. |
Right, though at best you're still 2 clicks away (but no refresh), and those are per-user instead of global. |
Pinning, as shown above, would make a big difference. Especially from the client perspective! Just thinking about the edge case, if there is only 1 or 2 collections (like blog or news). To repeat myself: Pinning would be great! |
I'm missing the "Save and add new entry" link, which add a new entry to the current depth. After adding an entry, now, i always have to go back and click for a new entry. If you work with multiple blueprints per collection and want to add a new child, you can't choose the blueprint. It's always the default. If you add a new entry with the button at the top, you can choose the blueprint, but than you have to order the entry to the correct position. //Edit |
@Pfeifakopf Yeah that's a completely separate issue that's actually already open: statamic/cms#675 :) |
When creating a new page from within collections, the nav on left side always switches to structures, once a new page has been saved. |
@goellner thats gonna change when replace structures with the nav builder. |
So structures are getting renamed basically? |
Structures will be a "behind-the-scenes" feature. A discussion for a different thread though. |
Are you guys still considering tweaking this? If so I'm happy to PR a basic implementation for you to play with. I ran into this today and it was very little code to change to just always show all the children: // in CP/Navigation/Nav.php, line 150
->filter(function ($item) {
- return is_callable($item->children()) && $item->isActive();
+ return is_callable($item->children());
}) // in resources/views/partials/nav-main.blade.php, line 15
- @if ($item->children() && $item->isActive())
+ @if ($item->children()) Could easily be made configurable with a config option like |
@bakerkretzmar The reason why children are within closures and only shown when the item is active is for query-related performance reasons. I think we're considering the pinnable collections/taxonomies/globals/etc thing Jack mentioned though. |
@jesseleite yep, makes sense. Are you open to letting users override it if they don't mind the performance ding? Maybe on a per-top-level-menu-item basis, so they could just do Collections for example? |
I see this has been closed but can't work out why. e.g. still no way to easily restore the top-level "Pages" nav item like v2? |
I wasn't around for v2 but I can say that using v3 this is definitely a sticking point that's come up when I try to explain the CP to users. At some point, I'm going to say to a user that that pages collection "is special" to which they invariably ask, "so why does it look like all of the others?" The pinning idea sounds good to me. For now my workaround is to do |
Not really sure why this was closed. 🤔 |
From a end-user's point of view, the term 'Collection' is alien to them when editing a website. 'Content' is fine, but then they would expect to see things like Pages, Blog, Gallery for example directly under that. |
I think the discussed pinning feature would make a huge difference in usability and just wanted to encourage you to pick @jackmcdade's proposal up again. However I think the best solution would be if all elements within the nav could be arranged freely via drag and drop and the whole navigation could be treated in a way similar to how columns are treated in a But short-term I would also happily take the pinning feature, that just puts everything at the top 😃 |
I like the idea of @el-schneider. I would also prefer a more dynamic solution. Let's say you have an SEO global. I would like this global to be its own nav item and remove it from the Globals nav and listing. I come across this issue all the time when building addons. I don't want to build my own addon views and figure out how to save content. I simply want to hook into collections, taxonomies, globals, etc. But the addon deserves its own dedicated nav items or even nav group. Take the Aardvark SEO as example. |
I'll third the ideas of @el-schneider and @aerni. Being locked into the default sidebar structure is a big sticking point for me about Statamic. I constantly run into problems deciding between whether something should be a Collection or a Taxonomy. The difference shouldn't be something an end user needs to understand. Sometimes a group of content might have the functionality of a taxonomy, but it makes more sense when nested with other collections for end-users. Having free-form sidebar organization would be the perfect solution to this. Letting users customize it would be nice, but the ideal for me would be to save a configuration for each permissions group. |
FYI You can override the entire nav by creating a custom view. Create <nav class="nav-main" v-cloak>
<div class="nav-main-inner">
<h6>Content</h6>
<ul>
@php($url = cp_route('collections.show', 'pages'))
<li class="@if (request()->fullUrl() === $url) current @endif">
<a href="{{ $url }}">
<i>{!! Statamic::svg('collection') !!}</i><span>Pages</span>
</a>
</li>
</ul>
</div>
</nav> |
Co-authored-by: Jack McDade <[email protected]> Co-authored-by: Jason Varga <[email protected]> Closes statamic/ideas#512 Closes statamic/ideas#499 Closes statamic/ideas#153 Closes statamic/ideas#100 Closes statamic/ideas#74
Will be included in the new nav builder in 3.4. statamic/cms#6678 |
I've been putting quite a bit of thought into how we can improve the control panel's nav and organization. It feels like too many clicks to get to many of the things we do most often, and I'm not the only one who thinks so (#44, statamic/cms#1014).
Here are some factors that need to be considered in any reorganization:
I'd love to get some thoughts and suggestions from anyone who has the time to share.
The text was updated successfully, but these errors were encountered: