Skip to content

Surface Hyrax.config (for javascript) on page render #2366

@revgum

Description

@revgum

Descriptive summary

Hyrax.config is compiled in the asset pipeline, this adds friction to changing/updating configurations (only for uploader right now). See: https://github.com/samvera/hyrax/blob/master/app/assets/javascripts/hyrax/config.js.erb

It would be nice to have the configuration rendered in a script block on page render so that these configurations can be changed in the hyrax initializer and the app restarted.

Rationale

This could eliminate the need for recompiling assets and/or deploying the application. In our production environment, the hyrax initializer is symlinked and managed on the server.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions