Skip to content

refactor(gazzodown): remove ReactElement type annotations from functional components#40810

Merged
tassoevan merged 1 commit into
developfrom
refactor/prepare-types-for-react-19-8
Jun 8, 2026
Merged

refactor(gazzodown): remove ReactElement type annotations from functional components#40810
tassoevan merged 1 commit into
developfrom
refactor/prepare-types-for-react-19-8

Conversation

@tassoevan

@tassoevan tassoevan commented Jun 4, 2026

Copy link
Copy Markdown
Member

⚠️ This is part 8/23 of #40796. PR for refactor/prepare-types-for-react-19-7 must be merged first.


Proposed changes (including videos or screenshots)

As a first step towards upgrading to React 19, it handles types from @types/react looking forward the next major.

Issue(s)

Task: ARCH-2170

Steps to test or reproduce

Further comments

No runtime change is expected from it.

Summary by CodeRabbit

  • Bug Fixes

    • Fixed component export name typo.
  • Refactor

    • Simplified React component type annotations across the markup rendering library. Removed explicit return type declarations from dozens of components, allowing TypeScript to automatically infer return types. All component functionality and rendering behavior remain unchanged.

@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 103251d2-9297-4664-b6ce-f1bbe1c65f07

📥 Commits

Reviewing files that changed from the base of the PR and between 9aeae84 and 6fbc5c7.

📒 Files selected for processing (40)
  • packages/gazzodown/src/Markup.tsx
  • packages/gazzodown/src/PreviewMarkup.tsx
  • packages/gazzodown/src/blocks/HeadingBlock.tsx
  • packages/gazzodown/src/blocks/OrderedListBlock.tsx
  • packages/gazzodown/src/blocks/ParagraphBlock.tsx
  • packages/gazzodown/src/blocks/QuoteBlock.tsx
  • packages/gazzodown/src/blocks/SpoilerBlock.tsx
  • packages/gazzodown/src/blocks/TaskListBlock.tsx
  • packages/gazzodown/src/blocks/UnorderedListBlock.tsx
  • packages/gazzodown/src/code/CodeBlock.tsx
  • packages/gazzodown/src/code/CodeElement.tsx
  • packages/gazzodown/src/code/PreviewCodeBlock.tsx
  • packages/gazzodown/src/code/PreviewCodeElement.tsx
  • packages/gazzodown/src/colors/ColorElement.tsx
  • packages/gazzodown/src/colors/PreviewColorElement.tsx
  • packages/gazzodown/src/elements/BoldSpan.tsx
  • packages/gazzodown/src/elements/ImageElement.tsx
  • packages/gazzodown/src/elements/InlineElements.tsx
  • packages/gazzodown/src/elements/ItalicSpan.tsx
  • packages/gazzodown/src/elements/LinkSpan.tsx
  • packages/gazzodown/src/elements/PlainSpan.tsx
  • packages/gazzodown/src/elements/PreviewInlineElements.tsx
  • packages/gazzodown/src/elements/SpoilerSpan.tsx
  • packages/gazzodown/src/elements/StrikeSpan.tsx
  • packages/gazzodown/src/emoji/BigEmojiBlock.tsx
  • packages/gazzodown/src/emoji/BigEmojiElement.tsx
  • packages/gazzodown/src/emoji/Emoji.tsx
  • packages/gazzodown/src/emoji/EmojiElement.tsx
  • packages/gazzodown/src/emoji/EmojiRenderer.tsx
  • packages/gazzodown/src/emoji/PreviewBigEmojiBlock.tsx
  • packages/gazzodown/src/emoji/PreviewEmojiElement.tsx
  • packages/gazzodown/src/katex/KatexBlock.tsx
  • packages/gazzodown/src/katex/KatexElement.tsx
  • packages/gazzodown/src/katex/KatexErrorBoundary.tsx
  • packages/gazzodown/src/katex/PreviewKatexBlock.tsx
  • packages/gazzodown/src/katex/PreviewKatexElement.tsx
  • packages/gazzodown/src/mentions/ChannelMentionElement.tsx
  • packages/gazzodown/src/mentions/PreviewChannelMentionElement.tsx
  • packages/gazzodown/src/mentions/PreviewUserMentionElement.tsx
  • packages/gazzodown/src/mentions/UserMentionElement.tsx
📜 Recent review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: CodeQL
  • GitHub Check: cubic · AI code reviewer
  • GitHub Check: 📦 Build Packages
  • GitHub Check: Hacktron Security Check
  • GitHub Check: CodeQL-Build
  • GitHub Check: CodeQL-Build
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{ts,tsx,js}

📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)

**/*.{ts,tsx,js}: Write concise, technical TypeScript/JavaScript with accurate typing in Playwright tests
Avoid code comments in the implementation

Files:

  • packages/gazzodown/src/code/PreviewCodeBlock.tsx
  • packages/gazzodown/src/elements/ImageElement.tsx
  • packages/gazzodown/src/blocks/ParagraphBlock.tsx
  • packages/gazzodown/src/emoji/EmojiElement.tsx
  • packages/gazzodown/src/mentions/PreviewUserMentionElement.tsx
  • packages/gazzodown/src/emoji/Emoji.tsx
  • packages/gazzodown/src/mentions/PreviewChannelMentionElement.tsx
  • packages/gazzodown/src/emoji/PreviewEmojiElement.tsx
  • packages/gazzodown/src/katex/KatexErrorBoundary.tsx
  • packages/gazzodown/src/blocks/OrderedListBlock.tsx
  • packages/gazzodown/src/blocks/UnorderedListBlock.tsx
  • packages/gazzodown/src/elements/StrikeSpan.tsx
  • packages/gazzodown/src/blocks/SpoilerBlock.tsx
  • packages/gazzodown/src/code/PreviewCodeElement.tsx
  • packages/gazzodown/src/blocks/QuoteBlock.tsx
  • packages/gazzodown/src/elements/PreviewInlineElements.tsx
  • packages/gazzodown/src/blocks/HeadingBlock.tsx
  • packages/gazzodown/src/colors/PreviewColorElement.tsx
  • packages/gazzodown/src/emoji/BigEmojiBlock.tsx
  • packages/gazzodown/src/elements/ItalicSpan.tsx
  • packages/gazzodown/src/katex/PreviewKatexBlock.tsx
  • packages/gazzodown/src/Markup.tsx
  • packages/gazzodown/src/elements/BoldSpan.tsx
  • packages/gazzodown/src/elements/InlineElements.tsx
  • packages/gazzodown/src/blocks/TaskListBlock.tsx
  • packages/gazzodown/src/katex/KatexBlock.tsx
  • packages/gazzodown/src/code/CodeElement.tsx
  • packages/gazzodown/src/colors/ColorElement.tsx
  • packages/gazzodown/src/mentions/ChannelMentionElement.tsx
  • packages/gazzodown/src/elements/SpoilerSpan.tsx
  • packages/gazzodown/src/katex/KatexElement.tsx
  • packages/gazzodown/src/emoji/BigEmojiElement.tsx
  • packages/gazzodown/src/PreviewMarkup.tsx
  • packages/gazzodown/src/emoji/EmojiRenderer.tsx
  • packages/gazzodown/src/katex/PreviewKatexElement.tsx
  • packages/gazzodown/src/mentions/UserMentionElement.tsx
  • packages/gazzodown/src/elements/LinkSpan.tsx
  • packages/gazzodown/src/emoji/PreviewBigEmojiBlock.tsx
  • packages/gazzodown/src/elements/PlainSpan.tsx
  • packages/gazzodown/src/code/CodeBlock.tsx
🧠 Learnings (2)
📚 Learning: 2026-03-27T14:52:56.865Z
Learnt from: dougfabris
Repo: RocketChat/Rocket.Chat PR: 39892
File: apps/meteor/client/views/room/contextualBar/Threads/Thread.tsx:150-155
Timestamp: 2026-03-27T14:52:56.865Z
Learning: In Rocket.Chat, there are two different `ModalBackdrop` components with different prop APIs. During review, confirm the import source: (1) `rocket.chat/fuselage` `ModalBackdrop` uses `ModalBackdropProps` based on `BoxProps` (so it supports `onClick` and other Box/DOM props) and does not have an `onDismiss` prop; (2) `rocket.chat/ui-client` `ModalBackdrop` uses a narrower props interface like `{ children?: ReactNode; onDismiss?: () => void }` and handles Escape keypress and outside mouse-up, and it does not forward arbitrary DOM props such as `onClick`. Flag mismatched props (e.g., `onDismiss` passed to the fuselage component or `onClick` passed to the ui-client component) and ensure the usage matches the correct component being imported.

Applied to files:

  • packages/gazzodown/src/code/PreviewCodeBlock.tsx
  • packages/gazzodown/src/elements/ImageElement.tsx
  • packages/gazzodown/src/blocks/ParagraphBlock.tsx
  • packages/gazzodown/src/emoji/EmojiElement.tsx
  • packages/gazzodown/src/mentions/PreviewUserMentionElement.tsx
  • packages/gazzodown/src/emoji/Emoji.tsx
  • packages/gazzodown/src/mentions/PreviewChannelMentionElement.tsx
  • packages/gazzodown/src/emoji/PreviewEmojiElement.tsx
  • packages/gazzodown/src/katex/KatexErrorBoundary.tsx
  • packages/gazzodown/src/blocks/OrderedListBlock.tsx
  • packages/gazzodown/src/blocks/UnorderedListBlock.tsx
  • packages/gazzodown/src/elements/StrikeSpan.tsx
  • packages/gazzodown/src/blocks/SpoilerBlock.tsx
  • packages/gazzodown/src/code/PreviewCodeElement.tsx
  • packages/gazzodown/src/blocks/QuoteBlock.tsx
  • packages/gazzodown/src/elements/PreviewInlineElements.tsx
  • packages/gazzodown/src/blocks/HeadingBlock.tsx
  • packages/gazzodown/src/colors/PreviewColorElement.tsx
  • packages/gazzodown/src/emoji/BigEmojiBlock.tsx
  • packages/gazzodown/src/elements/ItalicSpan.tsx
  • packages/gazzodown/src/katex/PreviewKatexBlock.tsx
  • packages/gazzodown/src/Markup.tsx
  • packages/gazzodown/src/elements/BoldSpan.tsx
  • packages/gazzodown/src/elements/InlineElements.tsx
  • packages/gazzodown/src/blocks/TaskListBlock.tsx
  • packages/gazzodown/src/katex/KatexBlock.tsx
  • packages/gazzodown/src/code/CodeElement.tsx
  • packages/gazzodown/src/colors/ColorElement.tsx
  • packages/gazzodown/src/mentions/ChannelMentionElement.tsx
  • packages/gazzodown/src/elements/SpoilerSpan.tsx
  • packages/gazzodown/src/katex/KatexElement.tsx
  • packages/gazzodown/src/emoji/BigEmojiElement.tsx
  • packages/gazzodown/src/PreviewMarkup.tsx
  • packages/gazzodown/src/emoji/EmojiRenderer.tsx
  • packages/gazzodown/src/katex/PreviewKatexElement.tsx
  • packages/gazzodown/src/mentions/UserMentionElement.tsx
  • packages/gazzodown/src/elements/LinkSpan.tsx
  • packages/gazzodown/src/emoji/PreviewBigEmojiBlock.tsx
  • packages/gazzodown/src/elements/PlainSpan.tsx
  • packages/gazzodown/src/code/CodeBlock.tsx
📚 Learning: 2026-05-06T12:21:44.083Z
Learnt from: juliajforesti
Repo: RocketChat/Rocket.Chat PR: 40256
File: apps/meteor/client/components/CreateDiscussion/CreateDiscussion.tsx:121-149
Timestamp: 2026-05-06T12:21:44.083Z
Learning: Field wrappers in rocket.chat/fuselage-forms (Field, FieldLabel, FieldRow, FieldError, FieldHint) auto-create htmlFor/id associations, aria-describedby, and role="alert" for errors. Do not manually set htmlFor, id, aria-describedby, or role attributes when using these wrappers. This automatic wiring does not apply to plain rocket.chat/fuselage components, which require explicit ID wiring per the accessibility docs. In code reviews, prefer using fuselage-forms wrappers for form fields and verify there is no unnecessary manual ID/aria wiring in files that use these wrappers. If a component uses plain fuselage components, ensure proper id wiring as per docs.

Applied to files:

  • packages/gazzodown/src/code/PreviewCodeBlock.tsx
  • packages/gazzodown/src/elements/ImageElement.tsx
  • packages/gazzodown/src/blocks/ParagraphBlock.tsx
  • packages/gazzodown/src/emoji/EmojiElement.tsx
  • packages/gazzodown/src/mentions/PreviewUserMentionElement.tsx
  • packages/gazzodown/src/emoji/Emoji.tsx
  • packages/gazzodown/src/mentions/PreviewChannelMentionElement.tsx
  • packages/gazzodown/src/emoji/PreviewEmojiElement.tsx
  • packages/gazzodown/src/katex/KatexErrorBoundary.tsx
  • packages/gazzodown/src/blocks/OrderedListBlock.tsx
  • packages/gazzodown/src/blocks/UnorderedListBlock.tsx
  • packages/gazzodown/src/elements/StrikeSpan.tsx
  • packages/gazzodown/src/blocks/SpoilerBlock.tsx
  • packages/gazzodown/src/code/PreviewCodeElement.tsx
  • packages/gazzodown/src/blocks/QuoteBlock.tsx
  • packages/gazzodown/src/elements/PreviewInlineElements.tsx
  • packages/gazzodown/src/blocks/HeadingBlock.tsx
  • packages/gazzodown/src/colors/PreviewColorElement.tsx
  • packages/gazzodown/src/emoji/BigEmojiBlock.tsx
  • packages/gazzodown/src/elements/ItalicSpan.tsx
  • packages/gazzodown/src/katex/PreviewKatexBlock.tsx
  • packages/gazzodown/src/Markup.tsx
  • packages/gazzodown/src/elements/BoldSpan.tsx
  • packages/gazzodown/src/elements/InlineElements.tsx
  • packages/gazzodown/src/blocks/TaskListBlock.tsx
  • packages/gazzodown/src/katex/KatexBlock.tsx
  • packages/gazzodown/src/code/CodeElement.tsx
  • packages/gazzodown/src/colors/ColorElement.tsx
  • packages/gazzodown/src/mentions/ChannelMentionElement.tsx
  • packages/gazzodown/src/elements/SpoilerSpan.tsx
  • packages/gazzodown/src/katex/KatexElement.tsx
  • packages/gazzodown/src/emoji/BigEmojiElement.tsx
  • packages/gazzodown/src/PreviewMarkup.tsx
  • packages/gazzodown/src/emoji/EmojiRenderer.tsx
  • packages/gazzodown/src/katex/PreviewKatexElement.tsx
  • packages/gazzodown/src/mentions/UserMentionElement.tsx
  • packages/gazzodown/src/elements/LinkSpan.tsx
  • packages/gazzodown/src/emoji/PreviewBigEmojiBlock.tsx
  • packages/gazzodown/src/elements/PlainSpan.tsx
  • packages/gazzodown/src/code/CodeBlock.tsx
🔇 Additional comments (40)
packages/gazzodown/src/colors/ColorElement.tsx (1)

10-10: LGTM!

packages/gazzodown/src/colors/PreviewColorElement.tsx (1)

12-12: LGTM!

packages/gazzodown/src/elements/ImageElement.tsx (1)

49-49: LGTM!

packages/gazzodown/src/mentions/UserMentionElement.tsx (1)

15-15: LGTM!

packages/gazzodown/src/mentions/ChannelMentionElement.tsx (1)

14-14: LGTM!

packages/gazzodown/src/mentions/PreviewChannelMentionElement.tsx (1)

7-7: LGTM!

packages/gazzodown/src/mentions/PreviewUserMentionElement.tsx (1)

7-7: LGTM!

packages/gazzodown/src/code/CodeBlock.tsx (1)

26-26: LGTM!

packages/gazzodown/src/code/CodeElement.tsx (1)

7-7: LGTM!

packages/gazzodown/src/code/PreviewCodeBlock.tsx (1)

9-9: LGTM!

packages/gazzodown/src/katex/KatexBlock.tsx (1)

10-10: LGTM!

packages/gazzodown/src/katex/KatexElement.tsx (1)

10-10: LGTM!

packages/gazzodown/src/katex/KatexErrorBoundary.tsx (1)

3-3: LGTM!

Also applies to: 14-14

packages/gazzodown/src/katex/PreviewKatexBlock.tsx (1)

7-7: LGTM!

packages/gazzodown/src/katex/PreviewKatexElement.tsx (1)

7-7: LGTM!

packages/gazzodown/src/code/PreviewCodeElement.tsx (1)

5-5: LGTM!

packages/gazzodown/src/emoji/Emoji.tsx (1)

13-13: LGTM!

packages/gazzodown/src/emoji/EmojiElement.tsx (1)

8-8: LGTM!

packages/gazzodown/src/emoji/EmojiRenderer.tsx (1)

13-13: LGTM!

packages/gazzodown/src/emoji/BigEmojiBlock.tsx (1)

9-9: LGTM!

packages/gazzodown/src/emoji/BigEmojiElement.tsx (1)

7-7: LGTM!

packages/gazzodown/src/emoji/PreviewBigEmojiBlock.tsx (1)

9-9: LGTM!

packages/gazzodown/src/emoji/PreviewEmojiElement.tsx (1)

7-7: LGTM!

packages/gazzodown/src/Markup.tsx (1)

21-21: LGTM!

packages/gazzodown/src/blocks/HeadingBlock.tsx (1)

10-10: LGTM!

packages/gazzodown/src/blocks/OrderedListBlock.tsx (1)

9-9: LGTM!

packages/gazzodown/src/blocks/UnorderedListBlock.tsx (1)

9-9: LGTM!

packages/gazzodown/src/elements/ItalicSpan.tsx (1)

24-24: LGTM!

Also applies to: 41-41

packages/gazzodown/src/elements/LinkSpan.tsx (1)

17-17: LGTM!

packages/gazzodown/src/PreviewMarkup.tsx (1)

17-17: LGTM!

packages/gazzodown/src/elements/BoldSpan.tsx (1)

24-24: LGTM!

Also applies to: 41-41

packages/gazzodown/src/elements/PreviewInlineElements.tsx (1)

19-19: LGTM!

packages/gazzodown/src/elements/SpoilerSpan.tsx (1)

2-2: LGTM!

Also applies to: 52-52, 84-84

packages/gazzodown/src/elements/StrikeSpan.tsx (1)

25-25: LGTM!

Also applies to: 42-42

packages/gazzodown/src/blocks/ParagraphBlock.tsx (1)

9-13: LGTM!

packages/gazzodown/src/blocks/QuoteBlock.tsx (1)

9-15: LGTM!

packages/gazzodown/src/blocks/SpoilerBlock.tsx (1)

2-2: LGTM!

Also applies to: 38-78

packages/gazzodown/src/blocks/TaskListBlock.tsx (1)

12-24: LGTM!

Also applies to: 26-26

packages/gazzodown/src/elements/InlineElements.tsx (1)

25-91: LGTM!

packages/gazzodown/src/elements/PlainSpan.tsx (1)

10-59: LGTM!


Walkthrough

Forty-five components across the gazzodown package have their explicit ReactElement return type annotations removed and related imports deleted, relying on TypeScript type inference instead. Additionally, a typo in TaskListBlock's export name (TaksListBlockTaskListBlock) is corrected. No runtime behavior changes.

Changes

Type inference refactoring for gazzodown components

Layer / File(s) Summary
Root markup entry components
packages/gazzodown/src/Markup.tsx, packages/gazzodown/src/PreviewMarkup.tsx
Top-level Markup and PreviewMarkup components drop explicit ReactElement type annotations; PreviewMarkup also removes : ReactElement | null.
Block-level layout components
packages/gazzodown/src/blocks/HeadingBlock.tsx, packages/gazzodown/src/blocks/OrderedListBlock.tsx, packages/gazzodown/src/blocks/ParagraphBlock.tsx, packages/gazzodown/src/blocks/QuoteBlock.tsx, packages/gazzodown/src/blocks/SpoilerBlock.tsx, packages/gazzodown/src/blocks/TaskListBlock.tsx, packages/gazzodown/src/blocks/UnorderedListBlock.tsx
Heading, list, paragraph, quote, spoiler, and task list components remove explicit ReactElement annotations. TaskListBlock also fixes export name typo (TaksListBlockTaskListBlock) and adds useContext import.
Code and math rendering components
packages/gazzodown/src/code/CodeBlock.tsx, packages/gazzodown/src/code/CodeElement.tsx, packages/gazzodown/src/code/PreviewCodeBlock.tsx, packages/gazzodown/src/code/PreviewCodeElement.tsx, packages/gazzodown/src/katex/KatexBlock.tsx, packages/gazzodown/src/katex/KatexElement.tsx, packages/gazzodown/src/katex/KatexErrorBoundary.tsx, packages/gazzodown/src/katex/PreviewKatexBlock.tsx, packages/gazzodown/src/katex/PreviewKatexElement.tsx
Code blocks, code elements, KaTeX components, and KaTeX error boundary remove explicit ReactElement return type annotations while preserving HTML generation and memoization logic.
Inline text formatting elements
packages/gazzodown/src/elements/BoldSpan.tsx, packages/gazzodown/src/elements/ItalicSpan.tsx, packages/gazzodown/src/elements/LinkSpan.tsx, packages/gazzodown/src/elements/PlainSpan.tsx, packages/gazzodown/src/elements/StrikeSpan.tsx, packages/gazzodown/src/elements/SpoilerSpan.tsx, packages/gazzodown/src/elements/InlineElements.tsx, packages/gazzodown/src/elements/PreviewInlineElements.tsx
Span components and inline element renderers remove explicit ReactElement annotations from both component definitions and internal renderBlockComponent helpers.
Emoji rendering components
packages/gazzodown/src/emoji/Emoji.tsx, packages/gazzodown/src/emoji/EmojiElement.tsx, packages/gazzodown/src/emoji/EmojiRenderer.tsx, packages/gazzodown/src/emoji/BigEmojiBlock.tsx, packages/gazzodown/src/emoji/BigEmojiElement.tsx, packages/gazzodown/src/emoji/PreviewBigEmojiBlock.tsx, packages/gazzodown/src/emoji/PreviewEmojiElement.tsx
Emoji components and variants drop explicit ReactElement annotations while maintaining memo wrapping and conditional rendering logic.
Visual element components
packages/gazzodown/src/colors/ColorElement.tsx, packages/gazzodown/src/colors/PreviewColorElement.tsx, packages/gazzodown/src/elements/ImageElement.tsx
Color and image components remove explicit ReactElement type references while preserving memoization, sanitization, and inline styling.
User and channel mention components
packages/gazzodown/src/mentions/UserMentionElement.tsx, packages/gazzodown/src/mentions/ChannelMentionElement.tsx, packages/gazzodown/src/mentions/PreviewUserMentionElement.tsx, packages/gazzodown/src/mentions/PreviewChannelMentionElement.tsx
Mention components and preview variants remove explicit ReactElement annotations while keeping context-aware mention type handling and rendering unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

type: chore

Suggested reviewers

  • ggazzo
  • dougfabris
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: removing ReactElement type annotations from functional components in the gazzodown package.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

Warning

Review ran into problems

🔥 Problems

Errors were encountered while retrieving linked issues.

Errors (2)
  • REACT-19: Request failed with status code 401
  • ARCH-2170: Request failed with status code 401

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@changeset-bot

changeset-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 6fbc5c7

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

@dionisio-bot

dionisio-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 62.96296% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.15%. Comparing base (9aeae84) to head (6fbc5c7).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #40810      +/-   ##
===========================================
- Coverage    70.16%   70.15%   -0.02%     
===========================================
  Files         3340     3340              
  Lines       123638   123638              
  Branches     22029    22049      +20     
===========================================
- Hits         86748    86734      -14     
- Misses       33545    33570      +25     
+ Partials      3345     3334      -11     
Flag Coverage Δ
e2e 59.37% <ø> (-0.04%) ⬇️
e2e-api 46.28% <ø> (-0.04%) ⬇️
unit 70.98% <62.96%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

…onal components

- Removed explicit return type annotations of ReactElement from multiple functional components across the codebase.
- Updated components in Markup, PreviewMarkup, HeadingBlock, OrderedListBlock, ParagraphBlock, QuoteBlock, SpoilerBlock, TaskListBlock, UnorderedListBlock, CodeBlock, CodeElement, PreviewCodeBlock, PreviewCodeElement, ColorElement, PreviewColorElement, BoldSpan, ImageElement, InlineElements, ItalicSpan, LinkSpan, PlainSpan, PreviewInlineElements, SpoilerSpan, StrikeSpan, BigEmojiBlock, BigEmojiElement, Emoji, EmojiElement, EmojiRenderer, PreviewBigEmojiBlock, PreviewEmojiElement, KatexBlock, KatexElement, KatexErrorBoundary, PreviewKatexBlock, PreviewKatexElement, ChannelMentionElement, PreviewChannelMentionElement, PreviewUserMentionElement, UserMentionElement.
@tassoevan tassoevan force-pushed the refactor/prepare-types-for-react-19-8 branch from b35e7f2 to 6fbc5c7 Compare June 8, 2026 19:48
@tassoevan tassoevan added this to the 8.6.0 milestone Jun 8, 2026
@tassoevan tassoevan requested a review from a team June 8, 2026 19:48
@tassoevan tassoevan marked this pull request as ready for review June 8, 2026 19:48

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 40 files

Re-trigger cubic

@tassoevan tassoevan added the stat: QA assured Means it has been tested and approved by a company insider label Jun 8, 2026
@dionisio-bot dionisio-bot Bot added the stat: ready to merge PR tested and approved waiting for merge label Jun 8, 2026
@tassoevan tassoevan enabled auto-merge June 8, 2026 20:06
@tassoevan tassoevan added this pull request to the merge queue Jun 8, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 8, 2026
@tassoevan tassoevan added this pull request to the merge queue Jun 8, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 8, 2026
@tassoevan tassoevan added this pull request to the merge queue Jun 8, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 8, 2026
@tassoevan tassoevan added this pull request to the merge queue Jun 8, 2026
Merged via the queue into develop with commit 64f281a Jun 8, 2026
48 checks passed
@tassoevan tassoevan deleted the refactor/prepare-types-for-react-19-8 branch June 8, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge type: chore

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants