Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we remove HelpText for V1? #2904

Open
mimarz opened this issue Dec 16, 2024 · 3 comments · May be fixed by #2956
Open

Should we remove HelpText for V1? #2904

mimarz opened this issue Dec 16, 2024 · 3 comments · May be fixed by #2956
Assignees
Labels
🕵️ investigate Needs investigation react @digdir/designsystemet-react

Comments

@mimarz
Copy link
Collaborator

mimarz commented Dec 16, 2024

Write down our thoughts and prayers

@mimarz mimarz added the react @digdir/designsystemet-react label Dec 16, 2024
@mimarz mimarz added this to the V1 - Must-have milestone Dec 16, 2024
@mimarz mimarz moved this to 🔵 Inbox in Team Design System Dec 16, 2024
@mrosvik mrosvik added the 🕵️ investigate Needs investigation label Jan 6, 2025
@mrosvik
Copy link
Member

mrosvik commented Jan 6, 2025

Related to findings in: #2892

@mrosvik
Copy link
Member

mrosvik commented Jan 6, 2025

Meeting 06.01.25
@Thunear @Barsnes @mimarz @Febakke @mrosvik

Reason for removal:

  • The component is simple to implement independently with a short CSS snippet. It consists of a popover connected to a button.
  • There is uncertainty about when and how the design system should recommend using it.
  • It is uncommon to have a HelpText-component in a design system.
  • When we include the HelpText as a popover in our design system, we imply that users should display all help text this way. This is problematic as there are multiple ways to present additional information, and HelpText will only address a small portion of those needs.
  • We cannot find any strong arguments for keeping it.

Suggested Action:

  1. Write an article explaining the removal of the HelpText component. The article should demonstrate how to build the same functionality by combining components from the design system, supplemented by a code snippet for easy implementation.

  2. Await further insights and usability testing to develop clear recommendations for when to use different approaches to providing additional information in interfaces. (ref. Research on best practices for providing additional information #2892)

Challenge
Service owners in Altinn are accustomed to this pattern. A dedicated HelpText component may still be necessary for Altinn's use cases, and they might need to maintain a solution on their own.

Next steps

  • Inform users and invite them to share their opinions on this
  • Write article about removal (Blog post) + offer a code block for recreation.

@mrosvik mrosvik moved this from 🔵 Inbox to 📄 Todo in Team Design System Jan 7, 2025
@mrosvik
Copy link
Member

mrosvik commented Jan 7, 2025

@Barsnes Barsnes linked a pull request Jan 7, 2025 that will close this issue
@Barsnes Barsnes moved this from 📄 Todo to 👀 Ready for review in Team Design System Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕵️ investigate Needs investigation react @digdir/designsystemet-react
Projects
Status: 👀 Ready for review
Development

Successfully merging a pull request may close this issue.

3 participants