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

Fix spaces in search results #9026

Merged
merged 2 commits into from
May 15, 2023
Merged

Fix spaces in search results #9026

merged 2 commits into from
May 15, 2023

Conversation

JammingBen
Copy link
Contributor

@JammingBen JammingBen commented May 12, 2023

Description

Fixes wrong icons and sidebar panels for spaces in share results as well as their parent folder below the resource name.

Unfortunately, there is no convenient way to distinguish spaces from folders based on the search response form the server. Although space resources have empty permissions, which differs from folders, it doesn't feel great to distinguish them based on that attribute IMO. I'm open for suggestions though.

Related Issue

Screenshots

image image

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

@ownclouders
Copy link
Contributor

Results for e2e-tests oCIS https://drone.owncloud.com/owncloud/web/35634/12/1

💥 To see the trace, please open the link in the console ...

npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/35634/tracing/search-in-the-project-spaces-alice-2023-5-12-07-27-18.zip

💥 The e2e-ocis tests pipeline failed. The build has been cancelled.

@JammingBen JammingBen force-pushed the fix-spaces-in-search branch from 20a8c57 to 9db97c6 Compare May 12, 2023 07:46
@sonarqubecloud
Copy link

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

89.5% 89.5% Coverage
0.0% 0.0% Duplication

@JammingBen JammingBen marked this pull request as ready for review May 12, 2023 08:18
@JammingBen JammingBen requested review from kulmann and AlexAndBear May 12, 2023 08:18
Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

Nice! 👍

@kulmann kulmann requested a review from lookacat May 12, 2023 14:29
@AlexAndBear AlexAndBear merged commit f8a85cb into stable-7.0 May 15, 2023
@delete-merged-branch delete-merged-branch bot deleted the fix-spaces-in-search branch May 15, 2023 20:24
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.

4 participants