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

Update has_many show pages #2374

Closed
wants to merge 6 commits into from

Conversation

jubilee2
Copy link
Contributor

@jubilee2 jubilee2 commented Apr 28, 2023

I attempted to fix #2370, but I am not confident this it is a perfect solution.

make sure to use root collection template
@nickcharlton
Copy link
Member

Are you able to add a test for this?

I feel like even if it's not a perfect solution, but we've got a test around the regression then it'll do for now and we can revisit it in future if necessary!

@jubilee2 jubilee2 force-pushed the fix-has_many_template branch 4 times, most recently from ff12008 to 84e37c9 Compare June 29, 2023 00:44
@jubilee2 jubilee2 changed the title Update has_many show pages WIP: Update has_many show pages Jun 29, 2023
@jubilee2 jubilee2 changed the title WIP: Update has_many show pages Update has_many show pages Jun 29, 2023
@jubilee2
Copy link
Contributor Author

After adding rspec, I realized that the original solution did not work. I started to think about a different way to fix the issue. We might need another namespace for the collection template of has_many fields.

@pablobm
Copy link
Collaborator

pablobm commented Jul 14, 2023

Thank you @jubilee2! I have been looking into this and now I think that is a rather complex problem 🤯 I have published a more detailed study in the issue page (see #2370 (comment)). I think the PR should close for now and discussions should happen in the issue page, until we have a better idea of how we want to tackle this.

@pablobm pablobm closed this Jul 14, 2023
@jubilee2
Copy link
Contributor Author

Thank you.

@jubilee2 jubilee2 deleted the fix-has_many_template branch March 22, 2024 22:19
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.

Sharing template of ""collection" between index page and has_many show page
3 participants