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

[58427] Indicate that there are work package relations which the user has no permission to see #17604

Open
wants to merge 21 commits into
base: dev
Choose a base branch
from

Conversation

bsatarnejad
Copy link
Contributor

@bsatarnejad bsatarnejad commented Jan 14, 2025

Ticket

https://community.openproject.org/wp/58427

What are you trying to accomplish?

We want to show ghost relations of a WP in relations tab, but they will look different from visible relations.

Screenshots

Screenshot 2025-01-15 at 14 01 13

What approach did you choose and why?

Return both visible and ghost relations to index component and then call relation component with different values for visible and ghost relations.

Merge checklist

  • Added/updated tests
  • Added/updated documentation in Lookbook (patterns, previews, etc)
  • Tested major browsers (Chrome, Firefox, Edge, ...)

cbliard and others added 5 commits January 13, 2025 16:04
The mediator is responsible for providing the relations and children
from a work package for the relations tab. This moves the responsibility
of relations and children visibility in one central place.
…rning visible, invisible relations and their type
@bsatarnejad bsatarnejad self-assigned this Jan 14, 2025
@cbliard cbliard force-pushed the code-maintenance/introduce-relations-tab-mediator branch from a10a0be to b0ee80c Compare January 15, 2025 15:03
Base automatically changed from code-maintenance/introduce-relations-tab-mediator to dev January 15, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants