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

Laravel Nova 5 #598

Merged
merged 69 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
99093aa
wip
crynobone Dec 3, 2024
8be92b9
wip
crynobone Dec 3, 2024
e50dc10
wip
crynobone Dec 3, 2024
d6407d7
wip
crynobone Dec 3, 2024
5bcca8e
wip
crynobone Dec 3, 2024
68b3f45
wip
crynobone Dec 3, 2024
bdd1153
wip
crynobone Dec 3, 2024
3a88ade
wip
crynobone Dec 3, 2024
7a44386
wip
crynobone Dec 3, 2024
252d39f
wip
crynobone Dec 3, 2024
d277608
wip
crynobone Dec 3, 2024
ab6b20d
wip
crynobone Dec 3, 2024
449f651
wip
crynobone Dec 3, 2024
3d7a644
wip
crynobone Dec 3, 2024
566ec32
wip
crynobone Dec 3, 2024
314e34d
wip
crynobone Dec 3, 2024
137ea91
wip
crynobone Dec 3, 2024
abcc8d0
wip
crynobone Dec 3, 2024
b13ce26
wip
crynobone Dec 3, 2024
756f2a9
wip
crynobone Dec 3, 2024
38de1c0
wip
crynobone Dec 3, 2024
a485a3a
wip
crynobone Dec 3, 2024
1f6c69e
wip
crynobone Dec 3, 2024
ba3ed41
wip
crynobone Dec 3, 2024
4ae026d
wip
crynobone Dec 3, 2024
c7fb01f
wip
crynobone Dec 3, 2024
da44b4f
wip
crynobone Dec 3, 2024
08fec80
wip
crynobone Dec 3, 2024
563d5fc
wip
crynobone Dec 3, 2024
4ce1d1c
wip
crynobone Dec 3, 2024
b5a78c0
wip
crynobone Dec 3, 2024
141db21
wip
crynobone Dec 3, 2024
25ec4ad
wip
crynobone Dec 3, 2024
f6294a2
wip
crynobone Dec 3, 2024
bcdc320
wip
crynobone Dec 3, 2024
9f7d98a
wip
crynobone Dec 3, 2024
5543dc0
wip
crynobone Dec 3, 2024
4eab086
wip
crynobone Dec 4, 2024
43021fb
wip
crynobone Dec 4, 2024
622ad37
wip
crynobone Dec 4, 2024
cc6ab2c
wip
crynobone Dec 4, 2024
37c475b
wip
crynobone Dec 4, 2024
a56ab37
wip
crynobone Dec 4, 2024
c708ee9
Merge remote-tracking branch 'upstream/main' into develop-mintlify
crynobone Dec 6, 2024
bb8833e
wip
crynobone Dec 6, 2024
62a8c4d
wip
crynobone Dec 10, 2024
8ed6cae
wip
crynobone Dec 10, 2024
2cd3ab1
wip
crynobone Dec 10, 2024
40ec39b
wip
crynobone Dec 10, 2024
fdf5f28
wip
crynobone Dec 10, 2024
56c7fad
wip
crynobone Dec 10, 2024
d508f45
wip
crynobone Dec 10, 2024
83a806f
wip
crynobone Dec 10, 2024
2648c7a
wip
crynobone Dec 10, 2024
ed196e6
wip
crynobone Dec 10, 2024
28e6b22
Revert deprecations
crynobone Dec 11, 2024
dae02e9
update auth section
taylorotwell Dec 12, 2024
4292663
working on release notes
taylorotwell Dec 12, 2024
c4b335e
working on upgrade guide
taylorotwell Dec 12, 2024
02b41c2
formatting
taylorotwell Dec 12, 2024
955a70a
cleaning
taylorotwell Dec 12, 2024
72a8f95
formatting
taylorotwell Dec 12, 2024
04de08f
working on fields
taylorotwell Dec 12, 2024
d3eb567
cleaning
taylorotwell Dec 12, 2024
cdc0927
formatting
taylorotwell Dec 12, 2024
249aaae
formatting
taylorotwell Dec 12, 2024
29cecb4
formatting
taylorotwell Dec 12, 2024
44dd7d0
Update docs regarding Tab group without title
crynobone Dec 13, 2024
783e6e4
fix conflict
taylorotwell Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/make-policy-command.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/pennant-component.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tab-panel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/user-security-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/user-security-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions advanced/api.md → kb/advanced/api.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Nova API Resources
---
title: 'API'
description: 'Advanced API Documentation'
---

[[toc]]
# Nova API Resources

<Note>

Expand Down
File renamed without changes.
File renamed without changes.
168 changes: 131 additions & 37 deletions mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"href": "https://nova.laravel.com"
},
"favicon": "/favicon.png",
"versions": ["v4", "v5"],
"background": {
"style": "windows"
},
Expand Down Expand Up @@ -52,7 +53,7 @@
"tabs": [
{
"name": "Documentation",
"url": "/"
"url": "/v5/"
},
{
"name": "Knowledge Base",
Expand All @@ -62,82 +63,175 @@
"navigation": [
{
"group": "Get Started",
"version": "v5",
"pages": [
"installation",
"releases",
"upgrade",
"support",
"code-of-conduct"
"v5/installation",
"v5/releases",
"v5/upgrade"
]
},
{
"group": "Resources",
"version": "v5",
"pages": [
"resources/the-basics",
"resources/fields",
"resources/date-fields",
"resources/repeater-fields",
"resources/relationships",
"resources/validation",
"resources/authorization"
"v5/resources/the-basics",
"v5/resources/fields",
"v5/resources/dependent-fields",
"v5/resources/date-fields",
"v5/resources/file-fields",
"v5/resources/repeater-fields",
"v5/resources/panels",
"v5/resources/relationships",
"v5/resources/validation",
"v5/resources/authorization"
]
},
{
"group": "Search",
"version": "v5",
"pages": [
"search/the-basics",
"search/global-search",
"search/scout-integration"
"v5/search/the-basics",
"v5/search/global-search",
"v5/search/scout-integration"
]
},
{
"group": "Filters",
"version": "v5",
"pages": [
"filters/defining-filters",
"filters/registering-filters"
"v5/filters/defining-filters",
"v5/filters/registering-filters"
]
},
{
"group": "Lenses",
"version": "v5",
"pages": [
"lenses/defining-lenses",
"lenses/registering-lenses"
"v5/lenses/defining-lenses",
"v5/lenses/registering-lenses"
]
},
{
"group": "Actions",
"version": "v5",
"pages": [
"actions/defining-actions",
"actions/registering-actions"
"v5/actions/defining-actions",
"v5/actions/registering-actions"
]
},
{
"group": "Metrics",
"version": "v5",
"pages": [
"metrics/defining-metrics",
"metrics/registering-metrics"
"v5/metrics/defining-metrics",
"v5/metrics/registering-metrics"
]
},
{
"group": "Digging Deeper",
"version": "v5",
"pages": [
"customization/dashboards",
"customization/menus",
"customization/notifications",
"customization/impersonation",
"customization/tools",
"customization/resource-tools",
"customization/cards",
"customization/fields",
"customization/filters",
"customization/frontend",
"customization/assets",
"customization/localization",
"customization/stubs"
"v5/customization/dashboards",
"v5/customization/menus",
"v5/customization/notifications",
"v5/customization/impersonation",
"v5/customization/tools",
"v5/customization/resource-tools",
"v5/customization/cards",
"v5/customization/fields",
"v5/customization/filters",
"v5/customization/frontend",
"v5/customization/assets",
"v5/customization/localization",
"v5/customization/stubs"
]
},
{
"group": "Get Started",
"version": "v4",
"pages": [
"v4/installation",
"v4/releases",
"v4/upgrade"
]
},
{
"group": "Resources",
"version": "v4",
"pages": [
"v4/resources/the-basics",
"v4/resources/fields",
"v4/resources/date-fields",
"v4/resources/repeater-fields",
"v4/resources/relationships",
"v4/resources/validation",
"v4/resources/authorization"
]
},
{
"group": "Search",
"version": "v4",
"pages": [
"v4/search/the-basics",
"v4/search/global-search",
"v4/search/scout-integration"
]
},
{
"group": "Filters",
"version": "v4",
"pages": [
"v4/filters/defining-filters",
"v4/filters/registering-filters"
]
},
{
"group": "Lenses",
"version": "v4",
"pages": [
"v4/lenses/defining-lenses",
"v4/lenses/registering-lenses"
]
},
{
"group": "Actions",
"version": "v4",
"pages": [
"v4/actions/defining-actions",
"v4/actions/registering-actions"
]
},
{
"group": "Metrics",
"version": "v4",
"pages": [
"v4/metrics/defining-metrics",
"v4/metrics/registering-metrics"
]
},
{
"group": "Digging Deeper",
"version": "v4",
"pages": [
"v4/customization/dashboards",
"v4/customization/menus",
"v4/customization/notifications",
"v4/customization/impersonation",
"v4/customization/tools",
"v4/customization/resource-tools",
"v4/customization/cards",
"v4/customization/fields",
"v4/customization/filters",
"v4/customization/frontend",
"v4/customization/assets",
"v4/customization/localization",
"v4/customization/stubs"
]
}, {
"group": "Knowledge Base",
"pages": [
"kb/support",
"kb/code-of-conduct",
"kb/faq",
"kb/invoices"
]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const driver = Nova.config('mail_driver');

### Localizations

Localization strings can be passed to the frontend via your `NovaServiceProvider`. To learn more, please consult the [full custom localization documentation](./../customization/localization#Frontend).
Localization strings can be passed to the frontend via your `NovaServiceProvider`. To learn more, please consult the [full custom localization documentation](./localization#frontend).

### Using Nova Mixins

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion installation.mdx → v4/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: 'Learn how to install Laravel Nova into your Laravel application.'
Purchase a license for Laravel Nova
</Card>

<Card title="Watch More" icon="circle-play" href="https://laracasts.com/series/laravel-nova-mastery-2023-edition">
<Card title="Learn More" icon="circle-play" href="https://laracasts.com/series/laravel-nova-mastery-2023-edition">
Watch the free Nova series on Laracasts
</Card>
</CardGroup>
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ class NewReleases extends Table

<Note>

You can learn more about menu customization by reading the [menu item customization documentation](/customization/menus#menu-items).
You can learn more about menu customization by reading the [menu item customization documentation](./../customization/menus#menu-items).
</Note>

### Displaying Icons on Table Rows
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function cards(NovaRequest $request)

## Metric Help Text / Tooltips

Sometimes a metric needs to offer the user more context about how the value is calculated or other details related to the metric's value. To provide this context, Nova allows you to define a help text "tooltip", which can be registered similarly to [Field Help Text](/resources/fields#field-help-text):
Sometimes a metric needs to offer the user more context about how the value is calculated or other details related to the metric's value. To provide this context, Nova allows you to define a help text "tooltip", which can be registered similarly to [Field Help Text](./../resources/fields#field-help-text):

<Frame>
![Metric Help Tooltip](/images/metric-tooltip-help.png)
Expand Down
10 changes: 5 additions & 5 deletions releases.mdx → v4/releases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ DateTime::make('Created At')->filterable(),
```

<Frame>
![Filterable fields](./images/filterable-fields-date.png)
![Filterable fields](/images/filterable-fields-date.png)
</Frame>

To learn more, please consult the [Filterable Fields documentation](./resources/fields#filterable-fields).
Expand Down Expand Up @@ -190,15 +190,15 @@ class User extends Authenticatable
Once the `Impersonatable` trait has been added to your application's `User` model, an "Impersonate" action will be available via the inline action menu for the corresponding resource:

<Frame>
![Impersonation](./images/impersonate.png)
![Impersonation](/images/impersonate.png)
</Frame>

### Custom Menus

In addition, Nova now supports totally custom side-bar and user menus. In fact, you can fully customize every link entry in Nova's left-side navigation bar, including the creation of menu sections, menu groups, and more:

<Frame>
![Custom Menu](./images/custom-main-menu.png)
![Custom Menu](/images/custom-main-menu.png)
</Frame>

To learn more about building your own custom menus, please consult the [custom menu documentation](./customization/menus).
Expand All @@ -208,7 +208,7 @@ To learn more about building your own custom menus, please consult the [custom m
The new "progress" metric allows you to track your progress towards a given goal. For example, you may wish to track your new user registrations for the month against a target goal. It's a cinch with the new progress metric:

<Frame>
![Progress Metric](./images/progress.png)
![Progress Metric](/images/progress.png)
</Frame>

To learn more about building and defining metrics, please consult the [metric documentation](./metrics/defining-metrics).
Expand All @@ -226,7 +226,7 @@ Sometimes, you may want to create a new resource while using all of the data fro
The brand new resource preview modal gives you a sneak peek at the resource's data without leaving the resource index page, providing a great way to learn more about a resource without interrupting your flow:

<Frame>
![Resource Preview](./images/resource-preview.png)
![Resource Preview](/images/resource-preview.png)
</Frame>

To learn more about adding fields to the resource preview modal, check out the [field documentation](./resources/fields#resource-preview-modal).
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion resources/fields.mdx → v4/resources/fields.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Text::make('Name')->hideFromIndex(function (NovaRequest $request, $resource) {

### Showing Fields When Peeking

You may allow a field to be visible [when peeking at the resource](/resources/relationships#peeking-at-belongsto-relationships) by invoking the `showWhenPeeking` method when defining the field:
You may allow a field to be visible [when peeking at the resource](./relationships#peeking-at-belongsto-relationships) by invoking the `showWhenPeeking` method when defining the field:

```php
Text::make('Name')->showWhenPeeking(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Image::make('Profile Photo')->indexWidth(60)->detailWidth(150),

<Note>

You may also use the `maxWidth`, `indexWidth`, and `detailWidth` methods on the [Avatar](#avatars) and [Gravatar](/resources/fields#gravatar-field) fields.
You may also use the `maxWidth`, `indexWidth`, and `detailWidth` methods on the [Avatar](#avatars) and [Gravatar](./fields#gravatar-field) fields.
</Note>

## Avatars
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion upgrade.mdx → v4/upgrade.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Once your configuration has been updated, you should review the following list o

### Registering a Nova License Key and Production URL

Nova requires a license key a production URL to be used in production environments. Nova will check your license key and the current host against the values from the license details found in your Nova account. You can learn more in the [installation docs](/installation#registering-a-nova-license-key-and-production-url).
Nova requires a license key a production URL to be used in production environments. Nova will check your license key and the current host against the values from the license details found in your Nova account. You can learn more in the [installation docs](./installation#registering-a-nova-license-key-and-production-url).

### Updating Third-Party Nova Packages

Expand Down
Loading
Loading