Convert fork param from boolean to text

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Background

Customers are confused by the fork settings for exact code search. Feedback from customers also suggest that a single universal setting is not enough to support all use cases for all customers.

Proposal

The existing filter should be changed to forks and support text include or exclude. The frontend will default to include.

This requires backend and frontend changes:

backend changes

frontend changes

We must consider backwards compatibility across updates. For these changes, the backend should initially support both param names (forks and exclude_forks) and once the frontend has merged, the legacy param can be removed. This should not require a feature flag

Edited by 🤖 GitLab Bot 🤖