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

feat: add shared by filter on 'Shared with me'-page #10029

Merged
merged 3 commits into from Nov 22, 2023
Merged

Conversation

JammingBen
Copy link
Collaborator

Description

Adds a "Shared by"-filter to the received shares on the "Shared with me"-page. Also fixes a bug where the share type labels were empty inside the "Share type"-filter and ensures to always show it.

Screenshot

image

Related Issue

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

The share type properties are getters which the `ItemFilter` component can't handle. Hence we need to compute new objects that have the relevant information as props.
@JammingBen JammingBen self-assigned this Nov 21, 2023
@JammingBen JammingBen force-pushed the shared-by-filter branch 3 times, most recently from 923a3db to 814879a Compare November 21, 2023 16:05
@JammingBen JammingBen marked this pull request as ready for review November 21, 2023 16:43
Copy link

sonarcloud bot commented Nov 22, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

97.0% 97.0% Coverage
0.0% 0.0% Duplication

Copy link
Contributor

@lookacat lookacat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@JammingBen JammingBen merged commit 4137289 into master Nov 22, 2023
4 checks passed
@delete-merged-branch delete-merged-branch bot deleted the shared-by-filter branch November 22, 2023 09:05
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.

Share type labels in filter are not showing [web] Add "Shared by" filter to "Shared with me"
4 participants