Skip to content

Commit 6ef38b7

Browse files
CopilotAlexLipp
andauthored
feat: reword info modal attribution and add copyright to attribution banner
Agent-Logs-Url: https://github.com/JonnyDawe/UK-Sewage-Map/sessions/23579ffe-2c83-4ccb-99c0-36f71b2b1597 Co-authored-by: AlexLipp <10188895+AlexLipp@users.noreply.github.com>
1 parent 24a357c commit 6ef38b7

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

src/components/Map/commands/AddDischargeSources/AddDischargeSourcesCommand.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export class AddDischargeSourcesCommand implements MapCommand {
5555
},
5656
title: 'Thames Water',
5757
id: this.generateLayerId('Thames Water'),
58+
copyright: 'Thames Water',
5859
outFields: ['*'],
5960
renderer: thamesWaterAlertStatusRenderer,
6061
popupTemplate: dischargePopupTemplate,
@@ -162,6 +163,7 @@ export class AddDischargeSourcesCommand implements MapCommand {
162163
return new FeatureLayer({
163164
title: 'Scottish Water',
164165
id: this.generateLayerId('Scottish Water'),
166+
copyright: 'Scottish Water',
165167
source: graphics,
166168
geometryType: 'point',
167169
spatialReference: { wkid: 4326 },

src/components/Modal/InformationModal.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,22 +78,20 @@ const InformationModal = () => {
7878
</Heading>
7979
<Text>
8080
The data is collected through Event Duration Monitoring by individual water
81-
companies, providing near-real time data on storm overflows. The data is
82-
accessed from the{' '}
81+
companies, providing near-real time data on storm overflows. Storm overflows
82+
release untreated, diluted sewage into the environment. Most data is accessed
83+
from the{' '}
8384
<Link href="https://www.streamwaterdata.co.uk/pages/storm-overflows-data">
8485
Storm Overflow Hub
8586
</Link>{' '}
86-
maintained by Water UK. Storm overflows release untreated, diluted sewage into
87-
the environment.{' '}
88-
<Link href="https://data.thameswater.co.uk/s/">Thames Water</Link> provide an
89-
API to historical sewage spill data. Near real-time overflow data for Scotland
90-
is sourced directly from{' '}
87+
maintained by Water UK.{' '}
88+
<Link href="https://data.thameswater.co.uk/s/">Thames Water</Link> and{' '}
9189
<Link href="https://www.scottishwater.co.uk/Help-and-Resources/Open-Data/Overflow-Map-Data">
9290
Scottish Water
9391
</Link>{' '}
94-
(data used under open licence; Scottish Water must be cited as the source). We
95-
wrote an article about why water companies need to be more transparent with
96-
environmental models and data in{' '}
92+
provide their own APIs which we use for their regions. We wrote an article
93+
about why water companies need to be more transparent with environmental
94+
models and data in{' '}
9795
<Link href="https://theconversation.com/water-companies-now-have-to-release-live-sewage-spill-data-heres-why-more-transparency-is-the-key-to-cleaner-rivers-239444">
9896
The Conversation.
9997
</Link>

0 commit comments

Comments
 (0)