Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort collaborators column, deduplicate public #3171

Merged
merged 1 commit into from
Mar 12, 2020

Conversation

PVince81
Copy link
Contributor

Description

The collaborators appears a the column in the "shared with others" section are now sorted: first by share type (user, group, remote, link) and then by display name using natural sort.
Additionally, if there is more than one public link for the resource, the text "Public" only appears once in the collaborators column.

Related Issue

Fixes #3137

Motivation and Context

How Has This Been Tested?

  • manual test in UI
  • acceptance test

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

None

@PVince81 PVince81 force-pushed the fix-duplicate-public-collaborator branch from 539434f to 90fb7ee Compare March 11, 2020 15:04
Sort the collaborators by share type (user, group, link, remote) and by
display name.
Deduplicate the public link entry so it only appears once in the column.
@PVince81 PVince81 force-pushed the fix-duplicate-public-collaborator branch from 90fb7ee to 1a372d4 Compare March 12, 2020 16:00
@PVince81 PVince81 merged commit 318aef8 into master Mar 12, 2020
@delete-merged-branch delete-merged-branch bot deleted the fix-duplicate-public-collaborator branch March 12, 2020 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Public entry appears multiple times in collaborators column
2 participants