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

[58467] Changed add hierarchical item behavior #17027

Conversation

apfohl
Copy link
Member

@apfohl apfohl commented Oct 23, 2024

Ticket

https://community.openproject.org/projects/document-workflows-stream/work_packages/58467/github

What are you trying to accomplish?

When adding a new item in the hierarchy the item form will stay open for the next entry.

What approach did you choose and why?

I added the additional rendering of the item form for the turbo stream response to admin/custom_fields/hierarchy/items#create.

@apfohl apfohl requested a review from a team October 23, 2024 12:24
@mereghost
Copy link
Contributor

Won't this cause a double send of the turbo-frame?

@apfohl
Copy link
Member Author

apfohl commented Oct 24, 2024

Won't this cause a double send of the turbo-frame?

Why? It only adds the form to the response.

@apfohl
Copy link
Member Author

apfohl commented Oct 24, 2024

@mereghost Ah, now I see what you mean lol.

@apfohl apfohl force-pushed the bug/58467-item-add-form-disappears-after-added-a-new-item-to-a-custom-field-of-type-hierarchy branch from 94332ab to b581a56 Compare October 24, 2024 08:37
When adding a new item in the hierarchy the item form will stay open for
the next entry.
@apfohl apfohl force-pushed the bug/58467-item-add-form-disappears-after-added-a-new-item-to-a-custom-field-of-type-hierarchy branch from b581a56 to 0f5114c Compare October 24, 2024 08:41
@apfohl apfohl requested a review from mereghost October 24, 2024 08:41
@apfohl apfohl merged commit 0f48bb8 into dev Oct 24, 2024
11 checks passed
@apfohl apfohl deleted the bug/58467-item-add-form-disappears-after-added-a-new-item-to-a-custom-field-of-type-hierarchy branch October 24, 2024 11: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