tighten / nova-package-development

A forum for talking about the process of Nova Package Development
52 stars 2 forks source link

Nova Breadcrumb Package #48

Closed dillingham closed 5 years ago

bernhardh commented 6 years ago

Any news from this? Especially if you use the tab package, you will get lost very easy. For example:

image

Which article do I edit right now? Nobody knows, since the information is only available in the first tab "Allgemeines".

bernhardh commented 6 years ago

The relationship would be, that I don't see where I am, when not on the "main" tab, because only on main tab you would see the title/name of the article. If there would be a breadcrumb in the way you suggested, I would see "Home > Articles > $title > Edit" ("Home > Articles > My cool Article > Edit") and I would know on every tab, which article I am editing right know.

If I find out, how to do it, I will probably make a package for it.

bernhardh commented 6 years ago

I known, there is custom-index-toolbar and custom-detail-toolbar, but no custom-edit-toolbar, so that will not work ;)

bernhardh commented 6 years ago

there's a header one too

what does this mean?

nasrulhazim commented 5 years ago

Is it possible to have https://github.com/davejamesmiller/laravel-breadcrumbs to be implement in Nova? try to use in Nova, but no luck at the moment.

<?php 

use Laravel\Nova\Nova;

// Dashboard
Breadcrumbs::for('nova.index', function ($trail) {
    $trail->push(__('Dashboard'), url(Nova::path()));
}); 

Breadcrumbs::for('nova.', function ($trail, $view) {
    $trail->parent('nova.index');
    $trail->push(uriToTitle($view), url($view));
}); 

This is so far how I configure, but no luck display the breadcrumb correctly, Nova rely on VueJS. So I'm not really sure how to implement in VueJs from Laravel Breadcrumb package.

chris-ware commented 5 years ago

Fellow developers, I give to you Breadcrumbs: https://packagist.org/packages/chris-ware/nova-breadcrumbs

scaventum commented 4 years ago

Fellow developers, I give to you Breadcrumbs: https://packagist.org/packages/chris-ware/nova-breadcrumbs

Great package!

Is it possible to make breadcrumb run through relationship using this package? e.g. 1 character has many stories:

therefore the breadcrumb will be home \ characters \ character-01 \ story-01 \ ... or something similar