Skip to content

Override: improve overridable components  #2041

@jrcastro2

Description

@jrcastro2

Is your feature request related to a problem? Please describe.

Some components are reused by different react apps but they are not properly namespaced. This casues that the components cannot be overriden in each react app.

Describe the solution you'd like

Each react app should be able to override it's own components without affeting components from other react apps.

Describe alternatives you've considered

When setting the ids of the overridable components, they have the be build with the id of the app.

Additional context

Thie implementation of this was started and partially implemented by the following issue #2018

Repositories that should include the namespacing:

  • invenio-requests
  • react-invenio-deposit
  • invenio-administration

It would aslo be nice to review how the Overridable cmp is being used internally between the modules and if we can improve how we share the appName among the components (appName is used to buid the overriden ID).

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleNo activity for more than 60 days.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions