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

Search kit select current user #19620

Merged
merged 2 commits into from
Feb 19, 2021

Conversation

colemanw
Copy link
Member

Overview

Adds the ability to choose "Current User" for search criteria which allows displays to show different results to different users, e.g. a list of activities assigned to them:

image

@civibot
Copy link

civibot bot commented Feb 17, 2021

(Standard links)

@civibot civibot bot added the master label Feb 17, 2021
@eileenmcnaughton
Copy link
Contributor

I tested this & was able to create a My activities dashlet that shows different results depending on who is logged in. I have some reseveration (in this screen and in api explorer) about how difficult it is to enter the contact id when you already know it - but I don't think that is blocking on this.

Looking at the existing dashlet compared to the search-kit created on the other things the built in one does are

  • permits the user to choose activity types (multiple) to include and / or exclude
  • colour coding on status
  • adds single entity actions to the end of the row - note this is not the same as the bulk actions that search kit currently offers as these are (hopefully) already stand alone forms

image

The above observations are not blocking merge

@eileenmcnaughton eileenmcnaughton merged commit 79d9e86 into civicrm:master Feb 19, 2021
@eileenmcnaughton eileenmcnaughton deleted the searchKitSelectCurrentUser branch February 19, 2021 21:35
@colemanw
Copy link
Member Author

Patches welcome on the rest :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants