influxdata / influxdata/clockface

Allow popover to contain multiple lines

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

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
46
Forks
18
Avg merge
2d 7h
Merged PRs (30d)
1

Description

**Is your feature request related to a problem? Please describe.**
We have a nice popover component that we use for confirmation dialogs. There are scenarios where you might want to give them a bit more context before they confirm, and thus multi-line support would be beneficial.

**Describe the solution you'd like**
Allow popovers to contain multiple lines of text.

**Describe alternatives you've considered**
As a temporary fix, we have used a modal instead but a popover would more closely match our use case.

**Additional context**
Essentially, we want to have a lightweight warning here before we allow them to override their existing certificate.
image

Contributor guide

Open the contributing guide

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 by locating the popover component and reviewing how it currently renders confirmation text. Check the component's existing tests or examples, then consider the work complete when a popover can display the requested warning across multiple lines without requiring a modal.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.