Adds search support on organization level
What does this MR do and why?
Based on the Add search support to "Home organization" setting (#433968 - closed), we're adding search support on organization level.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screen_Recording_2024-02-20_at_4.52.00_PM
How to set up and validate locally
- Open Rails console
bin/rails console
- Enable the feature flag
Feature.enable(:ui_for_organizations)
- If you want to create a few organizations for testing you can run the following code
you = User.find_by_username('root')
5.times do
name = FFaker::Company.name
organization = Organizations::Organization.create(name: name, path: name.parameterize)
Organizations::OrganizationUser.create!(organization_id: organization.id, user_id: you.id)
end
- Navigate to
/-/profile/preferences
- Open the
Home organization
setting and use the search
Edited by Peter Hegman