Add "license" sort-option to group-level dependencies app

Why are we doing this work

In separate issues, we will add the displaying of license data and filtering by license-name. This issue captures the work that is needed to sort by license-name within the table.

Screenshot_2023-08-29_at_12.54.54_pm

Implementation Notes

  • Add the related "license" data to ee/app/assets/javascripts/dependencies/store/modules/list/constants.js
  • Make sure that the changes are behind the group_level_licenses feature flag
  • Add specs

Verification Steps

  1. Go to a project that has the group_level_licenses feature flag enabled
  2. Verify that the "License" option is rendering for the sorting dropdown
  3. Verify that changing to "License" (plus the sort-order) sends through the correct requests
Edited by David Pisek