Add 'branding/constants/dateTime.js' 'RELATIVE_DATETIME', 'ABSOLUT_DATETIME_FORMAT' to the docs

This commit is contained in:
Wolfgang Huß 2024-02-06 16:39:10 +01:00
parent 18fe23a4be
commit 412fc04d15
2 changed files with 23 additions and 2 deletions

View File

@ -2,7 +2,9 @@
When you introduce a new version and branding and deploy it on your network, you need to consider the following changes and actions:
## Version >= 3.1.3 with 'ocelotDockerVersionTag' 3.1.3-XXX
## Version >= 3.2.0 with 'ocelotDockerVersionTag' 3.2.0-XXX
### Backend and Kubernetes Config `DBMS_DEFAULT_DATABASE`
- We have the new option to configure the default name of the Neo4j database to be used for operations and commands in environment variables (`.env`, `docker-compose.yml` or `values.yaml`).
For more details see [deployment-values.md](deployment-values.md):
@ -13,6 +15,10 @@ DBMS_DEFAULT_DATABASE: "graph.db"
The default value is `neo4j` if it is not set.
### Webapp Config `dateTime`
- You can set `RELATIVE_DATETIME` and `ABSOLUT_DATETIME_FORMAT` in `branding/constants/dateTime.js` originally in main code file `webapp/constants/dateTime.js` to your preferred values.
## Version >= 3.1.0 with 'ocelotDockerVersionTag' 3.1.0-555
- We have the new option to configure DKIM for sent e-mails in environment variables (`.env`, `docker-compose.yml` or `values.yaml`), see [deployment-values.md](deployment-values.md):
@ -26,7 +32,7 @@ The default value is `neo4j` if it is not set.
## Version >= 2.4.0 with 'ocelotDockerVersionTag' 2.4.0-298
- You have to set `SHOW_CONTENT_FILTER_HEADER_MENU` and `SHOW_CONTENT_FILTER_MASONRY_GRID` in `branding/constants/filter.js` originally in main code file `webapp/constants/filter.js` to your preferred value.
- You have to set `SHOW_CONTENT_FILTER_HEADER_MENU` and `SHOW_CONTENT_FILTER_MASONRY_GRID` in `branding/constants/filter.js` originally in main code file `webapp/constants/filter.js` to your preferred values.
### Main Code PR feat(webapp): map #5843

View File

@ -3,6 +3,21 @@
For each deployment, you need to set the environment variables and configurations.
Here is some specific information on how to set the values.
## Webapp
We have several configuration possibilities just in the frontend.
### Date Time
In file `branding/constants/dateTime.js`.
- `RELATIVE_DATETIME`
- `true` (default) or `false`
- `ABSOLUT_DATETIME_FORMAT`
- definition see [date-fns, format](https://date-fns.org/v3.3.1/docs/format):
- `P`: just localized date
- `Pp`: just localized date and time
## E-Mails
You need to set environment variables to send registration and invitation information or notifications to users, for example.