Add tooltip helper text on web settings page buttons

- Provide more details on what clicking configure, initialize buttons
  or changing the results count slider does
- This shows up on user hovering over those buttons
This commit is contained in:
Debanjum Singh Solanky 2023-07-10 13:32:41 -07:00
parent 255781e135
commit 979088b3dc

View file

@ -199,13 +199,13 @@
</div> </div>
</div> </div>
<div class="section"> <div class="section">
<div id="results-count"> <div id="results-count" title="Number of items to show in search and use for chat response">
<label for="results-count-slider">Results Count: <span id="results-count-value">5</span></label> <label for="results-count-slider">Results Count: <span id="results-count-value">5</span></label>
<input type="range" id="results-count-slider" name="results-count-slider" min="1" max="10" step="1" value="5"> <input type="range" id="results-count-slider" name="results-count-slider" min="1" max="10" step="1" value="5">
</div> </div>
<div id="status" style="display: none;"></div> <div id="status" style="display: none;"></div>
<button id="configure" type="submit">⚙️ Configure</button> <button id="configure" type="submit" title="Update index with the latest changes">⚙️ Configure</button>
<button id="reinitialize" type="submit">🔄 Reinitialize</button> <button id="reinitialize" type="submit" title="Regenerate index from scratch">🔄 Reinitialize</button>
</div> </div>
</div> </div>
<script> <script>