Skip to content

Customizing Backend section out of date #140

@debreczeni

Description

@debreczeni

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions