Skip to content

Update section on form_for compatibility#1644

Merged
joelhawksley merged 12 commits intoViewComponent:mainfrom
tmaier:patch-1
Feb 13, 2023
Merged

Update section on form_for compatibility#1644
joelhawksley merged 12 commits intoViewComponent:mainfrom
tmaier:patch-1

Conversation

@tmaier
Copy link
Contributor

@tmaier tmaier commented Jan 29, 2023

What are you trying to accomplish?

I think it helps people when they know what the compatibility issues between form_for and ViewComponents actually mean and what options they have.

#241

What approach did you choose and why?

I wanted to keep the section small, but mention all options known so far.
It does not seek to create a dedicated page on this particular topic, like #946 tried.

@Spone
Copy link
Collaborator

Spone commented Jan 29, 2023

Thanks for taking a stab at this!

Copy link
Contributor

@camertron camertron left a comment

Choose a reason for hiding this comment

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

Alright I'm cool with this change, although I wonder if it's obviated by @BlakeWilliams' timely PR. At the very least I think we should include the new CaptureCompatibility module in the list when the PR gets merged.

Copy link
Collaborator

@Spone Spone left a comment

Choose a reason for hiding this comment

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

👌

@tmaier tmaier requested a review from camertron February 2, 2023 19:46
Copy link
Member

@joelhawksley joelhawksley left a comment

Choose a reason for hiding this comment

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

👋🏻 Just some grammar and voicing edits to keep the docs cohesive. Happy to re-edit if material changes are requested.

@camertron
Copy link
Contributor

Hey @tmaier, could you resolve that merge conflict? As soon as that's done, I'll merge this in 😎

tmaier and others added 10 commits February 12, 2023 23:16
Fix prose errors

Fix pose errors

Fix markdown lint error MD007
Update docs/CHANGELOG.md

Co-authored-by: Cameron Dutro <camertron@gmail.com>
Co-authored-by: Cameron Dutro <camertron@gmail.com>
Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>
Co-authored-by: Joel Hawksley <joelhawksley@github.com>
default way / classic way / the way how originally intended in Ruby on Rails land
@tmaier
Copy link
Contributor Author

tmaier commented Feb 12, 2023

@camertron done

@camertron
Copy link
Contributor

@tmaier sorry for the churn here. Looks like there's another conflict now 🤦

@joelhawksley joelhawksley merged commit ab6c114 into ViewComponent:main Feb 13, 2023
@tmaier tmaier deleted the patch-1 branch February 13, 2023 21:51
tmaier added a commit to tmaier/view_component that referenced this pull request Mar 7, 2023
joelhawksley added a commit that referenced this pull request Mar 8, 2023
…1674)

* Add capture_compatibility_patch_enabled as option

Related to #1650 and #1644

* Update CHANGELOG.md

* Update docs/known_issues.md

* Update docs/known_issues.md

* reorder item

* make test more flexible to account for change in rails main

---------

Co-authored-by: Joel Hawksley <joelhawksley@github.com>
Co-authored-by: Joel Hawksley <joel@hawksley.org>
claudiob pushed a commit to claudiob/view_component that referenced this pull request Dec 22, 2023
* Update section on form_for compatibility

Fix prose errors

Fix pose errors

Fix markdown lint error MD007

* Update CHANGELOG.md

Update docs/CHANGELOG.md

Co-authored-by: Cameron Dutro <camertron@gmail.com>

* Update docs/known_issues.md

Co-authored-by: Cameron Dutro <camertron@gmail.com>

* Update options

* Move section up so that all FormBuilder related is together

* Be more specific about the issue

* Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

* Elaborate on "classic" FormBuilder

* Apply suggestions from code review

Co-authored-by: Joel Hawksley <joelhawksley@github.com>

* Fix statement

default way / classic way / the way how originally intended in Ruby on Rails land

* Apply suggestions from code review

---------

Co-authored-by: Cameron Dutro <camertron@gmail.com>
Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>
Co-authored-by: Joel Hawksley <joelhawksley@github.com>
Co-authored-by: Joel Hawksley <joel@hawksley.org>
claudiob pushed a commit to claudiob/view_component that referenced this pull request Dec 22, 2023
…iewComponent#1674)

* Add capture_compatibility_patch_enabled as option

Related to ViewComponent#1650 and ViewComponent#1644

* Update CHANGELOG.md

* Update docs/known_issues.md

* Update docs/known_issues.md

* reorder item

* make test more flexible to account for change in rails main

---------

Co-authored-by: Joel Hawksley <joelhawksley@github.com>
Co-authored-by: Joel Hawksley <joel@hawksley.org>
claudiob pushed a commit to claudiob/view_component that referenced this pull request Jan 3, 2024
* Update section on form_for compatibility

Fix prose errors

Fix pose errors

Fix markdown lint error MD007

* Update CHANGELOG.md

Update docs/CHANGELOG.md

Co-authored-by: Cameron Dutro <camertron@gmail.com>

* Update docs/known_issues.md

Co-authored-by: Cameron Dutro <camertron@gmail.com>

* Update options

* Move section up so that all FormBuilder related is together

* Be more specific about the issue

* Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Update docs/known_issues.md

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>

* Elaborate on "classic" FormBuilder

* Apply suggestions from code review

Co-authored-by: Joel Hawksley <joelhawksley@github.com>

* Fix statement

default way / classic way / the way how originally intended in Ruby on Rails land

* Apply suggestions from code review

---------

Co-authored-by: Cameron Dutro <camertron@gmail.com>
Co-authored-by: Hans Lemuet <Spone@users.noreply.github.com>
Co-authored-by: Joel Hawksley <joelhawksley@github.com>
Co-authored-by: Joel Hawksley <joel@hawksley.org>
claudiob pushed a commit to claudiob/view_component that referenced this pull request Jan 3, 2024
…iewComponent#1674)

* Add capture_compatibility_patch_enabled as option

Related to ViewComponent#1650 and ViewComponent#1644

* Update CHANGELOG.md

* Update docs/known_issues.md

* Update docs/known_issues.md

* reorder item

* make test more flexible to account for change in rails main

---------

Co-authored-by: Joel Hawksley <joelhawksley@github.com>
Co-authored-by: Joel Hawksley <joel@hawksley.org>
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.

5 participants