Giter Site home page Giter Site logo

hyva-themes / hyva-admin-test-module Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 2.0 66 KB

A small test module for the Magento 2 module Hyva_Admin.

Home Page: https://hyva.io/hyva-admin.html

License: BSD 3-Clause "New" or "Revised" License

PHP 89.44% HTML 10.56%
magento2-module

hyva-admin-test-module's Introduction

Hyva_AdminTest

A small module to visually test Hyva_Admin.

A link to the test page can be found in the admin menu in
System > Tools > Hyvä Test.

This module expects the Sample Data to be installed.

Stability

The module is NOT considered production code. Anything can change at any time. It exists only to test and demonstrate Hyva_Admin features.

Contributions

PR's are very welcome.

Copyright & License

Copyright 2021 Vinai Kopp & Hyvä Themes BV

The module is released under the BSD-3 Clause license.

hyva-admin-test-module's People

Contributors

rav-redchamps avatar vinai avatar vincentmarmiesse avatar wigman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

hyva-admin-test-module's Issues

TypeError: Argument 1 passed to Hyva\Admin\Model\TypeReflection\NamespaceMap

Hey @Vinai & @wigman

Thanks for putting this out.

I just installed in on Magento version 2.4.1 & while accessing admin path System > Tools > Hyvä Test, it returns below error

TypeError: Argument 1 passed to Hyva\Admin\Model\TypeReflection\NamespaceMap::__construct() must be of the type array, string given,
called in /m2/241/vendor/hyva-themes/module-magento2-admin/Model/TypeReflection/NamespaceMap.php on line 32
and defined in /m2/241/vendor/hyva-themes/module-magento2-admin/Model/TypeReflection/NamespaceMap.php:14

Column(s) not found on source: activity

Receiving below error when navigation to admin path System > Tools > Hyvä Test.

1 exception(s):
Exception #0 (OutOfBoundsException): Column(s) not found on source: activity

Exception #0 (OutOfBoundsException): Column(s) not found on source: activity
#1 Hyva\Admin\Model\GridSource->extractColumnDefinitions() called at [vendor/hyva-themes/module-magento2-admin/ViewModel/HyvaGridViewModel.php:126]
#2 Hyva\Admin\ViewModel\HyvaGridViewModel->buildColumnDefinitions() called at [vendor/hyva-themes/module-magento2-admin/ViewModel/HyvaGridViewModel.php:116]
#3 Hyva\Admin\ViewModel\HyvaGridViewModel->getAllColumnDefinitions() called at [vendor/hyva-themes/module-magento2-admin/ViewModel/HyvaGridViewModel.php:133]
#4 Hyva\Admin\ViewModel\HyvaGridViewModel->getColumnDefinitions() called at [vendor/hyva-themes/module-magento2-admin/ViewModel/HyvaGridViewModel.php:214]
#5 Hyva\Admin\ViewModel\HyvaGridViewModel->getNavigation() called at [vendor/hyva-themes/module-magento2-admin/view/adminhtml/templates/grid.phtml:7


It gets resolved if I comment out below code in file vendor/hyva-themes/module-magento2-admin-test/view/adminhtml/hyva-grid/products-grid.xml

<column name="activity"/>

Form Test not working

Add more examples (and clean up existing ones)

Need:

  • Repository Provider
  • Collection Provider
  • Array Provider
  • Buttons
  • Filters
  • Without Pagination
  • Column with custom Template
  • Column with custom Renderer
  • Button with custom Template
  • Multiple grids on one page
  • Ajax grid
  • Non-Ajax grid
  • Embed a grid as a ui_component html_content
  • Embed a grid in an existing page

Some of the above exist already, but I am pretty sure the could be nicer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.