syslog-ng / syslog-ng/syslog-ng.github.io

Now we have the correct tooltip size, add code to prevent tooltip overflow on window edges in all directions.

Open
#44 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
6
Forks
15
Avg merge
4h 32m
Merged PRs (30d)
5

Description

Using a tooltipRenderer helper finally, we have the correct tooltip size before showing it.

  • Add code that calculates a position that prevents tooltip overflow on window edges in all directions. navigation.js - showTooltip()
  • Prevent scrolling (attach to head instead of content) the tooltips of the sticky items e.g. masthead - search help

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in navigation.js at showTooltip(), using the tooltipRenderer helper that provides the tooltip size. Trace how tooltips for sticky items such as the masthead search help are attached, then verify positioning at every window edge and that sticky tooltips do not scroll with content.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.