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

feat(Suggestion): ✨ new component #2881

Open
wants to merge 27 commits into
base: next
Choose a base branch
from
Open

feat(Suggestion): ✨ new component #2881

wants to merge 27 commits into from

Conversation

Barsnes
Copy link
Member

@Barsnes Barsnes commented Dec 11, 2024

#2832 #2610
resolves #2882

Copy link

changeset-bot bot commented Dec 11, 2024

🦋 Changeset detected

Latest commit: bab420f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@digdir/designsystemet-css Patch
@digdir/designsystemet-react Patch
@digdir/designsystemet Patch
@digdir/designsystemet-theme Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Dec 11, 2024

Preview deployments for this pull request:

Storybook - 10. Jan 2025 - 10:19

Storefront - 10. Jan 2025 - 10:21

Copy link
Contributor

github-actions bot commented Dec 11, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 54.59% 3199 / 5859
🔵 Statements 54.59% 3199 / 5859
🔵 Functions 83.41% 181 / 217
🔵 Branches 77.03% 520 / 675
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/react/src/components/Suggestion/Suggestion.tsx 29.16% 100% 0% 29.16% 46-155
packages/react/src/components/Suggestion/SuggestionClear.tsx 13.95% 100% 0% 13.95% 18-55, 62-77
packages/react/src/components/Suggestion/SuggestionEmpty.tsx 35.71% 100% 0% 35.71% 9-18
packages/react/src/components/Suggestion/SuggestionInput.tsx 37.5% 100% 0% 37.5% 12-24
packages/react/src/components/Suggestion/SuggestionList.tsx 33.33% 100% 0% 33.33% 15-31
packages/react/src/components/Suggestion/SuggestionOption.tsx 41.66% 100% 0% 41.66% 12-19
Generated in workflow #1567 for commit bab420f by the Vitest Coverage Report Action

@mimarz
Copy link
Collaborator

mimarz commented Dec 18, 2024

I like the component api. Had a brief look at the code looks ok, some of it still seems WIP, but we can still tweak it.

I suggest we just add the EXPERIMENTAL_ prefix for the component name and a changeset for "new experimental component", so we can get it released and tested downstream. This is such a opinonated component and its easiest to get opinions and test it out in existing apps.

@Barsnes
Copy link
Member Author

Barsnes commented Dec 20, 2024

Should we care about this?
image

@Barsnes Barsnes marked this pull request as ready for review January 10, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create single mode combobox named Suggestion
3 participants