OpenMetadata icon indicating copy to clipboard operation
OpenMetadata copied to clipboard

Team alphabetical ordering not kept after renaming

Open mhornst opened this issue 2 years ago • 4 comments

Affected module UI

Describe the bug If you rename a team on the UI, the ordering of teams does not change i.e. it looks like the order is not defined by the display name (but by the original name of the group). If you change the name of a team, the team remains in the same place, so the alphabetical ordering of teams is not respected anymore.

To Reproduce

We had these teams with ConvDataPlatform originally, and then changed the name to DataPlatform. However, in the group ordering it remained in the same place rather than being moved after the letter C within the groups. image

Expected behavior We would expect DataPlatfrom to be moved after the groups starting with Conv{...}

Version: OM version: v1.0.0, but we could reproduce it in v1.1.1 as well (Data governance --> Another Data governance) image

Additional context

mhornst avatar Aug 23 '23 17:08 mhornst

@mhornst we are sorting by the name of the team, it looks like you changed the display name is that correct?

harshach avatar Aug 23 '23 17:08 harshach

@harshach that is correct, but isn't that what the sorting should be based on (since the original name is not visible)? Even when someone tries to assign an owner to an asset, the alphabetical order is wrong as the display names are shown, but the order is not based on these image

mhornst avatar Aug 23 '23 18:08 mhornst

Also, when tagging a team in a conversation, the original names are shown (and not the display names) which is a little confusing image

mhornst avatar Aug 23 '23 18:08 mhornst

Team Ordering inconsistency areas

  • [x] In Owner Label component under Teams tab on all entity pages..
  • [x] Mentions list
  • [x] Teams page table

karanh37 avatar Jan 16 '24 08:01 karanh37

@Ashish8689 can you take a look here , you need to take the data from Elastic Search

mohityadav766 avatar Apr 01 '24 06:04 mohityadav766