Skip to content

Commit

Permalink
Add tooltip helper text on web settings page buttons
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
debanjum committed Jul 10, 2023
1 parent 255781e commit 979088b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/khoj/interface/web/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -199,13 +199,13 @@ <h3 class="card-title">
</div>
</div>
<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>
<input type="range" id="results-count-slider" name="results-count-slider" min="1" max="10" step="1" value="5">
</div>
<div id="status" style="display: none;"></div>
<button id="configure" type="submit">⚙️ Configure</button>
<button id="reinitialize" type="submit">🔄 Reinitialize</button>
<button id="configure" type="submit" title="Update index with the latest changes">⚙️ Configure</button>
<button id="reinitialize" type="submit" title="Regenerate index from scratch">🔄 Reinitialize</button>
</div>
</div>
<script>
Expand Down

0 comments on commit 979088b

Please sign in to comment.