Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

As the DSpace 7 User Interface is built on Angular.io, it aligns with many of the best practices of that platform & the surrounding community.  One example is that Configuration files (along with much of the UI code) use the TypeScript language.  That said, you do NOT need to be deeply familiar with TypeScript to edit the configuration files. Much of the syntax is very similar to JSON, which is a common configuration format.

Warning
titleYou must rebuild after any configuration changeIn DSpace 7.2 and above, the UI Configuration format changed to support runtime configuration loading

As of DSpace 7.2, the UI configuration format has changed to YAML in order to support runtime configuration.  This means that reloading configurations now simply requires restarting the UI (which generally takes a few seconds).


In DSpace 7.1 and below, you had to At this time, you must rebuild the UI anytime you modify modified a configuration setting.  This is because the currently active configuration is in your ./src/environments/environment.ts which is the compiled/deduped version of your configuration after applying all overridesThe UI configuration format was Typescript which required recompiling each time a setting changed.

Configuration Override

The UI configuration files reside in the ./src/environments/ folder in the Angular UI source code.  The default configuration are in environment.common.ts in that directory.

...