Skip to content

Migrate deprecated sorting-item vue component in organizations app

What does this MR do and why?

Removed gl-sorting-item in app/assets/javascripts/organizations/groups_and_projects/components/app.vue as it's deprecated. New way to use it is to pass :sort-options=.

It's a part of Pajamas adoption project

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

Before After
org_app_sorting_old org_app_sorting_new

How to set up and validate locally

Organizations functionality seems to be in dev https://docs.gitlab.com/ee/user/organization/index.html and it is not ready for production use.

  1. Enable Organizations feature Feature.enable :ui_for_organizations
  2. Create new organization
  3. Manage groups and projects of this organization.
  4. Check sorting component (this does not functional yet even on master but must render it with default value)

Related to #438040 (closed)

Merge request reports