Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ You can also check the

- Features
- Links in table charts now open in the same tab
- Added a link to "Digitale Publikationen" in the footer

### 6.2.1 - 2025-11-24

Expand Down
13 changes: 13 additions & 0 deletions app/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,19 @@ export const Footer = ({ sx }: { sx?: SxProps }) => {
/>
</Link>
</NextLink>
<Link
href={`https://bafu-yearbook-forest-wood-concept-docs.interactivethings.io/#/technisches-konzept?a=proof-of-concept-mit-datocms`}
target="_blank"
underline="none"
>
<FooterSectionButton
iconName="external"
label={t({
id: "footer.forest-wood-concept",
message: "Project “Digitale Publikationen” (PoC 2023)",
})}
/>
</Link>
</FooterSection>
</SwissFederalCiFooter>
);
Expand Down
1 change: 0 additions & 1 deletion app/docs/homepage.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ import { Contribute, Examples, Intro, Tutorial, Newsletter, BugReport, FeatureRe
buttonUrl={createMailtoLink("en", {
recipients: {
to: "visualize@bafu.admin.ch",
bcc: "support@interactivethings.com",
},
template: featureRequestTemplates,
subject: "Visualize Feature Request",
Expand Down
7 changes: 1 addition & 6 deletions app/docs/homepage.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import { Meta } from "@storybook/react";

import { Actions, Examples, Intro, Tutorial } from "@/homepage";
import { bugReportTemplates } from "@/templates/email/bug-report";
import {
OWNER_ORGANIZATION_EMAIL,
SUPPORT_EMAIL,
} from "@/templates/email/config";
import { OWNER_ORGANIZATION_EMAIL } from "@/templates/email/config";
import { featureRequestTemplates } from "@/templates/email/feature-request";
import { newsletterTemplates } from "@/templates/email/newsletter";

Expand Down Expand Up @@ -70,7 +67,6 @@ const HomepageStory = {
buttonUrl: createMailtoLink("en", {
recipients: {
to: OWNER_ORGANIZATION_EMAIL,
bcc: SUPPORT_EMAIL,
},
template: bugReportTemplates,
subject: "Visualize Bug Report",
Expand All @@ -84,7 +80,6 @@ const HomepageStory = {
buttonUrl: createMailtoLink("en", {
recipients: {
to: OWNER_ORGANIZATION_EMAIL,
bcc: SUPPORT_EMAIL,
},
template: featureRequestTemplates,
subject: "Visualize Feature Request",
Expand Down
12 changes: 8 additions & 4 deletions app/locales/de/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ msgstr "Embed-Code für «Externe Applikation»"
msgid "controls.section.animation.dynamic-scaling.explanation"
msgstr "Aktivieren Sie die dynamische Skalierung, um die Skalierung des Diagramms auf der Grundlage des Datenbereichs anzupassen und eine optimale Visualisierung zu gewährleisten."

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Links aktivieren"

#: app/configurator/components/chart-options-selector/conversion-units-field.tsx
msgid "controls.convert-unit.enable"
msgstr "Einheitenumrechnung aktivieren"
Expand Down Expand Up @@ -1452,6 +1456,10 @@ msgstr "Vorschau in kleiner Breite"
msgid "button.layout"
msgstr "Weiter zu den Layout-Optionen"

#: app/components/footer.tsx
msgid "footer.forest-wood-concept"
msgstr "Projekt „Digitale Publikationen“ (PoC 2023)"

#: app/configurator/components/configurator.tsx
msgid "button.publish"
msgstr "Veröffentlichen"
Expand Down Expand Up @@ -1752,10 +1760,6 @@ msgstr "Legendentitel anzeigen"
msgid "show.less"
msgstr "Weniger anzeigen"

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Links aktivieren"

#: app/components/metadata-panel.tsx
msgid "controls.metadata-panel.show-more"
msgstr "Zeig mehr"
Expand Down
12 changes: 8 additions & 4 deletions app/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ msgstr "Embed Code for \"External Application\""
msgid "controls.section.animation.dynamic-scaling.explanation"
msgstr "Enable dynamic scaling to adjust the chart's scale based on the data range, ensuring optimal visualization."

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Enable links"

#: app/configurator/components/chart-options-selector/conversion-units-field.tsx
msgid "controls.convert-unit.enable"
msgstr "Enable unit conversion"
Expand Down Expand Up @@ -1452,6 +1456,10 @@ msgstr "Preview with small width"
msgid "button.layout"
msgstr "Proceed to layout options"

#: app/components/footer.tsx
msgid "footer.forest-wood-concept"
msgstr "Project “Digitale Publikationen” (PoC 2023)"

#: app/configurator/components/configurator.tsx
msgid "button.publish"
msgstr "Publish"
Expand Down Expand Up @@ -1752,10 +1760,6 @@ msgstr "Show legend titles"
msgid "show.less"
msgstr "Show less"

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Enable links"

#: app/components/metadata-panel.tsx
msgid "controls.metadata-panel.show-more"
msgstr "Show more"
Expand Down
12 changes: 8 additions & 4 deletions app/locales/fr/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ msgstr "Code pour intégration dans une \"Application Externe\""
msgid "controls.section.animation.dynamic-scaling.explanation"
msgstr "Activez la mise à l'échelle dynamique pour ajuster l'échelle du graphique en fonction de la plage de données, afin de garantir une visualisation optimale."

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Activer les liens"

#: app/configurator/components/chart-options-selector/conversion-units-field.tsx
msgid "controls.convert-unit.enable"
msgstr "Activer la conversion d'unité"
Expand Down Expand Up @@ -1452,6 +1456,10 @@ msgstr "Aperçu en petite largeur"
msgid "button.layout"
msgstr "Passer aux options de présentation"

#: app/components/footer.tsx
msgid "footer.forest-wood-concept"
msgstr "Projet « Digitale Publikationen » (PoC 2023)"

#: app/configurator/components/configurator.tsx
msgid "button.publish"
msgstr "Publier"
Expand Down Expand Up @@ -1752,10 +1760,6 @@ msgstr "Afficher les titres des légendes"
msgid "show.less"
msgstr "Afficher moins"

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Activer les liens"

#: app/components/metadata-panel.tsx
msgid "controls.metadata-panel.show-more"
msgstr "Détails"
Expand Down
12 changes: 8 additions & 4 deletions app/locales/it/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,10 @@ msgstr "Codice da incorporare per \"External Application\""
msgid "controls.section.animation.dynamic-scaling.explanation"
msgstr "Abilitare la scalatura dinamica per regolare la scala del grafico in base all'intervallo di dati, garantendo una visualizzazione ottimale."

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Abilita i collegamenti"

#: app/configurator/components/chart-options-selector/conversion-units-field.tsx
msgid "controls.convert-unit.enable"
msgstr "Abilita conversione unità"
Expand Down Expand Up @@ -1452,6 +1456,10 @@ msgstr "Anteprima sul telefono"
msgid "button.layout"
msgstr "Procedi alle opzioni di layout"

#: app/components/footer.tsx
msgid "footer.forest-wood-concept"
msgstr "Progetto “Digitale Publikationen” (PoC 2023)"

#: app/configurator/components/configurator.tsx
msgid "button.publish"
msgstr "Pubblicare"
Expand Down Expand Up @@ -1752,10 +1760,6 @@ msgstr "Mostra i titoli delle leggende"
msgid "show.less"
msgstr "Mostra meno"

#: app/configurator/table/configurator/links-section.tsx
msgid "controls.tableSettings.showLinks"
msgstr "Abilita i collegamenti"

#: app/components/metadata-panel.tsx
msgid "controls.metadata-panel.show-more"
msgstr "Mostra di più"
Expand Down
7 changes: 1 addition & 6 deletions app/login/components/login-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ import { useLocale } from "@/locales/use-locale";
import { useUser } from "@/login/utils";
import { createMailtoLink } from "@/templates/email";
import { bugReportTemplates } from "@/templates/email/bug-report";
import {
OWNER_ORGANIZATION_EMAIL,
SUPPORT_EMAIL,
} from "@/templates/email/config";
import { OWNER_ORGANIZATION_EMAIL } from "@/templates/email/config";
import { featureRequestTemplates } from "@/templates/email/feature-request";

export const LoginMenu = () => {
Expand Down Expand Up @@ -180,7 +177,6 @@ const Feedback = ({
href={createMailtoLink(locale, {
recipients: {
to: OWNER_ORGANIZATION_EMAIL,
bcc: SUPPORT_EMAIL,
},
template: bugReportTemplates,
subject: "Visualize Bug Report",
Expand All @@ -196,7 +192,6 @@ const Feedback = ({
href={createMailtoLink(locale, {
recipients: {
to: OWNER_ORGANIZATION_EMAIL,
bcc: SUPPORT_EMAIL,
},
template: featureRequestTemplates,
subject: "Visualize Feature Request",
Expand Down
1 change: 0 additions & 1 deletion app/templates/email/config.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export const OWNER_ORGANIZATION_EMAIL = "visualize@bafu.admin.ch";
export const SUPPORT_EMAIL = "support@interactivethings.com";