Resolves #1 to at least an initial extent to branch from for additional community/collection theming.
Description
Adds an initial custom TAMU theme to DSpace 7 frontend following User Interface Customization Guide up until the simple item page customization.
Additional theming and customizations will certainly be required when we have communities, collections, and items to work with.
Instructions for Reviewers
Start DSpace 7 REST webapp either locally or using dspace-docker develop. This provides option to specify branch for both DSpace and dspace-angular in which to build image.
If wanting to run dspace-angular locally with yarn, you can exclude the dspace-angular service from the docker-compose.yml and run via yarn start:dev
Either update config.yml accordingly to communicate with backend or copy to config.dev.yml and update. The config.dev.yml file will be ignored by git and used for development NODE_ENV using yarn start:dev
List of changes in this PR:
Copied dspace theme to tamu theme under src/themes
Update src/themes/eager-themes.module.ts to import tamu theme module*
Update angular.json styles attribute to include tamu theme styles
Updated config.yml to use tamu theme and its favicons by default*
Added custom tamu i18n en.json5 file with some renaming of DSpace to OAKTrust
Merged custom tamu i18n with actual used i18n en.json5*
*Changes to files in which may have merge conflicts upon upgrade. We can discard the config.yml changes with a set of environment variables. However, the i18n changes are required in the actual i18n files which are merged from custom i18n changes with the following command.
yarn merge-i18n -s src/themes/tamu/assets/i18n
Checklist
[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes ESLint validation using yarn lint
[x] My PR doesn't introduce circular dependencies (verified via yarn check-circ-deps)
[ ] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[ ] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[ ] If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
[ ] If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
References
Resolves #1 to at least an initial extent to branch from for additional community/collection theming.
Description
Adds an initial custom TAMU theme to DSpace 7 frontend following User Interface Customization Guide up until the simple item page customization.
Additional theming and customizations will certainly be required when we have communities, collections, and items to work with.
Instructions for Reviewers
Start DSpace 7 REST webapp either locally or using dspace-docker develop. This provides option to specify branch for both DSpace and dspace-angular in which to build image.
If wanting to run dspace-angular locally with yarn, you can exclude the dspace-angular service from the docker-compose.yml and run via
yarn start:dev
List of changes in this PR:
dspace
theme totamu
theme undersrc/themes
src/themes/eager-themes.module.ts
to importtamu
theme module*angular.json
styles attribute to includetamu
theme stylestamu
theme and its favicons by default*tamu
home page template with text available at https://oaktrust.library.tamu.edu/*Changes to files in which may have merge conflicts upon upgrade. We can discard the config.yml changes with a set of environment variables. However, the i18n changes are required in the actual i18n files which are merged from custom i18n changes with the following command.
Checklist
yarn lint
yarn check-circ-deps
)package.json
), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.