[Op#54456] Display the mapped projects list in the project attributes detail view #15476
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://community.openproject.org/work_packages/54456
Implementation
available_project_attributes
projects query filter to retrieve projects that have a given custom field activated [#54459] AddAvailableProjectAttributesFilter
to project queries to display the mapped projects list in projects attribute settings view #15400Projects::{TableComponent,RowComponent}
specialise to current requirements; the project list doesn't need to be full fledged.On delete last item, show no resultsSeparate WP(https://community.openproject.org/wp/55123)On delete within nested pagination, retain current pagination stateLazy load the project lists tab, only load list on click. Turbo should help out here https://turbo.hotwired.dev/reference/frames#lazy-loaded-frame@dominic-braeunlein to confirm on whether to use url or query strings to enable url sharingPageHeader
? (https://community.openproject.org/wp/55079)Cover on delete failure edge case, render Primer::Flash with error detail?(https://community.openproject.org/projects/openproject/work_packages/55133/activity)Fix HierarchySeparate WP (https://community.openproject.org/projects/openproject/work_packages/55124)Dev Notes
🚧
An empty list is returned at present even though resolving the query locally returns results.I haven't dug into why this is happening yetproject-mappings.mp4