Skip to content

Commit 9e9f958

Browse files
authored
Add a link to the paper with some context. (#258)
Also make the info text slightly smaller and make the content of the tooltips clickable.
1 parent c9a4f16 commit 9e9f958

4 files changed

Lines changed: 32 additions & 8 deletions

File tree

src/components/GeocodingSearch.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,17 @@ const onLocationSelected = (item: { value: PlaceResult; title: string } | null)
7676
dense
7777
variant="outlined"
7878
></v-autocomplete>
79-
<v-tooltip max-width="400" open-on-click>
79+
<v-menu open-on-hover :close-on-content-click="false" max-width="400">
8080
<template #activator="{ props }">
8181
<v-icon class="ml-1" :icon="mdiHelpCircleOutline" size="x-small" v-bind="props"></v-icon>
8282
</template>
83-
Geocoding provided by Nominatim.<br />
84-
&copy; OpenStreetMap, https://openstreetmap.org<br />
85-
License: ODbL
86-
</v-tooltip>
83+
<v-sheet class="pa-3 text-body-2">
84+
Geocoding provided by Nominatim.<br />
85+
&copy; OpenStreetMap,
86+
<a href="https://openstreetmap.org" target="_blank" rel="noopener">openstreetmap.org</a
87+
><br />
88+
License: ODbL
89+
</v-sheet>
90+
</v-menu>
8791
</div>
8892
</template>

src/components/GlobalDataPanel.vue

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,25 @@ const handleLocationSelected = (place: PlaceResult) => {
2727

2828
<template>
2929
<div class="settings">
30-
<v-alert density="compact" color="gray" class="mb-2">
30+
<v-alert density="compact" color="gray" class="mb-2 introduction">
3131
The <strong>global predictions</strong> provide global-scale estimates of agricultural fields
32-
for 2024 and 2025. They were computed using the model <strong>FTW v3: CC-BY, B7</strong>.
32+
for 2024 and 2025. They were computed using the model
33+
<v-menu open-on-hover :close-on-content-click="false" max-width="400">
34+
<template #activator="{ props }">
35+
<strong v-bind="props" style="cursor: pointer; text-decoration: underline dotted"
36+
>FTW v3: CC-BY, B7</strong
37+
>
38+
</template>
39+
<v-sheet class="pa-3 text-body-2"
40+
>Please refer to our paper "<a
41+
href="https://arxiv.org/abs/2603.27101"
42+
target="_blank"
43+
rel="noopener"
44+
>PRUE: A Practical Recipe for Field Boundary Segmentation at Scale</a
45+
>" for more information. The model version "FTW v3" is also named "PRUE" in the
46+
paper.</v-sheet
47+
> </v-menu
48+
>.
3349
</v-alert>
3450

3551
<v-row class="d-flex justify-center w-100 mx-auto mb-0">

src/components/ProcessingPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ defineExpose({ openModelSelection })
411411
density="compact"
412412
:type="isBatchProcessing ? 'warning' : 'info'"
413413
:color="isBatchProcessing ? 'warning' : 'gray'"
414-
class="mb-2"
414+
class="mb-2 introduction"
415415
>
416416
<template v-if="!currentMgrsTileId">
417417
<strong>Please select an area of interest.</strong> Click on the map to select an area or

src/styles/sidebar.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
display: flex;
88
flex-direction: column;
99
background-color: rgba(0, 0, 0, 0.9);
10+
11+
.introduction {
12+
font-size: 90%;
13+
}
1014
}
1115

1216
.sidebar.global {

0 commit comments

Comments
 (0)