ipfs-shipyard / ipfs-shipyard/pm-idm

Improve TooltipTrigger's implementation

Open
#78 2 comments 0 reactions 0 assignees View on GitHub
code debt frontend task
Dominant language
No language data
Stars
64
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## Description

With its current implementation, the tooltip trigger requires that the trigger element be a class component, so as to pass it a reference. This should not be the case as the implementation of an element should not depend on whether it will be used as a tooltip trigger or not.

## Acceptance Criteria

- [ ] The TooltipTrigger can accept functional components as triggers.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the TooltipTrigger implementation and any existing tests, then read how it obtains a reference from the trigger element. Done means a functional component can be used as the trigger without requiring the trigger itself to be a class component, while existing tooltip behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
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.