USACE / groundwork

React Components for USACE Applications
https://usace.github.io/groundwork
4 stars 0 forks source link

User Configuration Options #26

Open jbkolze opened 2 months ago

jbkolze commented 2 months ago

A streamlined process for ingesting user-supplied configuration options should be developed.

The primary identified use case is for setting a user-defined CDA URL to use rather than the default provided by groundwork. Currently, this is allowed through the passing of a property (GROUNDWORK_CDA_URL) set on the global window object -- not ideal.

Another potential use case would be to set a default "office" parameter for CDA calls, as this will generally be set to the same value in 100% of a WM office's CDA requests.