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

Customizing Backend section out of date #140

Open
debreczeni opened this issue Dec 19, 2024 · 1 comment
Open

Customizing Backend section out of date #140

debreczeni opened this issue Dec 19, 2024 · 1 comment

Comments

@debreczeni
Copy link

debreczeni commented Dec 19, 2024

I am still learning the ecosystem and trying to figure out the different ways to override what's in the gems. I am trying to add a new "intro" field on the product edit form, but looking at the edgeguides it is referring to overriding views using deface, whereas the current solidus_admin repo is using ViewComponents and the view path being referred in the guides are not present anymore.

EDIT: Looking at the discussion at solidusio/solidus#4594 what would be the preferred way to update/extend/override admin views? Just copying over the relevant component files from the gem to the projects folder?
UPDATE2: I have now found this: ViewComponent/view_component#411 and this: solidusio/solidus#5099 and this: https://github.com/solidusio/solidus/blob/main/admin/docs/components.md and this: https://github.com/solidusio/solidus/blob/main/admin/docs/customizing_components.md and have gone through all of them, and tried every possible suggested way to override an admin component, even with the explicit component override, and none of them worked. I keep trying...

Solidus Version:
4.4.2 Solidus
0.3.2 Solidus Admin

To Reproduce
Visit https://github.com/solidusio/edgeguides/blob/main/docs/customization/customizing-the-backend.mdx and try to follow instructions for overriding a Product or Order view...

Current behavior
Inconsistency between edge guides and edge admin release.

Expected behavior
Edge guides should be in sync.

@debreczeni
Copy link
Author

Went down the rabbit hole and figured what is going on, went through a little journey: solidusio/solidus#6042 and ended up with the following pull request: #141

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

No branches or pull requests

1 participant