alessandro trinca tornidor commited on
Commit
0e6892b
1 Parent(s): 0c9e62a

[feat] update the onbard user tour with driver.js

Browse files
static/src/components/PageLisaMap.vue CHANGED
@@ -63,7 +63,7 @@
63
  {statName: 'current map name/type', statValue: currentBaseMapNameRef}
64
  ]"/>
65
  </div>
66
- <h2>LISA response: <span class="text-lg text-blue-600">{{ responseMessageLisaRef }}</span></h2>
67
  <div v-if="responseMessageRef === waitingString"/>
68
  <h2 v-else-if="responseMessageRef || responseMessageRef == '-'" class="text-lg text-red-600">
69
  {{ responseMessageRef }}</h2>
@@ -151,7 +151,7 @@ const lisaDriverObj = driver({
151
  {
152
  element: "#prompt-text-placeholder", popover: {
153
  title: 'Default prompt prefix',
154
- description: 'A good LLM prompt prefix tailored for photogrammetry and remote sensing (editable)'
155
  }
156
  },
157
  {
@@ -168,6 +168,10 @@ const lisaDriverObj = driver({
168
  element: '.leaflet-control-layers-toggle',
169
  popover: {title: 'Map provider selector', description: 'select a different map provider'}
170
  },
 
 
 
 
171
  {
172
  element: '#id-map-info', popover: {
173
  title: 'map info',
@@ -181,7 +185,7 @@ const lisaDriverObj = driver({
181
  {
182
  element: "#detail-prompt-examples-array", popover: {
183
  title: 'Detail: Array of Prompt Examples',
184
- description: 'Click here to show the array of prompt examples'
185
  }
186
  },
187
  ]
 
63
  {statName: 'current map name/type', statValue: currentBaseMapNameRef}
64
  ]"/>
65
  </div>
66
+ <h2 id="lisa-response-text">LISA response: <span class="text-lg text-blue-600">{{ responseMessageLisaRef }}</span></h2>
67
  <div v-if="responseMessageRef === waitingString"/>
68
  <h2 v-else-if="responseMessageRef || responseMessageRef == '-'" class="text-lg text-red-600">
69
  {{ responseMessageRef }}</h2>
 
151
  {
152
  element: "#prompt-text-placeholder", popover: {
153
  title: 'Default prompt prefix',
154
+ description: 'A good LLM prompt prefix tailored for photogrammetry, remote sensing and geomorphology (editable)'
155
  }
156
  },
157
  {
 
168
  element: '.leaflet-control-layers-toggle',
169
  popover: {title: 'Map provider selector', description: 'select a different map provider'}
170
  },
171
+ {
172
+ element: '#lisa-response-text',
173
+ popover: {title: 'LISA response text', description: 'Output area with the LISA response text'}
174
+ },
175
  {
176
  element: '#id-map-info', popover: {
177
  title: 'map info',
 
185
  {
186
  element: "#detail-prompt-examples-array", popover: {
187
  title: 'Detail: Array of Prompt Examples',
188
+ description: 'Click here to expand the array of prompt examples (closed by default)'
189
  }
190
  },
191
  ]