Skip to content

Commit 3f8755e

Browse files
Version 7.11.0
1 parent 6bfdf50 commit 3f8755e

177 files changed

Lines changed: 2858 additions & 1015 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# Changelog
22

3+
## 7.11.0 2026-01-21
4+
5+
- Added timestamp to error message in metadata form
6+
- Changed mastodon link
7+
38
## 7.10.0 2026-01-07
49

510
- Changed default contact email address
611
- Removed automatic focus when link "show more" is clicked in a facet on the search results page
12+
- Add customization options for map preview styles and location search
13+
- Add customization options for features, texts and styles
714

815
## 7.9.1 2025-12-16
916

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,57 @@ npm run dev
2424

2525
see package.json for more scripts
2626

27+
28+
## Customization
29+
30+
The template engine provides flexible customization options through a structured override system.
31+
32+
### Text Localization
33+
34+
Override default text strings by modifying `webapp/src/i18n/locales/custom.json`. This file takes precedence over the base translations defined in the govdata namespace within `webapp/src/i18n/locales/de.json`.
35+
36+
The portal's name can be overwritten with a single line: `"portal.name": "CustomPortal"`. This name will be used in all other relevant translation texts.
37+
38+
### Styling
39+
40+
**Custom Styles**: Implement style overrides in `webapp/src/css/custom/_custom.scss`. This file is imported last in the SASS compilation order (as configured in `webapp/src/css/main.scss`), ensuring your customizations take precedence.
41+
42+
**Color Tokens**: Define custom color variables in `webapp/src/css/custom/_custom-color-tokens.scss`. Note that import order is critical for proper variable resolution.
43+
44+
### Feature Management
45+
46+
Control application features through the configuration file `webapp/src/configuration/featureFlags/featureFlags.custom.ts`. Reference the default configuration at `webapp/src/configuration/featureFlags/featureFlags.default.ts` for available options.
47+
48+
#### Footer Logo
49+
50+
When the feature `useSocialMediaLinks` is disabled, a footer logo with a clickable link will be rendered instead of social media links.
51+
52+
**Requirements:**
53+
- **Image**: Place your logo file as `footer_logo.svg` in the `public/images/` folder
54+
- **Environment Variables**:
55+
- `footer_logo_link`: The URL the logo should link to
56+
- `footer_logo_link_alt`: The alt text for the logo image (for accessibility)
57+
58+
59+
### Map Handling
60+
61+
Configure map behavior and appearance through `webapp/src/configuration/options/options.custom.ts`. Reference the default configuration at `webapp/src/configuration/options/options.default.ts` for available options.
62+
63+
#### Location Search
64+
65+
Customize the location search map by overriding the `locationsearch` property. Available options include:
66+
67+
- **view**: Map view settings (center, zoom levels, extent)
68+
- **defaultBoundingBox**: Default bounding box coordinates for the search area
69+
70+
#### Map Preview
71+
72+
Customize the appearance of map preview features by overriding the `resourcePreviewMap` property. Available options include:
73+
74+
- **strokeColor**: Border color of map features (hex format)
75+
- **fillColor**: Fill color of map features (hex format with optional alpha channel)
76+
77+
2778
## Helpful Links
2879

2980
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.

webapp/.env

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ be_gd_data_url=http://$testenv:9070/govdata-data
88
be_gd_db_url=http://$testenv:9070/govdata-db
99

1010
# SEARCHMAP
11-
BE_GD_DATA_SEARCHMAP_SESSION_ID=http://$testenv:9070/govdata-data/searchmap-sessionid
1211
BE_GD_DATA_SEARCHMAP_TILE_URL=
1312
BE_GD_DATA_MAP_PREVIEW_TILE_URL=
1413
BE_GD_DATA_SEARCHMAP_GEOSEARCH_URL=
@@ -27,9 +26,10 @@ linkedin_url=
2726
gitlab_url=
2827

2928
# features
30-
show_umbrella_brand_header=true
3129
show_user_survey_header=true
3230
user_survey_link=https://fitko.lamapoll.de/Nutzendenbefragung-GOVDATA
31+
footer_logo_link=
32+
footer_logo_link_alt=
3333

3434
# MAIL CONFIG
3535
# if disabled, no contactform will be shown and api/contact will be disabled
@@ -41,12 +41,12 @@ mail_smtp_password=
4141
mail_smtp_tls_enable=false
4242
mail_smtp_from_address=
4343
mail_smtp_to_address=
44-
45-
mail_fitko=govdata@fitko.de
44+
mail_datamanagement=
4645

4746
# matomo
4847
matomo_tracker_url =
4948
matomo_site_id =
49+
matomo_options=
5050

5151
data_management_active = 1
5252
metadata_guide_link=https://www.bva.bund.de/SharedDocs/Downloads/DE/Behoerden/Beratung/Methoden/open_data_leitfaden_metadaten.html

webapp/public/images/arrow_bottom.svg

Lines changed: 0 additions & 8 deletions
This file was deleted.

webapp/public/images/external.svg

Lines changed: 0 additions & 8 deletions
This file was deleted.

webapp/public/images/icons-big.png

-7.38 KB
Binary file not shown.

webapp/public/images/icons.png

-4.89 KB
Binary file not shown.

webapp/public/images/icons.svg

Lines changed: 0 additions & 150 deletions
This file was deleted.

webapp/public/images/info-blue.svg

Lines changed: 0 additions & 8 deletions
This file was deleted.

webapp/public/images/info.svg

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)