-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Panels navigation documentation #15109
base: 3.x
Are you sure you want to change the base?
Panels navigation documentation #15109
Conversation
Without this fix - if you have `dark` theme set on macbook - light screenshots would also be dark.
@@ -376,6 +402,8 @@ public function panel(Panel $panel): Panel | |||
} | |||
``` | |||
|
|||
<AutoScreenshot name="panels/navigation/custom-items" alt="Register Custom Navigation Items" version="3.x" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not use Title Case for the alt text within screenshots, please check this is consistent with existing screenshots :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh, sorry about that! Too used to Title Case :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could use a badge for the sort number instead of putting it in the label?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the example here could be an -o-
cog and a -s-
cog?
docs-assets/app/routes/web.php
Outdated
Route::get('layout', InfolistsLayoutDemo::class); | ||
}); | ||
|
||
Route::group(['prefix' => 'panels'], function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use Route::prefix()
here please for better static analysis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the same empty view across multiple pages instead of duplicating?
Description
Documentation updates for Panels -> Navigation.
This includes a few non-documentation updates:
panels/navigation...
prefix (Commit)Dark
preference would not generateLight
screenshots (Commit)And, of course, added images for:
In one case, I had to split the text better to visualize the difference (Collapsible vs. not group).
Other than that - let me know if this is okay :)
Visual changes
None
Functional changes
composer cs
command.