chris-ware / nova-breadcrumbs Goto Github PK
View Code? Open in Web Editor NEWBreadcrumbs for Laravel Nova
Breadcrumbs for Laravel Nova
I have installed Nova v2.1.1 today (fresh laravel and nova copy).
In the docs you write "Current Supported Nova Version: 2.1.1" so it should work, right? But I get
Your requirements could not be resolved to an installable set of packages.
Problem 1
- chris-ware/nova-breadcrumbs 1.2.3 requires laravel/nova >=2.0.0 <=2.1.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.2 requires laravel/nova >=2.0.0 <=2.1.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.1 requires laravel/nova >=2.0.0 <=2.0.11 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.0 requires laravel/nova >=2.0.0 <=2.0.9 -> no matching package found.
When a nova resource returns one or more cards (in its cards
method), it seems that on the resource index page, the breadcrumbs code is making a corresponding AJAX request like the following:
http://example.com/nova-api/my-resources/cards
Which results in a 404 error.
The JS error stack is as follows:
Unhandled promise rejection Error: "Request failed with status code 404"
exports https://example.com/vendor/nova/vendor.js?id=eaffe66c3a2800ae7df2:1
exports https://example.com/vendor/nova/vendor.js?id=eaffe66c3a2800ae7df2:1
l https://example.com/vendor/nova/vendor.js?id=eaffe66c3a2800ae7df2:1
nova-breadcrumbs:1:55090
t https://example.com/nova-api/scripts/nova-breadcrumbs:1
exports https://example.com/nova-api/scripts/nova-breadcrumbs:1
M https://example.com/nova-api/scripts/nova-breadcrumbs:1
l https://example.com/vendor/nova/vendor.js?id=eaffe66c3a2800ae7df2:1
l https://example.com/vendor/nova/vendor.js?id=eaffe66c3a2800ae7df2:1
a https://example.com/vendor/nova/vendor.js?id=eaffe66c3a2800ae7df2:1
TypeError: Cannot read property 'status' of undefined
at p. (nova-breadcrumbs:1)
at x (nova-breadcrumbs:1)
at Generator._invoke (nova-breadcrumbs:1)
at Generator.e. [as next] (nova-breadcrumbs:1)
at n (nova-breadcrumbs:1)
at nova-breadcrumbs:1
at new Promise ()
at new t (nova-breadcrumbs:1)
at p. (nova-breadcrumbs:1)
at p. (nova-breadcrumbs:1)
I was also wondering why the versioning is so strict in this package? Usually when you're in a 2.* version you should be safe to support that all the way through.
This broke my pagination at the bottom - it gave me only a disabled icon when hovering over the navigation arrows.
Also, I can't seem to install it on the latest Nova release. Here is the output when I try to install it
➜ website git:(master) ✗ composer require chris-ware/nova-breadcrumbs
Using version ^1.2 for chris-ware/nova-breadcrumbs
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- chris-ware/nova-breadcrumbs 1.2.9 requires laravel/nova >=2.0.0 <=2.6.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.8 requires laravel/nova >=2.0.0 <=2.5.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.7 requires laravel/nova >=2.0.0 <=2.4.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.6 requires laravel/nova >=2.0.0 <=2.3.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.5 requires laravel/nova >=2.0.0 <=2.3.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.4 requires laravel/nova >=2.0.0 <=2.2.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.3 requires laravel/nova >=2.0.0 <=2.1.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.2 requires laravel/nova >=2.0.0 <=2.1.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.13 requires laravel/nova >=2.0.0 <=2.9.2 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.12 requires laravel/nova >=2.0.0 <=2.9.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.11 requires laravel/nova >=2.0.0 <=2.8.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.10 requires laravel/nova >=2.0.0 <=2.7.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.1 requires laravel/nova >=2.0.0 <=2.0.11 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.0 requires laravel/nova >=2.0.0 <=2.0.9 -> no matching package found.
- Installation request for chris-ware/nova-breadcrumbs ^1.2 -> satisfiable by chris-ware/nova-breadcrumbs[1.2.0, 1.2.1, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
When activating nova-breadcrumbs in NovaServiceProvider
like described, the update buttons are getting broken on edit view:
They not only look broken, but you can't click them any more. No errors are shown in the browser console.
Commenting out
\ChrisWare\NovaBreadcrumbs\NovaBreadcrumbs::make(),
from NovaServiceProvider
and everything works fine again.
When I install this package. It appears to disable pagination links on index pages. Have you seen this behavior?
Before enabling \ChrisWare\NovaBreadcrumbs\NovaBreadcrumbs
in NovaServiceProvider.php
:
Hi Cris,
Great package so far!
Can you please guide me how to change the default styles attached on each breadcrump item list?
Thanks,
Mihai
Hi,
Is there a way to customize breadcrumb ? mostly for relations
Thanks
dont working on 2.1.0 can you delete higher version from composer
Currently, breadcrumbs are running via an analysis of the path and breaking them apart. What I'd like to achieve is storing the path down if it's a relationship of the resource.
on nova 2.0.8 using of plugin breaks forms
[Vue warn]: Unknown custom element:
Currently breadcrumbs aren't shown on the Lens view, maybe this should be rectified.
With breadcrumbs enabled, readonly doesn't work on BelongsTo. Thought it was a Nova bug, laravel/nova-issues/issues/1637, but it was this package. As soon as this package is disabled, readonly works.
Fields\BelongsTo::make('Description, 'product', Product::class)
->readonly(static function ($request) {
return $request->isUpdateOrUpdateAttachedRequest();
});
Have you thought about possibility of using the label() or singularLabel() instead of the title ?
I've just updated Nova to version 2.1.1 and composer update now throws me a 'cannot resolve' error:
chris-ware/nova-breadcrumbs 1.2.3 requires laravel/nova >=2.0.0 <=2.1.1 -> no matching package found
repeated for versions down to 1.2.0. I've confirmed the installed version of Nova is 2.1.1.
I can't see why it won't recognise the Nova 2.1.1 that's installed, so I must be missing something (probably obvius - I'm not a composer expert). Can you point me in the right direction? Thanks.
Hello 👋🏼
This package assumes that the ID is an integer by checking for NaN
here to decide if it's the link to the resource index or detail. This doesn't work if you use UUID's for example. I think it would be better to do an equality check with the ID from the Nova API or turn it around and check if the link is the resource index and if it's not it's the resource.
I wanted to create a PR for this but couldn't get the local build to work, maybe because of the custom webpack config. Go the following error:
ERROR in /node_modules/babel-loader/lib?{"cacheDirectory":true,"presets":[["env",{"modules":false,"targets":{"browsers":["> 2%"],"uglify":true}}]],"plugins":["transform-object-rest-spread",["transform-runtime",{"polyfill":false,"helpers":false}]]}!./node_modules/vue-loader/lib/selector.js?type=script&index=0!/vendor/laravel/nova/resources/js/views/Dashboard.vue
Module build failed: TypeError: this.setDynamic is not a function
Do you have any instructions to set up it up locally?
I'm using https://github.com/eminiarts/nova-tabs on some of my forms. This does not work well with this package.
Expected: Home / <resource_name> / <specifc_resource> / Edit
Currently: Home / / / Edit
Hey there - n00b question. :) How can I update this package? I'm trying to just make this tweak, to get the breadcrumbs not to show up on the Dashboard page:
<nav v-if="crumbs.length > 1">
I'm running 'npm run watch' in my root directory & it's not seeing the change. How can I make the change register?
Thanks!
After installation, this errors appears.. and the indexpage isn't loading..
i am on laravel 5.8 and nova 2.4
Hi,
I'm updating my Laravel Nova to 2.9.2 and then tried to execute an update which resulted on errors about the version compatibility between nova-breadcrumbs and nova.
So, to have success on installing Nova 2.9.2, I removed nova-breadcrumbs and then executed a 'composer update' and then Nova 2.9.2 was successfully installed.
My next step was to restore nova-breadcrumbs but I received the same error messages from my previous attempt:
newton@newton-VirtualBox:~/git/laravel/nova/galileo$ composer.phar require chris-ware/nova-breadcrumbs
Using version ^1.2 for chris-ware/nova-breadcrumbs
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- chris-ware/nova-breadcrumbs 1.2.9 requires laravel/nova >=2.0.0 <=2.6.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.8 requires laravel/nova >=2.0.0 <=2.5.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.7 requires laravel/nova >=2.0.0 <=2.4.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.6 requires laravel/nova >=2.0.0 <=2.3.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.5 requires laravel/nova >=2.0.0 <=2.3.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.4 requires laravel/nova >=2.0.0 <=2.2.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.3 requires laravel/nova >=2.0.0 <=2.1.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.2 requires laravel/nova >=2.0.0 <=2.1.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.13 requires laravel/nova >=2.0.0 <=2.9.2 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.12 requires laravel/nova >=2.0.0 <=2.9.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.11 requires laravel/nova >=2.0.0 <=2.8.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.10 requires laravel/nova >=2.0.0 <=2.7.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.1 requires laravel/nova >=2.0.0 <=2.0.11 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.0 requires laravel/nova >=2.0.0 <=2.0.9 -> no matching package found.
- Installation request for chris-ware/nova-breadcrumbs ^1.2 -> satisfiable by chris-ware/nova-breadcrumbs[1.2.0, 1.2.1, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9].
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.
newton@newton-VirtualBox:~/git/laravel/nova/galileo$ composer.phar require chris-ware/nova-breadcrumbs:1.2.12
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for chris-ware/nova-breadcrumbs 1.2.12 -> satisfiable by chris-ware/nova-breadcrumbs[1.2.12].
- chris-ware/nova-breadcrumbs 1.2.12 requires laravel/nova >=2.0.0 <=2.9.0 -> no matching package found.
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.
I suppose that composer is not checking correctly the version order:
[1.2.0, 1.2.1, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9]
I think this package is preventing my nova from updating. It says ChrisWare\NovaBreadcrumbs requires <2.2
Need to update composer.json requirements
Hi!
I try to install package with Laravel Nova 2.9.2, but every time I'm getting error:
composer require chris-ware/nova-breadcrumbs
Using version ^1.2 for chris-ware/nova-breadcrumbs
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- chris-ware/nova-breadcrumbs 1.2.9 requires laravel/nova >=2.0.0 <=2.6.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.8 requires laravel/nova >=2.0.0 <=2.5.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.7 requires laravel/nova >=2.0.0 <=2.4.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.6 requires laravel/nova >=2.0.0 <=2.3.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.5 requires laravel/nova >=2.0.0 <=2.3.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.4 requires laravel/nova >=2.0.0 <=2.2.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.3 requires laravel/nova >=2.0.0 <=2.1.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.2 requires laravel/nova >=2.0.0 <=2.1.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.13 requires laravel/nova >=2.0.0 <=2.9.2 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.12 requires laravel/nova >=2.0.0 <=2.9.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.11 requires laravel/nova >=2.0.0 <=2.8.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.10 requires laravel/nova >=2.0.0 <=2.7.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.1 requires laravel/nova >=2.0.0 <=2.0.11 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.0 requires laravel/nova >=2.0.0 <=2.0.9 -> no matching package found.
- Installation request for chris-ware/nova-breadcrumbs ^1.2 -> satisfiable by chris-ware/nova-breadcrumbs[1.2.0, 1.2.1, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9].
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Installation failed, reverting ./composer.json to its original content.
Any help?
Nova 2.0.5
Laravel 5.8.18
https://nova.laravel.com/docs/1.0/resources/#pagination (simple style)
Laravel Nova pagination will stop to work after pressing a back/forward button once. It will continue to show a disabled icon.
When i disable this tool in my NovaServiceProvider, everything works.
Same issue as (but that one is closed) #16
This package makes the components load twice. Can you merge the PR from gaabora?
Would love to keep using this package.
For some reason this changes the applied CSS classes to the Index view search field:
Without breadcrumbs: "appearance-none form-control form-input w-search pl-search"
With breadcrumbs: "appearance-none form-search w-search pl-search shadow"
The bolded class names do not appear anymore, and the italicized class names are injected.
This squishes the height of the search field (but only on the Index view).
There are duplicating get-fields queries when creating/editing resource (users, for example)
/nova-api/users/creation-fields x2 AJAX requests when creating
/nova-api/users/{resourceId} x2 AJAX requests when editing
Problem 1
- chris-ware/nova-breadcrumbs 1.2.7 requires laravel/nova >=2.0.0 <=2.4.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.6 requires laravel/nova >=2.0.0 <=2.3.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.5 requires laravel/nova >=2.0.0 <=2.3.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.4 requires laravel/nova >=2.0.0 <=2.2.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.3 requires laravel/nova >=2.0.0 <=2.1.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.2 requires laravel/nova >=2.0.0 <=2.1.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.1 requires laravel/nova >=2.0.0 <=2.0.11 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.0 requires laravel/nova >=2.0.0 <=2.0.9 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.7 requires laravel/nova >=2.0.0 <=2.4.0 -> no matching package found.
- Installation request for chris-ware/nova-breadcrumbs ^1.2 -> satisfiable by chris-ware/nova-breadcrumbs[1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7].
This is what I have on index:
The second item is in English and the translation is not working. The package is using the resource name in english, instead of the label. This problem is also in the create page.
But in the others views: edit and detail, it is working nice (everything in spanish):
Great package!
Something weird I fix in CustomCreate
on nova 2.0.11 relationResponse does not contain singularLabel any more tho?
this.singularName = (!this.$refs.rview.resourceInformation.singularLabel && this.$refs.rview.relationResponse)
? this.$refs.rview.relationResponse.singularLabel
: this.$refs.rview.resourceInformation.singularLabel
I could not install the package as it is throws error. I am using NOVA 2.2.0. Here I show my error
`Your requirements could not be resolved to an installable set of packages.
Problem 1
- chris-ware/nova-breadcrumbs 1.2.6 requires laravel/nova >=2.0.0 <=2.3.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.5 requires laravel/nova >=2.0.0 <=2.3.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.4 requires laravel/nova >=2.0.0 <=2.2.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.3 requires laravel/nova >=2.0.0 <=2.1.1 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.2 requires laravel/nova >=2.0.0 <=2.1.0 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.1 requires laravel/nova >=2.0.0 <=2.0.11 -> no matching package found.
- chris-ware/nova-breadcrumbs 1.2.0 requires laravel/nova >=2.0.0 <=2.0.9 -> no matching package found.
- Installation request for chris-ware/nova-breadcrumbs ^1.2 -> satisfiable by chris-ware/nova-breadcrumbs[1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6].
Potential causes:
Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
`
Why highest version limited to 2.0.9 it has 2.0.11 now ? can you delete it from composer.json @chris-ware
Works fine on details page, but when accessing index page of a resource, it throws in console:
TypeError: Nova.missingResource is not a function
Nova version: v1.1.3
nova-breadcrumbs: 0.7.1
When i load a slow / large resource, there's already a placeholder for the breadcrumbs.
Would be nicer if breadcrumbs are hidden (with css visibility) until resource is fully loaded.
The installation instructions use "laravel/nova": "*",
as version when installing from zip. This seems to break updates of this package now that version constraints were put in place:
# composer update chris-ware/nova-breadcrumbs
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for chris-ware/nova-breadcrumbs ^1.0.2 -> satisfiable by chris-ware/nova-breadcrumbs[1.0.2].
- chris-ware/nova-breadcrumbs 1.0.2 requires laravel/nova >=2.0.0 <=2.0.5 -> no matching package found.
Is there a way around this without switching to a composer-based Nova install?
Hey,
thank you for this great package, I really appreciate your work and would like to note a problem I have with it. When working with a HasMany relationship of a resource the breadcrumb path will not work anymore.
For example, when I've got a resource called "Customer" and a single customer should be able to save multiple addresses.
When editing the customer I get the following path: Home / Customer / {CustomerID} / Edit
When I'm creating a new address for this user I get the following path: Home / Address / New instead of Home / Customer / {CustomerID} / Adress / New
Is there any way to fix it?
Thank you for your help.
Thanks a lot for this package. It works great. I am still having a bit of trouble to get this to work on the Attach and AttachUpdated screens of the resource. Is there any specific configuration required in addition to using the trait?
When I go to the Attach (HasMany, HasOne relations) and AttachUpdated screens, it only shows me Home / Attached Resource / Attached Resource Title
instead of Home / Resource / Attached Resource / Attached Resource Title
. How do I get this to work?
http://prntscr.com/nlydyq
It's my composer.json
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.1.3",
"alfonsobries/nova-froala-editor": "^1.0",
"alvinhu/nova-child-select": "^1.0",
"arrilot/laravel-widgets": "^3.12",
"barryvdh/laravel-ide-helper": "^2.5",
"benjaminhirsch/nova-slug-field": "^1.2",
"bissolli/nova-phone-field": "^0.0.1",
"chris-ware/nova-breadcrumbs": "^1.0",
"cloudstudio/resource-generator": "^1.1",
"coderello/laravel-nova-lang": "^1.0",
"custom/select": "",
"cviebrock/eloquent-sluggable": "^4.6",
"dinandmentink/nova-markdown": "^0.1.0",
"ebess/advanced-nova-media-library": "^2.2",
"enmaboya/nova-russian-datepicker": "",
"fideloper/proxy": "^4.0",
"halimtuhu/array-images": "dev-master",
"infinety-es/nova-filemanager": "^2.0",
"infinety-es/nova-menu-builder": "^1.0",
"jenssegers/agent": "^2.6",
"johnathan/nova-trumbowyg": "^1.0",
"laravel/framework": "5.8.",
"laravel/nova": "",
"laravel/socialite": "^4.1",
"laravel/tinker": "^1.0",
"laravelium/sitemap": "3.1.",
"mdixon18/fontawesome": "^0.1.0",
"media24si/nova-youtube-field": "^1.0",
"ogecut/JsonViewer": "",
"ogecut/ajax-select": "",
"qcod/laravel-imageup": "^1.0",
"sbine/route-viewer": "^0.0.5",
"sidorenkoda/nova-custom": "",
"silvanite/novatoolpermissions": "^1.0",
"socialiteproviders/vkontakte": "^4.0",
"spatie/laravel-medialibrary": "^7.5",
"spatie/nova-backup-tool": "^1.1",
"timothyasp/nova-color-field": "^1.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"beyondcode/laravel-dump-server": "^1.0",
"doctrine/dbal": "^2.9",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"jeroen-g/laravel-packager": "^2.1",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"repositories": [
{
"type": "path",
"url": "./nova"
},
{
"type": "path",
"url": "./nova-components/NovaCustom"
},
{
"type": "path",
"url": "./nova-components/Select"
},
{
"type": "path",
"url": "./nova-components/AjaxSelect"
},
{
"type": "path",
"url": "./nova-components/nova-russian-datepicker"
},
{
"type": "path",
"url": "./nova-components/JsonViewer"
}
],
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"psr-4": {
"Ogecut\FormsStorage\": "packages/Ogecut/FormsStorage/src",
"Ogecut\FavoriteStore\": "packages/Ogecut/FavoriteStore/src",
"App\": "app/"
},
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"Ogecut\FormsStorage\": "packages/Ogecut/FormsStorage/src",
"Ogecut\FavoriteStore\": "packages/Ogecut/FavoriteStore/src",
"Tests\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
]
}
}
Custom Header views are now available in Nova 2.7.0 in all Views, apparently, according to the release notes. This will remove the need to total overwrite of routes and views and instead, solely use passed data.
Suggested to shift to new major version on release.
Chris, thanks so much for your work on this package! We are currently using it on a project and it is indispensable.
I was wondering if it would be possible to override the URL that's created for the resource Label portion of the Breadcrumb.
For example, given: Home / User / 12345
could we customize the URL for "User"? The reason I'm asking is because we have Nova working in sort of a multi-tenant environment. When a user clicks on the "User" breadcrumb, we only want to take them to the users for their company, and not the entire table of users in the database. Any advice on how to modify the URL so that we can send the user to a lens or specific view would be greatly appreciated!
Anthony
Issue confirmed when on Index view, label() isn't being taken into effect
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.