定制 magenizr/magento2-resetuibookmarks 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

magenizr/magento2-resetuibookmarks

Composer 安装命令:

composer require magenizr/magento2-resetuibookmarks

包简介

This Magento 2 module allows you to reset your UI bookmarks such as state of filters, column positions, grid sorting, pagination and so on.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Reset Ui Bookmarks

Reset UI Bookmarks becomes an invaluable tool while working daily in the admin panel, especially on Magento® instances with a large catalogue. The regular use of grid filters, applied sorting ( e.g Sales > Orders or Catalog > Product ) or other options provided by third party integrations can cause server time-outs ( depending on the filter combinations ) and make the grid tables unusable. With Reset UI Bookmarks any admin user can reset their filters back to default without having an agency support team involved.

Magenizr ResetUiBookmarks - Backend Magenizr ResetUiBookmarks - Backend

Business Value

Usually a technical person ( e.g developer ) is required to reset those filters back to default. This can be annoying for a client and create unnecessarily noise for a developer team. Here are the advantages of Reset UI Bookmarks.

  • A client can reset filters and column positions back to default. A developer is not required.
  • A client support team, which usually has no access to the MySQL database can fix broken grid tables without having a developer involved.
  • Practical for small businesses, which can not afford expensive agency support.

System Requirements

  • Magento 2.3.x, 2.4.x
  • PHP 7.x, 8.1

Installation (Composer 2)

  1. Update your composer.json composer require "magenizr/magento2-resetuibookmarks":"1.3.2" --no-update
  2. Use composer update magenizr/magento2-resetuibookmarks --no-install to update your composer.lock file.
Updating dependencies
Lock file operations: 1 install, 1 update, 0 removals
  - Locking magenizr/magento2-resetuibookmarks (1.3.2)
  1. And then composer install to install the package.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 1 install, 0 update, 0 removals
  - Installing magenizr/magento2-resetuibookmarks (1.3.2): Extracting archive
  1. Enable the module and clear static content.
php bin/magento module:enable Magenizr_ResetUiBookmarks

Installation (Manually)

  1. Download the code.
  2. Extract the downloaded tar.gz file. Example: tar -xzf Magenizr_ResetUiBookmarks_1.3.2.tar.gz.
  3. Copy the code into ./app/code/Magenizr/ResetUiBookmarks/.
  4. Enable the module and clear static content.
php bin/magento module:enable Magenizr_ResetUiBookmarks --clear-static-content
php bin/magento setup:upgrade

Features

  • A red button Reset UI Bookmarks within your Account Settings page as well as on System > Permissions > All Users > {User} > User Info.
  • Once a admin user hits the button Reset UI Bookmarks, it will clear the history of state of filters, column positions or applied sorting which are stored in the MySQL table ui_bookmark.
  • Choose between the options All Bookmarks, Saved Filters Only and Keep Saved Filters
  • Select a specific namespace such as Product Listing or Customer Listing. The dropdown is generated based on namespaces stored in the ui_bookmark table.

Usage

Simply hit the button Reset UI Bookmarks to clear the bookmarks and wait for the confirmation Your UI bookmarks were cleared successfully. After that all filters and grid settings are set back to default. More details are available in the attached user guide.

Support

If you experience any issues, don't hesitate to open an issue on Github.

History

===== 1.3.2 =====

  • Fix Call to a member function setData() on bool

===== 1.3.1 =====

  • Declare class property to fix issue in PHP 8.2

===== 1.3.0 =====

  • Namespace added so that you can clear bookmarks for a specific grid table

===== 1.2.2 =====

  • 2.4.6 compatibility check
  • Code cleanup
  • Improved $form and $userId check

===== 1.2.1 =====

  • Validation issue ( Cannot read properties of undefined (reading 'settings') ) on Save User action fixed.

===== 1.2.0 =====

  • ResetUiBookmarks Button added to System > Permissions > All Users > {User} > User Info so that bookmarks can be cleared for non-administrator users.

===== 1.1.2 =====

  • setup_version="" removed from module.xml

===== 1.1.1 =====

  • 2.4.x compatibility added
  • Cleanup various files to follow coding standard (EQP, ECG)
  • Remove framework requirement in composer.json

===== 1.1.0 =====

  • Choose between the options All Bookmarks, Saved Filters Only and Keep Saved Filters

===== 1.0.3 =====

  • Cleanup in resetuibookmarks.phtml

===== 1.0.2 =====

  • Magento 2.4.x compatibility added

===== 1.0.1 =====

  • Magento 2.3.1 compatibility added

===== 1.0.0 =====

  • Stable version

License

OSL - Open Software Licence 3.0

About Magenizr

Built and maintained by Magenizr — an Australian Adobe Commerce & Magento development agency based in Bendigo, Victoria. We build custom Magento modules, handle platform migrations, and provide ongoing support for businesses across Melbourne, Sydney, Brisbane and the DACH region.

Über Magenizr

Entwickelt und gepflegt von Magenizr — einer australischen Magento & Adobe Commerce Agentur mit Fokus auf die DACH-Region. Wir entwickeln individuelle Magento-Module, übernehmen Plattform-Migrationen und bieten laufenden Support für Unternehmen in Berlin, Hamburg, München, Frankfurt, Köln, Stuttgart, Düsseldorf, Wien, Graz, Salzburg, Zürich, Basel und Bern.

magenizr/magento2-resetuibookmarks 适用场景与选型建议

magenizr/magento2-resetuibookmarks 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 218.09k 次下载、GitHub Stars 达 38, 最近一次更新时间为 2021 年 03 月 30 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「admin」 「backend」 「flush」 「clear」 「magento 2」 「UI Bookmarks」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 magenizr/magento2-resetuibookmarks 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 magenizr/magento2-resetuibookmarks 我们能提供哪些服务?
定制开发 / 二次开发

基于 magenizr/magento2-resetuibookmarks 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 218.09k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 38
  • 点击次数: 25
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 38
  • Watchers: 4
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2021-03-30