Releases: z-song/laravel-admin
v1.7.7
v1.7.6
v1.7.6 (2019-08-30)
在这个版本中,有下面的修改和变更
- 增加
$form->isCreating()和$form->isUpdating()方法来判断表单页状态 - 表单实现多列布局
- 增加
$grid->column('column_name')->bool()方法 - 增加
$grid->column('column_name')->dot()方法 - 增加
$grid->column('column_name')->action($actionClass)方法 - 实现数据表格规格选择器
- 实现数据表格右键显示操作菜单
- 数据表格自定义操作增加权限控制
In this version, there are the following changes
- Add
$form->isCreating()and$form->isUpdating()methods to determine the status of the form page - Model-Form implementation of multi-column layout document
- Add
$grid->column('column_name')->bool()method - Add
$grid->column('column_name')->dot()method - Add
$grid->column('column_name')->action($actionClass)method - Implement model-grid spec selector
- Implement model-grid contextmenu
- Model-grid custom operation adds permission control
v1.7.5: Merge pull request #3679 from phpcxy/fix-response
修复创建数据验证错误信息的返回判断
v1.7.4
v1.7.3: Merge pull request #3670 from z-song/analysis-zd79YJ
在这个版本中,有下面的修改和变更
配置
- 增加
check_route_permission配置,来控制是否检查路由权限。 - 增加
check_menu_roles配置,用来控制是否检查菜单项的可见角色。 - 增加
top_alert配置,用来在所有页面的顶部设置一个提醒栏。 - 增加
grid_action_class配置,用来指定表格的操作列显示类。
模型表格
- 增加
$grid->fixColumns($head, $tail)方法,实现表格列的固定显示。 - 增加
$grid->quickCreate()方法,实现在表格页面快速创建数据,文档。 - 重构了表格的数据操作,可以更优雅的定义行操作和批量操作,文档。
In this version, there are the following changes
Configuration
- Add
check_route_permissionconfiguration to control whether to check route permissions. - Added
check_menu_rolesconfiguration to control whether to check the visible role of the menu item. - Added
top_alertconfiguration to set a reminder bar at the top of all pages. - Added
grid_action_classconfiguration to specify the action column display class for the table.
Model grid
- Add the
$grid->fixColumns($head, $tail)method to achieve a fixed display of the table columns. - Add the
$grid->quickCreate()method to quickly create data on the form page. - Refactored data actions of tables to define row actions and batch actions more elegantly.
v1.7.2: Merge pull request #3566 from z-song/analysis-z9pwwP
Model form
- Fixed file preview issue with uploaded files
- Support for generating thumbnails while uploading images in form
- Add $form->file('name')->downloadable() method
Model table
- Add $grid->column('name')->downloadable() method
- Add $grid->column('name')->color($color) method
- Add $grid->column('name')->icon($icons = []) method
- Add $grid->column('name')->replace($replacements = []) method
- Optimize $grid->column('name')->label() and $grid->columnI('name')->badge() methods
- Add $grid->column('name')->filter() method to implements column filtering
- Add $grid->column('name')->copyable() method
- Add $grid->column('name')->qrcode() method
- Implement shortcuts for grid pages
模型表单
- 修复上传文件组建的文件预览问题
- 支持form表单上传图片的同时生成缩略图
- 增加了
$form->file('name')->downloadable()方法
模型表格
- 增加
$grid->column('name')->downloadable()方法 - 增加
$grid->column('name')->color($color)方法 - 增加
$grid->column('name')->icon($icons = [])方法 - 增加
$grid->column('name')->replace($replacements = [])方法 - 优化
$grid->column('name')->label()和$grid->columnI('name')->badge()方法 - 增加
$grid->column('name')->filter()方法,实现列过滤 - 增加
$grid->column('name')->copyable()方法 - 增加
$grid->column('name')->qrcode()方法 - 实现grid页面的快捷键
v1.7.1: Merge pull request #3483 from z-song/analysis-zR9VdY
- Add
Lisbox::height()方法 - Fix display issue with top navigation refresh button
v1.7.0: Merge pull request #3481 from z-song/analysis-q2ey5A
v1.7.0 (2019-06-08)
In this version, there are the following changes
Framewark
- Add
Admin::favicon()method to set the website'sfavicon - Added
Admin::style()method to add css style to the current page - Added
Admin::html()method to add HTML code to the current page. Widget\Boxcomponent supports setting the scroll bar inside the box- Remove the refresh button from the header of the table and add a refresh button in the upper right corner of the page navigation
Model grid
- Added quick search feature, refer to documentation
- Add the
Column::help()method to prompt the column with text - Added
Column::gravatar()method to displayGravataravatar via email - Added
Column::carousel()method to display an image rotation effect in the list - Add the
Column::width()method to set the width of the column - Added
Column::hide()method to set the table column to not display by default - Added
Column::filezise()method to display file size more friendly - Added
Column::loading()method to display loading status more friendly - Support for displaying JSON field operations
Model details
- Added
Field::carousel()method to display an image carousel on the details page - Added
Field::filezise()method for more friendly display file size
Model Form
- Support for operating JSON fields
- Form delete file add confirmation prompt box
- Form
checkboxsupports settingoptionsvia anonymous functions - Form items add
updateRulesandcreationRulesmethods to distinguish between form validation rules for creating and updating scenes - Added
File::retainable()method to set the file when deleting data. listboxsupports loading options viaajax- Add
Timezoneform item to select time zone - Add
KeyValueform item to manipulate the data of the key-value structure - Add
Listform item to manipulate list structure data - Add the
Form::fieldset()method to group multiple form items into groups - Added
Checkbox::canCheckAll()method to add a select all operation to the checkbox component
Widget Form
- Enhanced
Widget\Formfor data processing of form components, see [documentation] (https://laravel-admin.org/docs/zh/data-form)
Command
- Optimized the
admin:makecommand to make the generated controller file more concise admin:makecommand to addnamespaceoption to set the namespace of the created controller- Added
admin:formcommand to generate Form class - Fixed CSS/JS compression command bug
Configuration
- Add
enable_menu_searchconfiguration to control the display of the left menu search - Added
minify_assets.exceptsconfiguration to exclude resource files that do not need to be compressed