-
Notifications
You must be signed in to change notification settings - Fork 106
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
Feature/refactor crud2 #835
Conversation
Add comments clean up.
Add ability to setup apiConfig for jsCallback.
Codecov Report
@@ Coverage Diff @@
## develop #835 +/- ##
=============================================
- Coverage 73.35% 68.65% -4.71%
- Complexity 2514 2578 +64
=============================================
Files 125 126 +1
Lines 5919 6049 +130
=============================================
- Hits 4342 4153 -189
- Misses 1577 1896 +319
Continue to review full report at Codecov.
|
$single_record_action->ui['executor'] = $executor; | ||
$executor->addHook('afterExecute', function ($x, $m, $id) { | ||
return $m->loaded() ? $this->jsSave($this->notifyDefault) : $this->jsDelete(); | ||
}); |
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.
👍
…ure/refactor-crud2
- fixed table border - fixed js when table dropdown menu appear near end of window - Delete action should be fixed in atk4\data remove floating css class to table dropdown menu View::On method now check for action confirmation property and apply it by default
While refactoring this I think it would be worth it to also fix #837 |
Added to a new page tutorial_actions for test to work again
@ibelar still breaks test.. is it due to dependency on atk data branch? |
@romaninsh - Look like it. Seem the error come from calling getConfirmation() on the atk4/Data/UserAction/Generic |
@ibelar let me merge and then test |
Refactor CRUD to rely on new actions, clean up older implementation(s)