Skip to content

refactor(F0Text): promote from experimental to stable#3844

Open
eliseo-juan wants to merge 3 commits intorefactor/storybook-sidebar-reorganization-2from
stabilize/F0Text
Open

refactor(F0Text): promote from experimental to stable#3844
eliseo-juan wants to merge 3 commits intorefactor/storybook-sidebar-reorganization-2from
stabilize/F0Text

Conversation

@eliseo-juan
Copy link
Copy Markdown
Contributor

Description

Promotes F0Text from experimental to stable status. The component has been in use and is ready for production.

Implementation details

  • refactor: update Storybook tags from experimental to stable

@eliseo-juan eliseo-juan requested a review from a team as a code owner April 2, 2026 22:48
Copilot AI review requested due to automatic review settings April 2, 2026 22:48
@github-actions github-actions bot added refactor react Changes affect packages/react labels Apr 2, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Promotes several component Storybook entries from “experimental” to “stable” and (for F0BigNumber) removes the experimental runtime wrapper so it behaves as a stable component in the library.

Changes:

  • Update Storybook tags from experimental to stable for F0Text, F0Heading, and F0BigNumber stories.
  • Remove experimentalComponent(...) wrapping from the exported F0BigNumber component (keeps withDataTestId).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/react/src/components/F0Text/stories/Text.stories.tsx Marks F0Text Storybook docs as stable.
packages/react/src/components/F0Heading/stories/Heading.stories.tsx Marks F0Heading Storybook docs as stable.
packages/react/src/components/F0BigNumber/index.tsx Exports F0BigNumber without experimental wrapper (stable runtime behavior).
packages/react/src/components/F0BigNumber/stories/F0BigNumber.stories.tsx Marks F0BigNumber Storybook docs as stable.

Comment on lines 1 to +6
import { withDataTestId } from "@/lib/data-testid"
import { experimentalComponent } from "@/lib/experimental"
export * from "./types"

import { F0BigNumber as F0BigNumberCmp } from "./F0BigNumber"

export const F0BigNumber = withDataTestId(
experimentalComponent<typeof F0BigNumberCmp>("F0BigNumber", F0BigNumberCmp)
)
export const F0BigNumber = withDataTestId(F0BigNumberCmp)
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR title/description says this is promoting F0Text and only updating Storybook tags, but this change also removes the experimentalComponent wrapper from F0BigNumber, which is a runtime behavior change (it stops emitting experimental-usage warnings and effectively promotes F0BigNumber to stable). Please either update the PR metadata/scope to include F0BigNumber (and the Heading story change) or split these promotions into separate PRs so the intent and release impact are clear.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

📦 Alpha Package Version Published

Use pnpm i github:factorialco/f0#npm/alpha-pr-3844 to install the package

Use pnpm i github:factorialco/f0#903058fbdae0a706afdc9c6e1b1c367118c6def5 to install this specific commit

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

🔍 Visual review for your branch is published 🔍

Here are the links to:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Coverage Report for packages/react

Status Category Percentage Covered / Total
🔵 Lines 44.88% 10953 / 24403
🔵 Statements 44.14% 11294 / 25582
🔵 Functions 36.86% 2476 / 6716
🔵 Branches 36.74% 7153 / 19469
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/react/src/components/F0BigNumber/index.tsx 0% 100% 100% 0% 6
Generated in workflow #12521 for commit f36c605 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

react Changes affect packages/react refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants