Skip to content

Conversation

kergomard
Copy link
Contributor

Hi @mjansenDatabay , @klees , @oliversamoila , hi all

This is a first draft for a UserAutocomplete-Input that can be retrieved from the public interface of User. The central crucial part of the implementation is in the folder components/ILIAS/User/src/Search/ the interface in components/ILIAS/User/src/PublicInterface.php .

Currently the Field doesn't offer many options: You can just use it as is or you can add additional return values to it, but clearly this can be expanded.

The code for searching is a mix from the current implementation in the Mail and the RepositorySearch, but I will give this an additional check as the scope the search should cover is not easy to figure out, but I already wanted to share the state of things.

I've moved a few other things around to further clarify the structure.

If you are still willing to take a look at this: I'm a happy taker for feedback.

@klees : I also had to make a change in the Studyprogramme, please see: 8aa4b0f .

Thanks and best,
@kergomard

@kergomard kergomard self-assigned this Oct 17, 2025
@kergomard kergomard force-pushed the 11/user/feat-user-search branch from f95aa33 to 2540905 Compare October 18, 2025 10:35
@mjansenDatabay mjansenDatabay added improvement php Pull requests that update Php code labels Oct 20, 2025
@kergomard kergomard force-pushed the 11/user/feat-user-search branch from a631a67 to 7d3fef9 Compare October 20, 2025 08:20
@oliversamoila
Copy link
Contributor

I tested this in the user interface and haven't detected any problems so far.
Thank you everyone!

@kergomard
Copy link
Contributor Author

Thank you all for the quick feedback!

@kergomard kergomard merged commit 2dd64ec into ILIAS-eLearning:trunk Oct 20, 2025
1 of 3 checks passed
@kergomard kergomard deleted the 11/user/feat-user-search branch October 20, 2025 12:09
* @ilCtrl_Calls ilObjUserFolderGUI: ILIAS\User\Profile\Fields\ConfigurationGUI
* @ilCtrl_Calls ilObjUserFolderGUI: ILIAS\User\Profile\Fields\CustomFieldsGUI
* @ilCtrl_Calls ilObjUserFolderGUI: ILIAS\User\Profile\Prompt\SettingsGUI
* @ilCtrl_Calls ilObjUserFolderGUI: ILIAS\User\Search\DefaultEndpointGUI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kergomard Class DefaultEndpointGUI does not exist. Did you mean EndpointGUI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much @mjansenDatabay ! Yes, I did and I changed it now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants