Skip to content
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

How to highlight package for Nova 4 #323

Open
scramatte opened this issue Dec 25, 2022 · 7 comments
Open

How to highlight package for Nova 4 #323

scramatte opened this issue Dec 25, 2022 · 7 comments

Comments

@scramatte
Copy link

Hello,

How can I highlight my packages for Nova 4?

regards

@RhysLees
Copy link
Contributor

RhysLees commented Dec 31, 2022

Hi, I contributed that feature!

You simply need to require a nova 4 version in your package for example in composer.json

{
  "name": "ideatocode/nova-tooltip-field",
  "description": "A Laravel Nova field to show additional data but not clutter the table.",
  "keywords": [
    "laravel",
    "nova"
  ],
  "license": "MIT",
  "require": {
    "php": "^7.3|^8.0",
+    "laravel/nova": "^4.0"
  },
}

@johnpaulmedina
Copy link

So I had a nova 4 requirement on require-dev as the Nova documentation indicates. Once I submitted the package it did not tag it as Nova4 support and after seeing this issue I bumped the patch version and switched the requirements but it still has not tagged it as Nova4.

I would recommend looking at the dev-requirements as well.

As well as on package version change trigger the support tag check once again.

@kaiserkiwi
Copy link

Hm… This doesn't to be the case. I have the following in my composer.json

"require": {
	"php": "^8.0",
	"laravel/nova": "^4.0"
},

But it doesn't get the badge.
https://novapackages.com/packages/kaiserkiwi/nova-queue-management

Is there anything I could do?

@wdelfuego
Copy link

Same here, just submitted (and then re-submitted to be sure) my new package, it has the laravel/nova requirement in composer.json, but no Nova 4 support tag is shown on the site.

Link to the relevant composer.json:
https://github.com/wdelfuego/nova-wizard/blob/main/composer.json

@kaiserkiwi
Copy link

I have to update here. I did nothing but now the badge is there. It probably needs some time to process this? It's odd, but my package is listed as Nova 4 package now.

@RhysLees
Copy link
Contributor

RhysLees commented Oct 17, 2023

I have to update here. I did nothing but now the badge is there. It probably needs some time to process this? It's odd, but my package is listed as Nova 4 package now.

It will take until the next time the package is fetched from packagist i believe

@wdelfuego
Copy link

Yep, happened to me too, the Nova 4 support tag was added overnight 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants