Skip to content
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

SearchKit - Add generic controller for ApiBatch action #24758

Merged
merged 1 commit into from Oct 26, 2022

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Oct 16, 2022

Overview

This allows extensions to define simple batch actions without the need for any javascript code. They just need to specify an api action to perform on the selected entities, and some user-facing text to show on confirm/success/failure.

Documentation for this PR at https://lab.civicrm.org/documentation/docs/dev/-/merge_requests/1037

Before

Angular template and controller needed for all api-based tasks

After

Simple tasks without any configuration options can be declared in php, with no need for Angular code.

@civibot
Copy link

civibot bot commented Oct 16, 2022

(Standard links)

@civibot civibot bot added the master label Oct 16, 2022
This allows extensions to define batch actions without the need for any javascript code
@eileenmcnaughton
Copy link
Contributor

Woohoo - it works - putting up PR to add this to import search display

@eileenmcnaughton eileenmcnaughton merged commit c43f09d into civicrm:master Oct 26, 2022
@eileenmcnaughton eileenmcnaughton deleted the apiBatch branch October 26, 2022 03:32
wmfgerrit pushed a commit to wikimedia/wikimedia-fundraising-crm that referenced this pull request Nov 2, 2022
Port of civicrm/civicrm-core#24758
(which will be in stable releases from 5.56 - but we will be
on 5.54.x until 2023.

Bug: T295412
Change-Id: I369b720c5ba6080c0a0f6dc8e275e55ba4dbcc5a
wmfgerrit pushed a commit to wikimedia/wikimedia-fundraising-crm that referenced this pull request Nov 7, 2022
Normally each month the release goes out & then regression fixes go into a
patch release - this grabs the ones merged to 5.54 since
we put 5.54-rc out

https://github.com/civicrm/civicrm-core/blob/5.55/release-notes/5.54.1.md
https://github.com/civicrm/civicrm-core/blob/5.54/release-notes/5.54.2.md

This should help avoid us hitting these regressions....

I re-applied our temporary patches - ie
Email-processor-from civicrm/civicrm-core#24667
Port from upstream civicrm/civicrm-core#24758
Hack smarty-debug to OFF until the end of Big English

Change-Id: I7d8124bd090af9c80bbcb1f486c5e1358e81aa39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants