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(Tabs): rework component #2944

Closed
wants to merge 20 commits into from
Closed

feat(Tabs): rework component #2944

wants to merge 20 commits into from

Conversation

Barsnes
Copy link
Member

@Barsnes Barsnes commented Jan 3, 2025

#2449

The controlled version of this had to be reworked, as value is no longer used.

Copy link

changeset-bot bot commented Jan 3, 2025

⚠️ No Changeset found

Latest commit: 745dc9e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link
Contributor

github-actions bot commented Jan 3, 2025

Preview deployments for this pull request:

Storybook - 14. Jan 2025 - 09:03

Copy link
Contributor

github-actions bot commented Jan 3, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 54.92% 3131 / 5700
🔵 Statements 54.92% 3131 / 5700
🔵 Functions 86.05% 179 / 208
🔵 Branches 77.13% 523 / 678
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/react/src/components/Tabs/Tabs.tsx 93.75% 75% 100% 93.75% 73-74
packages/react/src/components/Tabs/TabsList.tsx 100% 100% 100% 100%
packages/react/src/components/Tabs/TabsPanel.tsx 100% 100% 100% 100%
packages/react/src/components/Tabs/TabsTab.tsx 100% 100% 100% 100%
Generated in workflow #1598 for commit 745dc9e by the Vitest Coverage Report Action

@Barsnes Barsnes marked this pull request as ready for review January 6, 2025 11:09
@mimarz
Copy link
Collaborator

mimarz commented Jan 7, 2025

We have an issue with all tabpanels being visible in snapshots and on our storybook if you refresh or navigate to directly. Any ideas how to fix this? @eirikbacker

image

Barsnes added a commit that referenced this pull request Jan 8, 2025
- Respect `hidden` attribute on all components
- Updated #2450
- Did not fix tabs as this is fixed in
#2944

---------

Co-authored-by: Barsnes <[email protected]>
@mimarz
Copy link
Collaborator

mimarz commented Jan 14, 2025

Since we have just one use-case of Tabs with u-tabs being rendered wrong I suggest we create a new branch and make a EXPERIMENTAL_Tabs component alongside the existing Tabs component so that we can better test the u-tabs implementation.

mimarz pushed a commit that referenced this pull request Jan 14, 2025
Related to #2944 and
#2449

Fixes issues found in #2355
@Barsnes
Copy link
Member Author

Barsnes commented Jan 23, 2025

Closing after #2449 (comment)

@Barsnes Barsnes closed this Jan 23, 2025
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.

3 participants