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

oc10: Shareindicator for incoming shares in "All files" is misleading #7686

Closed
wants to merge 5 commits into from
Closed

Conversation

gitstart
Copy link
Contributor

@gitstart gitstart commented Sep 23, 2022

Description

Changed the shareindicator text from "show invited people" to "Shared with you, show details"

Related Issue

Screenshots (if appropriate):

https://www.loom.com/share/a4f4be23ef9748399730af15a5963db7

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:

This PR was pushed through GitStart, with contributions from @NickM101 @faridomarafg @WajihaNiazi, @hashimaziz46

@gitstart gitstart marked this pull request as ready for review September 23, 2022 15:10
Copy link
Collaborator

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! I'm afraid it's not that simple though.

First we need to make sure that this only applies to oC10. This can be done easily by checking hasShareJail === true here.

Then we need to make sure that this only takes effect if this file has no outgoing shares. The sharesTree provides this kind of information.

Last but not least, we want the share indicator to redirect to the "Shared with me"-page if the above two conditions are true. Ideally including the scrollTo param to directly scroll to the resource.

@gitstart
Copy link
Contributor Author

Thanks for your contribution! I'm afraid it's not that simple though.

First we need to make sure that this only applies to oC10. This can be done easily by checking hasShareJail === true here.

Then we need to make sure that this only takes effect if this file has no outgoing shares. The sharesTree provides this kind of information.

Last but not least, we want the share indicator to redirect to the "Shared with me"-page if the above two conditions are true. Ideally including the scrollTo param to directly scroll to the resource.

Thank you for your nice feedback we will resolve ASAP

@sonarcloud
Copy link

sonarcloud bot commented Oct 14, 2022

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

50.0% 50.0% Coverage
0.0% 0.0% Duplication

@gitstart
Copy link
Contributor Author

@JammingBen, @kulmann this is ready for review.

@kulmann
Copy link
Member

kulmann commented Feb 7, 2023

Superseded by #8349

@kulmann kulmann closed this Feb 7, 2023
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.

3 participants